The MASM Forum

Miscellaneous => The Orphanage => Topic started by: FORTRANS on July 23, 2014, 01:08:58 AM

Title: Slow erratic performance, Windows XP.
Post by: FORTRANS on July 23, 2014, 01:08:58 AM
Hi,

   Had some surgery, and am not allowed to drive.  So I am at
my mother's place and not with my normal selection of computers.

   Her computer is a WinXP desktop, and it mostly runs "okay",
but sometimes it slows way down.  A reboot seems to help then.

   I also brought a laptop with WinXP to do e-mail.  It is usually
running extremely slowly, or freezes up.  But it can boot and run
(sort of) normally.  The last time it did that, I tried "Stand By"
rather than "Turn Off", but after waking up and then ~~15 minutes
of inactivity, it logged me out and shut down on its own.  Sort
of defeats the whole idea?

   For instance, the last two boot-ups seem to have frozen, meaning
more than 5 minutes with any sign of life.  (No cursor, no clock
update, and no keyboard response.  The first after running slowly
until I invoked Task Manager to try and see what was going on.
It locked up shortly after.  The second locked while painting the desktop
or whatever on start-up.

   Trying again just now, It has not died, but is (if not dead) running
a hundred times too slowly.  MSE just complained, as it is wont to
do, so something is alive.  And other signs of life are pretending to
happen, so this time it might not die.  But it's not really usable either.

   Does this bring anything to mind?  As it has recovered to somewhat
normal recently, does that mean anything?  Is there some stupid
(er.. simple) trouble-shooting I can do before going home?

Thanks in advance,

Steve N.
Title: Re: Slow erratic performance, Windows XP.
Post by: sinsi on July 23, 2014, 01:30:58 AM
Hard disk surface scan. I've found that if the freezing is random it's often a failing hard drive, less often faulty RAM.
Look in Event Viewer under System for "disk" or "ntfs" problems.
Title: Re: Slow erratic performance, Windows XP.
Post by: dedndave on July 23, 2014, 01:36:58 AM
i have seen this on older machines
they put 3 or 4 anti-virus programs on there, then wonder why it runs like a pig - lol

get rid of all those "on access" scanners and use an "on demand" type, like malwarebytes
the worst 2 are mcafee and norton
seems like they have a much better sales force than programming team
Title: Re: Slow erratic performance, Windows XP.
Post by: dedndave on July 23, 2014, 01:46:05 AM
by the way.....

if you have norton on there
figure out which version it is
go to their website and download the appropriate version of "Norton Removal Tool" (my all-time favorite program)
use the tool to get a proper removal

if you remove it with the control panel snap-in, then have to figure out which version it was, it can be a little tricky
Title: Re: Slow erratic performance, Windows XP.
Post by: FORTRANS on July 23, 2014, 03:29:29 AM
Hi sinsi,

Quote from: sinsi on July 23, 2014, 01:30:58 AM
Hard disk surface scan. I've found that if the freezing is random it's often a failing hard drive, less often faulty RAM.
Look in Event Viewer under System for "disk" or "ntfs" problems.

   Okay.  Start => Control Panel => Administrative Tools => Event Viewer.
Three as "disk", two in May, one on the 19th, Event code is 11.  What
is an E100B? never heard of that one.  The majority of events are from
"Service Control Manager"

Hi Dave,

   Killed AVG a while back.  Have been "using" MSE.

Quote from: dedndave on July 23, 2014, 01:46:05 AM
by the way.....

if you have norton on there
figure out which version it is
go to their website and download the appropriate version of "Norton Removal Tool" (my all-time favorite program)
use the tool to get a proper removal

if you remove it with the control panel snap-in, then have to figure out which version it was, it can be a little tricky

   Yeah, my Windows 2000 system was/is cursed with Norton AV.
It (NAV) stopped working for a few (or more) years, so I tried to
remove it.  I got a removal tool from Norton/Symantec, and it did
something.  It did remove most of the installation, leaving enough
to prevent installing NAV and giving an error pop-up every time I
run a 16-bit program.

Regards,

Steve N.
Title: Re: Slow erratic performance, Windows XP.
Post by: Magnum on July 25, 2014, 12:29:01 PM
Quote from: FORTRANS on July 23, 2014, 01:08:58 AM
Hi,

   Had some surgery, and am not allowed to drive.  So I am at
my mother's place and not with my normal selection of computers.

   Her computer is a WinXP desktop, and it mostly runs "okay",
but sometimes it slows way down.  A reboot seems to help then.

How much RAM does it have ?

   I also brought a laptop with WinXP to do e-mail.  It is usually
running extremely slowly, or freezes up.  But it can boot and run
(sort of) normally.  The last time it did that, I tried "Stand By"
rather than "Turn Off", but after waking up and then ~~15 minutes
of inactivity, it logged me out and shut down on its own.  Sort
of defeats the whole idea?

Was it running slowly before you brought it there ?

   For instance, the last two boot-ups seem to have frozen, meaning
more than 5 minutes with any sign of life.  (No cursor, no clock
update, and no keyboard response.  The first after running slowly
until I invoked Task Manager to try and see what was going on.
It locked up shortly after.  The second locked while painting the desktop
or whatever on start-up.

   Trying again just now, It has not died, but is (if not dead) running
a hundred times too slowly.  MSE just complained, as it is wont to
do, so something is alive.  And other signs of life are pretending to
happen, so this time it might not die.  But it's not really usable either.

   Does this bring anything to mind?  As it has recovered to somewhat
normal recently, does that mean anything?  Is there some stupid
(er.. simple) trouble-shooting I can do before going home?

Thanks in advance,

Steve N.
Title: Re: Slow erratic performance, Windows XP.
Post by: MichaelW on July 26, 2014, 10:04:57 PM
Running on a multi-core system you hardly know that MSE is there, but running on a single core system it can be a CPU hog, to the point that my Windows XP P3 system will pretty much stop responding, sometimes for 5 minutes or more. MSE can be configured to restrict it's CPU usage for scheduled scans, but for other activities,  updating its definitions for example, it "owns" the system.
Title: Re: Slow erratic performance, Windows XP.
Post by: FORTRANS on July 26, 2014, 11:32:01 PM
Hi,

QuoteHow much RAM does it have ?

   256 Meg, I believe.

QuoteWas it running slowly before you brought it there ?

   Yes, sometimes.  The problem was that I was not at home due to
the surgery and did not have an alternative system to use.  That
aggravated things and I wanted to fix things up a bit.  I am back home
now, so it is again a fairly low priority, all other things under consideration.

Quote from: MichaelW on July 26, 2014, 10:04:57 PM
Running on a multi-core system you hardly know that MSE is there, but running on a single core system it can be a CPU hog, to the point that my Windows XP P3 system will pretty much stop responding, sometimes for 5 minutes or more. MSE can be configured to restrict it's CPU usage for scheduled scans, but for other activities,  updating its definitions for example, it "owns" the system.

   Well the Task Manager shows moderate CPU and memory usage.
Though it can be more than five minutes between when it updates
its display.  I got rid of AVG for MSE to try to speed things up.  If it
does not completely lock up on booting it can recover to a "normal"
state in about an hour or two.  (Or not.)  I have/had disabled the
real time protection, which did not change this problem.

   The fact that it can boot up "mostly normal", "mostly playing dead",
then usually recovering, or completely locked up, makes things hard
(and very, very slow) to see what is going on.

   Thanks for your help.  Any follow up is welcome.

Regards,

Steve N.
Title: Re: Slow erratic performance, Windows XP.
Post by: TouEnMasm on July 27, 2014, 12:36:44 AM
With so few memory (XP need at least 1 Go) you can follow this way to optimize xp without warranty of
results,that is:
-let only the anti-virus at start (msconfig)
- verify the free memory in the task manager,must be really low
-use bootvis
-use "COMPACT /U /S /A /I /F C:\*.*" to invalid the files compression.
apply others xp optimizes (defrag...)
Title: Re: Slow erratic performance, Windows XP.
Post by: jj2007 on July 27, 2014, 01:10:20 AM
Low RAM could be an issue. Normal behaviour on WinXP SP3 with 2 GB RAM is as shown below - sorted by CPU time.
Title: Re: Slow erratic performance, Windows XP.
Post by: GoneFishing on July 27, 2014, 03:54:32 AM
...
Title: Re: Slow erratic performance, Windows XP.
Post by: FORTRANS on July 27, 2014, 10:58:47 PM
Quote from: ToutEnMasm on July 27, 2014, 12:36:44 AM
With so few memory (XP need at least 1 Go) you can follow this way to optimize xp without warranty of
results,that is:
-let only the anti-virus at start (msconfig)
- verify the free memory in the task manager,must be really low
-use bootvis
-use "COMPACT /U /S /A /I /F C:\*.*" to invalid the files compression.
apply others xp optimizes (defrag...)

Thanks,

   MSConfig?  Had not thought of that.  As far as memory in Task
Manager, see above.  Does not seem out of line for a 256M system.

   I had not heard of Bootvis.  That does look interesting.

Quote from: jj2007 on July 27, 2014, 01:10:20 AM
Low RAM could be an issue. Normal behaviour on WinXP SP3 with 2 GB RAM is as shown below - sorted by CPU time.

Hi,

   Well, not much to work with here (as far as I can see).  XP does
what it wants to with the 256M.

Quote from: vertograd on July 27, 2014, 03:54:32 AM
I have an older pc with Celeron 1GHz , 128Mb RAM and  Windows XP. It's not superfast but I get used to it . I have no antivirus, I disabled all unwanted services and run only lightweight applications which eat not so much system memory .

Hi,

   Well I still have MSE, but it should be turned off, mostly.  I have
turned off some services, but I am a bit reluctant to change things
that I have no real idea what they do.

QuoteAre BIOS Hardware Monitor values in their normal range ?

   The computer is a Sony Vaio U101.  Quoting a Linux how-to
page:

BIOS setup utility is pretty free of options. You can: set the time and
date, turn off LCD screen expansion, toggle network and firewire booting,
disable the graphical Vaio boot animation, change the speaker volume,
set a BIOS passwords, and change boot device order. And that's it.

    Neat?  Sony must have wanted to limit problems with end users.
Anyway, it packs up nicely and is thus easy to schlep around when
one is a bit limited in movement.

Regards,

Steve N.
Title: Re: Slow erratic performance, Windows XP.
Post by: dedndave on July 28, 2014, 04:44:11 AM
disk space can also be an issue
Title: Re: Slow erratic performance, Windows XP.
Post by: MichaelW on July 28, 2014, 09:29:18 AM
And the size/location/settings for your swap file.
Title: Re: Slow erratic performance, Windows XP.
Post by: TouEnMasm on July 29, 2014, 02:58:29 AM

Perhaps also a change of system,for example Lubuntu (linux) could be useful.
Lubuntu use only 120 Mo of ram and can do many things.
Title: Re: Slow erratic performance, Windows XP.
Post by: jj2007 on July 29, 2014, 03:39:56 AM
With so little RAM, and such an extremely bad performance, swapping is the most likely cause. 2GB for a notebook cost about 20US$ (http://www.bestbuy.com/site/cms-2gb-2x1gb-memory-ram-compatible-with-acer-aspire-3050-series-notebook/1306196343.p?id=mp1306196343&skuId=1306196343&st=categoryid$abcat0506002&cp=2&lp=5#tab=buyingOptions) ...
Title: Re: Slow erratic performance, Windows XP.
Post by: FORTRANS on July 29, 2014, 08:03:44 AM
Hi,

Quote from: dedndave on July 28, 2014, 04:44:11 AM
disk space can also be an issue

   Over 4 gigs free, about 2/3 full.

Quote from: MichaelW on July 28, 2014, 09:29:18 AM
And the size/location/settings for your swap file.

   It is on the C: drive/partition.  Its size is about 1.5 times the size
of the memory, about 283 meg.  The laptop hard drive has two
partitions, about an equal division between the two.

   Also ran CHKDSK /F and fixed {something}.  It does not seem to
write a log file?


Quote from: jj2007 on July 29, 2014, 03:39:56 AM
With so little RAM, and such an extremely bad performance, swapping is the most likely cause. 2GB for a notebook cost about 20US$ ...

   Well, this one could have 256 or 512 megabytes.  Sony had
special memory for its very small laptops. http://mattdm.org/u101/images/u101linux.jpg (http://mattdm.org/u101/images/u101linux.jpg)

Regards,

Steve
Title: Re: Slow erratic performance, Windows XP.
Post by: jj2007 on July 29, 2014, 09:18:10 AM
Quote from: FORTRANS on July 29, 2014, 08:03:44 AMthis one could have 256 or 512 megabytes

I see the problem :(
There is a risky option that you could try: disable the page file completely. It forces Windows and applications to get along with the 256MB, instead of thrashing the disk. But it might crash some applications - browsers, for example.