Slashdot Mirror


How To Diagnose a Suddenly Slow Windows Computer?

Ensign Taco writes "I'm sure nearly every one of us has had it happen. All of a sudden your Windows PC slows to a crawl for no apparent reason. Yeah, we all like Linux because it doesn't do annoying things like this, but the Windows desktop still reigns supreme in most managed LAN work environments. I'm running XP with 4G of RAM and a decent CPU, and everything was fine, until one day — it wasn't. I've run spybot, antivirus, and looked at proc explorer — no luck. There is no one offending, obvious process. It seems every process decides to spike at once at random intervals. So I'm wondering if there's a few wizards out there that know what to look at. Could this be a very clever virus that doesn't run as a process? Or could this just be some random application error that's causing bad behavior? I've encountered this a few times with Windows PCs, but the solution has always been to just add more hardware. Has anyone ever successfully diagnosed this kind of issue?" And whether such a problem is related to malware or not, what steps would you take next?

130 of 835 comments (clear)

  1. Check the HDD by Fez · · Score: 5, Informative

    Very commonly this happens when a hard drive reverts to PIO mode after Windows decides it has seen a few errors from the drive. You can verify this by looking at the properties of the IDE Controller to which the drive is connected in device manager. (IDE ATA/ATAPI Controllers/Primary IDE Channel/Advanced Settings tab, for example)

    There is a VBScript that resets the drive back to DMA mode, and is effective if that is indeed the case.

    This could also be an early sign of hard drive failure. I've seen plenty of drives that passed diagnostics but were very, very slow. Try checking the SMART data with something like HDTune.

    1. Re:Check the HDD by Anonymous Coward · · Score: 4, Funny

      But the best way is still to download Windows Optimizer 2009. It removes all performance limitations Microsoft has put in their products and makes your Windows work as fast as your hardware allows.

    2. Re:Check the HDD by flyingsquid · · Score: 5, Funny
      My Windows is NOT slow.

      It is special.

    3. Re:Check the HDD by Nefarious+Wheel · · Score: 4, Informative

      That does figure high in my list of potential causes, but generally I clear the dll and prefetch cache and reboot before I start worrying about hardware. Especially if you've been running a diverse series of programs on it.

      --
      Do not mock my vision of impractical footwear
    4. Re:Check the HDD by gad_zuki! · · Score: 5, Informative

      Its also worth mentioning that you'll see disk errors in the event log. The source will be 'disk.' Is the disk working hard. Use filemon to see whats going on.

      The asker should also look in the event log for any warnings or errors that started at the time of the slowness.

      He should also do a netstat -a to see what active internet connections are working. If youre seeing lots of connects to port 25 someplace then you are running a mass mailing trojan. Investigate any suspicious connections. You can use tcpview for more info.

      He should also boot up with a linux live disc or a PE disc like UBCD4WIN. If the slowness is still there then its most likely a hardware issue. UBCD4win also has a bunch of utilities with easy to use GUIs like HDTune. He can run an antivirus or spybot from the PE environment too for a second opinion.

      Lastly, when you fix the issue you should remove your wife from the administrators group and just make her a user or power user. When she needs to install software or whatever just have her log in as admin.

    5. Re:Check the HDD by rew · · Score: 2, Insightful

      However..... Even if SMART checks out and the vendor-test program says the HD is ok, some drives might just be taking seconds to minutes to "recover" the right data.

      If this is the case, your monitor programs would not show much disk activity, but the HD light will be continuously on during the stalls.

    6. Re:Check the HDD by Anonymous Coward · · Score: 3, Funny

      My Windows is NOT slow.

      It is special.

      Maybe they should name the next release Windows Short Bus Edition?

    7. Re:Check the HDD by Anonymous Coward · · Score: 3, Informative

      Clearing the prefetch does not improve performance. It generally will decrease performance for a time.

      http://lifehacker.com/5033518/debunking-common-windows-performance-tweaking-myths

    8. Re:Check the HDD by doug_hastings · · Score: 2, Insightful

      My Seagate 500g drive crippled windows as its lousy firmware bricked it, and now if its plugged in windows runs very slow if at all. An addition 2 cents worth: CCleaner and RootkitRevealer

    9. Re:Check the HDD by yo_tuco · · Score: 4, Funny

      "My Windows is NOT slow. It is special."

      It's speed challenged.

    10. Re:Check the HDD by Anonymous Coward · · Score: 2, Insightful

      Lastly, when you fix the issue you should remove your wife from the administrators group and just make her a user or power user. When she needs to install software or whatever just have her log in as admin.

      While it does make sense to limit administrative privileges to a minimum of capable users, preferably one, it may appear presumptuous and sexist to some for you to rattle off such a suggestion... The OP never mentioned a wife. Perhaps it is the OP's kids that don't need admin rights, or his father. Perhaps the OP is only 17 years old and has no wife or kids. Sheesh, buddy... I am a guy too with a long history working in IT. And though there are lots of males in the work force, I have met some very bright, intelligent women in my time. Sadly many of them tend not to see themselves that way after a lifetime of browbeating, some intentional and some perhaps not.

      Granted, you do suggest she can be trusted to install software and use the admin account when needed. And I will also grant that you may not have intended to be sexist there. But it is worth examining such an automatic sort of presumption in one's self. Perhaps you might have suggested the OP do the same for himself... I use a regular user account on my GNU/Linux desktop and use sudo or su to do administrative tasks. I type fast enough that it is not a real bother. Really, I feel the added step helps keep me conscious of the privileges I am using to invoke commands, in spite of myself. Pobody's Nerfect. I do hope it was not an intended slight.

      Be well,

      Tim

    11. Re:Check the HDD by hittman007 · · Score: 2

      Clearing the prefetch does not improve performance. It generally will decrease performance for a time.

      Windows normally keeps up with prefetch maintenance but every now and then an issue appears that is fixed by clearing the prefetch.

      Although you did say that clearing the prefetch does not increase performance, which is correct...

      Any which way, it doesn't hurt anything to do, so why not try it. I like doing simple quick stuff first (even some items that appear unrelated initially), they don't always work but when they do your done that much quicker...

      --
      --- When you start with the conclusion that you want, then throw out any facts that don't agree, is it true?
    12. Re:Check the HDD by Bobfrankly1 · · Score: 5, Funny

      But the best way is still to download Windows Optimizer 2009. It removes all performance limitations Microsoft has put in their products and makes your Windows work as fast as your hardware allows.

      That's a lie. I just installed Antivirus 2009 and it says that Windows Optimizer 2009 is spyware!!!

    13. Re:Check the HDD by jcuervo · · Score: 2, Funny

      Double woosh?

      --
      Assume I was drunk when I posted this.
    14. Re:Check the HDD by HermMunster · · Score: 5, Informative

      Lol, that's pretty funny seeing as both are malware. Yeah, I know you know. Others might not.

      --
      You can lead a man with reason but you can't make him think.
    15. Re:Check the HDD by bdwebb · · Score: 5, Informative

      Hmm...the prefetch cache is only used when a call is made by commonly used programs. Clearing the prefetch cache is only really useful to rid yourself of extra unnecessary files when you uninstall programs as Windows will simply rebuild the directory.

      Since we're trying to diagnose a cause of sudden sluggishness, clearing the prefetch won't really do anything unless the HDD is full. A quick review of the prefetch directory, however, is a good indicator of which programs have been running. I usually take a look to see if I can spot anything out of the ordinary.

      Other helpful ideas:

      - Disable system restore before you do anything...irritating spyware and virii can hide here and restore themselves
      - Download and run X-Ray PC (freeware) and run an online analysis of your processes...will give you a good/bad/unknown triage for some processes and allow you to kill them.
      - Start>Run> msconfig.exe and check your startup processes...do a quick google search for anything you don't recognize and if it is not a necessary startup process, kill it. Having a shitload of processes running at startup can bring your system to its knees. Usually, for a desktop XP machine, between 28 and 35 processes is ideal on a fresh boot. For a laptop it can be up to 50...depends on what utilities are required to make your touchpad/buttons/wireless/etc work.
      - Start>Run> msconfig.exe and check your services. Check 'hide all Microsoft services' and do a quick scan to make sure no extra junk services are hiding here. If you lose functionality to something on startup that you want, you can either just turn it back on or, if necessary, boot into safe mode and turn it on.
      - Download Crap Cleaner and run the registry scan to see how many junk items you have in your registry. Review the causes and fixes to all the issues you find...you're usually okay doing a fix all but I check them just in case (this is your registry after all...never hurts to back it up either.)
      - Add/remove any programs that you don't recognize or don't use. All this extra junk does nothing to help you. Additionally, if you can pinpoint one or two programs that were installed around the time your computer started having issues, definitely uninstall them and check your performance after (probably run ccleaner again to ensure they are completely gone).
      - Restart your machine and check msconfig and xraypc again to ensure that nothing you killed came back...if it did, you've got a virus or spyware.
      - If you still have issues, try running one of many drive fitness test tools to determine whether or not you have bad sectors or possibly a bad HDD altogether. Some tools will even allow you to repair the bad sectors but usually if you've got bad sectors you should start looking at a new HDD soon.
      - If you have the option, pull the HDD and hook it up to a test rig and run a Housecall scan on the drive.
      - Run Rootkit Revealer to determine whether or not you have a rootkit installed on your machine. Rootkits are nasty as hell but you can usually find additional info via a google search on how to rid yourself of them.
      - When all else fails, a clean install is usually the best way to get your system back up to snuff. It is a pain in the fucking ass and no one likes to do it until you remember what it is like having a clean install. Just make a list of your programs, do a backup of your data, and format that sucker.

      Hope some of that is helpful...a lot of the other comments I see here are great things to check as well (right below me I see gad zuki! mention netstat -a to check your active connections...also very useful) so bookmark this page and try everything. If nothing else, you'll learn some new tricks.

    16. Re:Check the HDD by Anonymous Coward · · Score: 5, Funny

      My computer does this all the time. The culprit is usually that my kid has hit the Turbo button off.

    17. Re:Check the HDD by jank1887 · · Score: 4, Funny

      Tim,
      A reference article I thought might be useful:
      http://en.wikipedia.org/wiki/Humor
      Yours truly,
      The internet

    18. Re:Check the HDD by The+Great+Pretender · · Score: 2, Interesting

      Huh? Why woosh...?

      --
      A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort.
    19. Re:Check the HDD by TheQuantumShift · · Score: 2, Informative

      Check the actual I/O usage. Load up perfmon and watch the disk queue. I've seen plenty of boxes with tons of free ram and cpu, but one damned thing is hitting the disk like it's their child or something and everything else has to wait. If the total queue is high, you can add the counters for read and write. Once you see which one is the hog go back to taskmanager and add the appropriate column and sort.

      --

      Shift happens. Fire it up.
    20. Re:Check the HDD by Anachragnome · · Score: 4, Interesting

      Better yet, do the aforementioned "Reformat and reinstall clean software", then, and ONLY then, make a restore point.

      THEN disable "System Restore".

      At that point, the .exe can no longer be used to corrupt your restore points, but YOU can always go back and turn the service back on to access that KNOWN good system/software install if the shit hits the fan again.

      MUCH easier to use a restore point then reformat.

    21. Re:Check the HDD by Jesus_666 · · Score: 2, Funny

      I don#t know; I can't get either to run. All I get are .exe archives and for some reason my unarchiver can't extract them. How am I supposed to get the app bundles out?

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  2. Sorry by Anonymous Coward · · Score: 5, Funny

    Sorry about that. I slowed it down for my own amusement. I'm a bastard that way.

    -God

    1. Re:Sorry by PotatoFarmer · · Score: 5, Funny

      Nice try, but everyone knows you're dead. Nietzschecraft confirmed it.

    2. Re:Sorry by Yvan256 · · Score: 5, Informative

      Congratulations, you just invented a new word!

  3. PerfLogs by Drakin020 · · Score: 5, Insightful

    Run performance counters against the computer to see what might be spiking. (Hard drive usage, memory pages /sec etc...)

    --
    The greatest revenge in life is massive success.
  4. Try this by Anonymous Coward · · Score: 5, Interesting

    Unplug the network cable in the back and see if the problem persists. The network is a common cause of this problem.

    1. Re:Try this by LingNoi · · Score: 5, Funny

      If that doesn't work, try cleaning the gunk out of the mouse.

    2. Re:Try this by cyphercell · · Score: 5, Funny

      then hold the keyboard over your head and shake it.

      --
      Under the influence of Post-Cyberpunk Gonzo Journalism
  5. Process Explorer by Anonymous Coward · · Score: 5, Informative

    I'll be the first of many to suggest:

    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

    1. Re:Process Explorer by stanleypane · · Score: 2, Interesting

      Process Explorer is definitely a good tool to use for troubleshooting purposes. I find it invaluable when trying to view DLL and/or file usage for a given process. The process target is pretty slick too: drag a target onto a window and the controlling process is highlighted.

      There are a slew of other sysinternals tools as well, many of them would probably be perfect for troubleshooting system bottlenecks.

  6. Virtual Machine by DissociativeBehavior · · Score: 5, Insightful

    Watch porn in a virtual machine.

    1. Re:Virtual Machine by Gizzmonic · · Score: 2, Funny

      That's always good advice!

      --
      (-1, Raw and Uncut is the only way to read)
    2. Re:Virtual Machine by orclevegam · · Score: 4, Funny

      That's always good advice!

      What, watching porn, or the virtual machine?

      --
      Curiosity was framed, Ignorance killed the cat.
    3. Re:Virtual Machine by pem · · Score: 5, Funny

      Yes.

    4. Re:Virtual Machine by Jurily · · Score: 4, Funny

      Watch porn in a virtual machine.

      Best. Diagnosing. Tool. Ever.

      Thank you. :)

    5. Re:Virtual Machine by CopaceticOpus · · Score: 2, Funny

      Ah, the problem was just what we expected...

      Clogged pipes.

  7. Simplest answer by LinuxGeek · · Score: 3, Interesting

    Bottom line, if your system has a sudden dramatic change in behavior for no visible reason, wipe your drive and reinstall windows. There are nasty things now that don't show up as a process, mearly using the windows kernel to spawn another thread to do whatever it wants.

    Backup your data and do the safest thing. I usually run windows inside VirtualPC which means only using it for the programs that *require* windows, not for general browsing and stuff.

    --

    Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
    1. Re:Simplest answer by Atraxen · · Score: 2, Insightful

      It's not a bad plan, but I'd shorten the reinstall time even further by setting up a backup image of the OS+programs after a reinstall, and park it on the RAID. Then, your time spent is limited to the transfer rate between the two drives.

      Remember your offline backups of the RAID as well though - otherwise you may simply end up with a well-preserved virus refuge.

      --
      Be careful of your thoughts; they could become words at any minute...
    2. Re:Simplest answer by bluefoxlucid · · Score: 4, Insightful

      If you've got everything backed up, that should be the quickest option. (Versus spending a weekend or so digging and digging to find the problem.)

      It's Windows, not Ubuntu. Last time I had a "reinstall windows" problem, it took me 2 weeks to get all the software installed and configured again. I can't just tick off what I want and hit Apply.

    3. Re:Simplest answer by domatic · · Score: 2, Informative

      It's Windows, not Ubuntu. Last time I had a "reinstall windows" problem, it took me 2 weeks to get all the software installed and configured again. I can't just tick off what I want and hit Apply.

      Actually you can but it takes a little forethought. Get together install media for Windows, all your software, and a large external IEEE1394 or USB disk. If you use a bunch of stuff you downloaded then put the installers on a flash drive. Do clean install of the OS, apps, patch it all up, set up a Desktop the way you want it, yadda, yadda. Now before you junk it up with your data make an image of it. ping.windowsdream.com has a good free tool to do this with though if you have Ghost or whatever then go for it. If this is all too much trouble to start with then do it this way the next time you need to do a therapeutic rebuild of your Windows box.

      You should not use an imaging utility like PING or Ghost to backup your personal stuff. Well you can but its unwieldy. GoodSync is a decent free tool that can keep two separate directories in sync like say "Documents and Settings" on your machine and the external disk. The first run will take forever to copy your 40GB porno collection but subsequent runs will only schlep over new or changed files.

  8. Several steps to fix the problem by Anonymous+Cowbell · · Score: 4, Funny
    1. install Linux
    2. does it run Linux? if no, repeat step 1
    3. is the problem solved? if no, set up a beowulf cluster and add the machine to the cluster
    4. ?
    5. profit
    1. Re:Several steps to fix the problem by killmenow · · Score: 2, Funny

      6. Natalie Portman

  9. Obligatory by samriel · · Score: 5, Funny

    GeekSquad diagnosis:
    Vista installed. Remove immediately.

  10. Hmmmm. by SatanicPuppy · · Score: 5, Informative

    Not a lot to go on, though as a freebie, XP doesn't do jack with that extra gig of RAM...You could put in 100gigs and it won't use any more than 3 (less you're using the 64 bit version, iirc).

    Rootkits can run "under the radar". Might want to try software like RootKitRevealer, or Blacklight. A crappy one might grab a ton of cycles for a minute, but most of them are less intrusive.

    Everything spiking at once sounds like that stupid "System Restore" process, or maybe a big swap dump (which is weird with that much RAM, but you know, it's windows.) Stupid programs like Norton can grab a huge chunk of resources every now and then for no discernable reason. Maybe some peripheral is crapping out?

    Barring malware, I'd start writing down what's running when it spikes, and see if that tells you anything. Lot of programs can cause momentary spikes, but background processes usually don't. You could try testing some of the hardware but without anything specific to look for, you're going to have a hell of a time finding something.

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    1. Re:Hmmmm. by suricatta · · Score: 5, Informative

      Not a lot to go on, though as a freebie, XP doesn't do jack with that extra gig of RAM...You could put in 100gigs and it won't use any more than 3 (less you're using the 64 bit version, iirc).

      Just FYI, the reason for this is because with 32 bits, you're system is limited to 2^32 bits of address space = 4GB of memory in total, which has to include both RAM and the memory on your graphics card.

      So in many cases, users with 4GB of RAM will only see 3GB becuase they have a 1GB graphics card. It follows that if a user only have a 512MB graphics card, then they will see (and XP will use) 3.5GB RAM.

      This is not a design flaw for XP, it's a limitation if the 32 bit architecture. Switching to 64 bits solves this because then your total address space increases to 2^64 = 16EB. Which ought to be enough for anyone ;-)

    2. Re:Hmmmm. by cbhacking · · Score: 5, Informative

      Accurate but oversimplified - video cards aren't the only drivers that are mapped into memory space, just (usually) the biggest thing.

      If your drivers support it (many don't, which is why it's disabled by default - a driver which lacks support will cause crashes with this option) you can add /pae
      to the boot.ini file to enable Physical Address Extension in the kernel. PAE uses an extra 4 bits for internal memory addressing, resulting in up to 64GB of RAM being addressable. Individual processes will still run with only 4GB memory spaces. However, Windows will map some of its physical memory above the 4GB mark, allowing drivers their accustomed memory mapping (assuming the driver developer didn't make assumptions that PAE violates, like that the address space stops hard at 0xFFFFFFFF).

      --
      There's no place I could be, since I've found Serenity...
    3. Re:Hmmmm. by timothyf · · Score: 2, Informative

      If your machine and 32 bit OS supports Physical Address Extension, it will be able to handle up to 64 GB of RAM. I know because I'm on a 32 bit Win2K3 Server machine that sees all 4 GB of RAM installed just fine.

      http://en.wikipedia.org/wiki/Physical_Address_Extension

    4. Re:Hmmmm. by bluefoxlucid · · Score: 2, Informative

      Has no one heard of PAE mode? Windows XP artificially limits to 4GB; some versions of Windows allow 128GB physical RAM access.

  11. Firefox by tnk1 · · Score: 5, Funny

    Actually, the first thing you should do is close Firefox. I find that once you aren't using 10 GB of RAM to keep your 25 tabs open, the computer magically stops swapping.

  12. Second on the drive thing by Sycraft-fu · · Score: 5, Informative

    But rather than just checking SMART, get the manufacturer's test program. All the HD makers have one, just get the one appropriate for yours. It's the sort of thing you boot from CD and let run for a few hours, but it is the way to go. SMART can report ok even when a drive is dying but it is extremely rare (though possible) that the manufacturer's diags give it a pass when it is dying.

    Check that, since a dying drive often makes things really slow (in part because it starts remapping lots of bad sectors).

    1. Re:Second on the drive thing by speeDDemon+(nw) · · Score: 5, Informative

      SMART has its uses, and a quick and easy check is to use the program 'speedfan' as this has a built in feature to read AND analyze (requires net connection) your HDD's smart information, By no means the be all and end all, but it is the quickest way I know to identify a failing hard drive.

    2. Re:Second on the drive thing by g0es · · Score: 5, Informative

      But rather than just checking SMART, get the manufacturer's test program. All the HD makers have one, just get the one appropriate for yours.

      Careful, some manufactures have utilities that just check SMART and don't actually do a test.

    3. Re:Second on the drive thing by athakur999 · · Score: 5, Informative

      I've had a Linux box slow to a crawl for the same reason, so definitely good advice if you're experiencing random slowness regardless of what OS you're running. When I ran top I could see the "iowait" percentage was near 100% frequently and also saw many drive-related error messages in the system log.

      --
      "People that quote themselves in their signatures bother me" - athakur999
    4. Re:Second on the drive thing by Klaus_1250 · · Score: 4, Informative
      http://hddscan.com/

      Checks SMART, can perform all SMART test (e.g. offline), gives loads of information on the drives internals and it can scan the disk surface using the disk-controller chip only (e.g no data transfer over the cable). The latter is really useful to test the surface and speed of a USB-HD.

      --
      It only takes one man to change the Wisdom of the Crowd to Tyranny of the Masses.
    5. Re:Second on the drive thing by DennisZeMenace · · Score: 4, Informative

      What the manufacturer's test programs do is *precisely* run the SMART diagnostic test, so save yourself a CD-R. All they do is run the long self test. All SMART-friendly HDDs support the short (1 to 2 minutes) and long (1 to 2 hours) diagnostic tests, the latter doing an exhaustive sector scan. Boot a Linux live CD and type "sudo smartctl -t long /dev/sda", and voila.

      A damaged disk cannot pass that test, not unless something is utterly borked with the firmware (*cough* seagate *cough*).

    6. Re:Second on the drive thing by DiegoBravo · · Score: 4, Insightful

      >> Yeah, we all like Linux because it doesn't do annoying things like this

      That part of the original submission is misleading/stupid (why editors didn't cut it?.) My Ubuntu 7.10 box used to crawl (well, Compiz/Nautilus/Gnome/The-UI) after several hours of continued opening/closing windows. I never did investigate the issue (because laziness) and it was fixed just with a graphical logout/login (thus, I think restarting X.)

      Remember also that a lot of Linux boxes crawl when the updatedb is executed via Cron (this is the nearest thing to Windows' antiviruses in behavior.) As the parent writes, this have to do with I/O use, despite the assigned and irrelevant "nice" priorities.

    7. Re:Second on the drive thing by ChienAndalu · · Score: 4, Informative

      Wrong. Some do extended surface read-write-scans and offer options like disk erase etc. Like this here for example.

    8. Re:Second on the drive thing by Anonymous Coward · · Score: 4, Insightful

      The parent is correct. The difference between Linux and Windows is not that Linux doesn't slow to a crawl on occasion. No, I've seen both Linux and Windows do this. The difference (as you've demonstrated) is that when Linux slows to a crawl, you've got at least some chance at finding and fixing the cause of the slowdown.

    9. Re:Second on the drive thing by sribe · · Score: 2, Informative

      Macintosh as well. I've seen an iMac slow to a crawl, with frequent SPODs (spinning pizza of death). All diagnostics, including SMART, reported fine. But a benchmark program reported disk IO throughput of 0.19mB/s. Replaced hard disk, things went back to normal. (BTW, I've seen the similar thing multiple times. I don't even always test the HD anymore...)

    10. Re:Second on the drive thing by DennisZeMenace · · Score: 4, Informative
      You may want to try this with a live Linux USB key or CD. It varies based on the Hw RAID controller, but most of the time the physical disks that are part of the RAID are visible in Linux (for example with a LSI HW Raid controller). Not as block devices (/dev/sda, ...), but as generic SCSI devices (/dev/sg0, /dev/sg1). It is possible to run the smartctl tool on those directly.

      SMART provides a lot of data, some of which is crap :-) but some of which is very useful. In particular, the error log:

      # smartctl -l error /dev/sg0

      Any disk with a non-empty error log you should consider replacing. Also, always run the short diagnostic tests:

      # smartctl -t short /dev/sg0
      # [wait 2 minutes]
      # smartctl -l selftest /dev/sg0

    11. Re:Second on the drive thing by DiegoBravo · · Score: 3, Funny

      Oh please AC... The parent is wrong, because he didn't say what you're saying. Now:

      1) Like in the Linux case, some people indeed can analyze and find the cause of the slowdown (yes, there are some Windows experts)
      2) Would Linux users install the same background trash like Win users (and if Linux developers would provide it) you'd have a really difficult time in the Linux investigation.

      Of course you will be modded high here because someway you managed to defend the mighty Linux OS...

    12. Re:Second on the drive thing by vhfer · · Score: 2, Informative
      SMART is SMART, platform independent. Your OS's way of sending SMART commands to the drive and getting the results back may vary; the venerable smartctl on the command line is the one I'm most familiar with.

      In PC's, some of the BIOSs have an option to enable SMART. Most of them simply send the "-a on" command to enable the drives SMART processes. Many also do a "-H" for a basic health check of the drive, and squawk at you during the post if it fails. I'm wondering if the mac does something very similar. If so, a delay of about a second or maybe less is about right.

      Use of smartctl -h /dev/sda is a good measure of how the drive is, but it's very basic. Then again, it sure beats a poke in the eye with a sharp SIMM. Or a drive that dies without any warning.

    13. Re:Second on the drive thing by dermoth666 · · Score: 2, Informative

      'nice' does not affect IO, only process scheduling.

      The CFQ scheduler have IO classes with priorities that can be set with 'ionice'. Be sure to use a recent kernel though, I've seen nasty bugs in 2.5.25.

      Depending on the typical load type even the IDLE class might be worse than the Deadline or Anticipatory schedulers (they do not support classes even if you can set them) so testing is the key, though for desktops CFQ+ionice should be best in most cases.

  13. safe mode by madcat2c · · Score: 4, Informative

    Run for a while in safe mode and see if the problem persist. If it doesn't, then its probably a service gone haywire. Most likely candidates are printer services, anti virus services, scanner services.

    1. Re:safe mode by atraintocry · · Score: 2, Informative

      If it is a service going haywire, it'll usually show up in the event log.

      People have said it a few times, but it needs to be repeated 20 more. Check the event viewer!

  14. Re:Two biggest things by Marxist+Hacker+42 · · Score: 2, Informative

    Somehow my link didn't appear. Hijack This! should be able to be downloaded from http://www.download.com/Trend-Micro-HijackThis/3000-8022_4-10227353.html

    Hopefully one of those two will show up.

    --
    SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
  15. The best way to accelerate a slow Windows. by Faryshta · · Score: 5, Funny

    9.8 m/s^2 Sorry, it just flip out.

  16. Answer: by tiananmen+tank+man · · Score: 5, Funny

    "Well, I think you know the answer to that."

    1. Re:Answer: by ciaohound · · Score: 5, Funny

      From story to meme in under four hours? That's got to be a slashdot record!

      --
      Oh, yeah, it's not easy to pad these out to 120 characters.
  17. My check list by CormacJ · · Score: 3, Informative

    My usual check list for this is:

    1) Check the hard drive, SMART, or manufacturer diagnostics
    2) Get the manufacturer diagnostics, and run a full hardware validation
    3) If all is clean, check for things recently updated - a bad update may be clogging things
    4) Check your anti-virus/anti-spyware software. Sometimes they can switch into extra-paranoid mode and slow things down horribly.

  18. Re:Use process explorer by GPLDAN · · Score: 5, Insightful

    Between DiskMon, FileMon and Process Explorer - there should be nothing that you cannot see. The new generation of viruses that steal thread handlers from other processes are nasty, but very very hard to detect.

    Add in wireshark, as the cause of many a slow computer has been a ISP provided DNS server that has suddenly decided to take it's sweet ass time about answering queries for A and PTR records. Usually a by-product of being under some external load that you know nothing about (it could be backing up, etc).

    DiskMon in particular will show you any files that are being sought by any process, an incredibly valuable resource.

    Every workstation in our company has the SysInternals complete suite installed in the C: drive. The help desk has been trained to use it. It solves alot of problems.

  19. The Case of the Slow System by Fast+Thick+Pants · · Score: 5, Informative

    Mark Russinovich has an enlightening blog entry called The Case of the Slow System that might serve as an example of how, if you are are one of the planet's top 10 Windows experts, you can, with persistence, luck, and the proper tools, solve one of the obscure problems that are slowing down your wife's computer. This particular case pertains to Vista, but the general techniques are applicable to XP as well.

    1. Re:The Case of the Slow System by pbhj · · Score: 5, Funny

      Has Mark Russinovich's wife tried turning it off and on again?

  20. Updates by Thelasko · · Score: 2, Insightful

    Unfortunately, software companies all tend to schedule their updates to download/install at about the same time. Perhaps your anti-virus software, or even Windows itself, is running a live-update.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  21. bad fan? by Monoman · · Score: 5, Informative

    Some systems will slow down the CPU if it gets too hot. Check the fans and the temp in the CMOS if it can report it.

    --
    Keep the Classic Slashdot.
  22. Turn off indexing by huckamania · · Score: 2, Informative

    Indexing really slows things down. Also, check you AV and Spyware settings and think about turning off any real-time file monitoring. Indexing plus real time file monitoring equals slowness. Finally, run 'msconfig' and check what is starting up at runtime. If you don't know what it is, get rid of it. You can always add it back.

    I once looked at a coworkers system and he had processes starting up at runtime that were called, I kid you not, A, B and blank (no name at all). Removing those restored his system.

  23. Check heatsinks and fans by Anonymous Coward · · Score: 3, Informative

    Check the reported hardware (CPU...) temperatures, run the SMART tests on your hard drives and then open the case and check if all the heatsinks are where they should be and how warm they are to the touch. Also check if all the fans are operational. Take the opportunity to clear out the dust from the fans and your PSU. I've seen a lot of sudden slowdowns like that (I work as a tech in a datacenter) and most were hardware related. In one case the heatsink got unglued off of the northbridge.

  24. WTF: a new low for slashdot? by citylivin · · Score: 4, Insightful

    slashdot: Individual personalized tech support?

    wtf kind of article is this?

    fucking take it to a shop if you cant handle reinstalling windows

    --
    As a potential lottery winner, I totally support tax cuts for the wealthy
    1. Re:WTF: a new low for slashdot? by pla · · Score: 2, Insightful

      slashdot: Individual personalized tech support?

      Ignoring your blatant troll, I think most of us who use Windows, whether by choice or at work, have experienced exactly what the FP author describes.

      Personally, I keep Process Explorer permanently open, and have noticed times when XP will just sit there and refuse to respond despite literally nothing using up a significant amount of CPU, RAM, or I/O. And not just for a second or two of lag, but well over a minute of completely refusing to respond. The mouse still moves, and most already-running programs will work, if somewhat sluggishly, but try to open a new program or even get a right-click menu, and you may as well go get coffee.

      If someone knows a trick to fix this, I have no doubt we'd all love to hear it.


      And for those curious, my HDD remains in DMA-5 mode, it doesn't matter whether or not I have an active network connection, the pagefile hasn't started growing rapidly, and I feel fairly confident that I have no viruses, spyware, or even any of the annoying auto-startups like Quicktime, the Java updater, or Acrotray.

  25. Re:1. run task manager by PolygamousRanchKid+ · · Score: 2, Funny

    "Oh, no, Mr. Bill!"

    My Windows machine is infected with the System Idle Process Botnet!

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  26. background defragmenting by xonen · · Score: 5, Informative
    XP and Vista have the 'feature' of automated background defragmenting enabled by default, you might wish to disable this.

    From: http://www.kessels.com/Jkdefrag/

    How do I disable the Windows built-in defragger?

    Windows 2000 & 2003:

    The built-in defragger is not started automatically.
    Windows XP:

    1. Download the free * Tweak UI utility from Micorosft.

    2. Click on 'General' and untick the 'Optimise hard disk when idle' box.

    Windows Vista:

    1. Start -> All Programs -> Accessories -> System Tools -> Disk Defragmenter

    2. Untick the "Run on a schedule (recommended)" box.

    --
    A glitch a day keeps the bugs away.
  27. This was the funniest thing on Slashdot today by Jane+Q.+Public · · Score: 4, Insightful

    and somebody marked it troll??? Come on, folks, get real.

    1. Re:This was the funniest thing on Slashdot today by Korin43 · · Score: 5, Funny

      Yeah seriously. Windows not being slow is obviously flamebait.

  28. Check Harddrive by sam0737 · · Score: 2, Informative

    Harddrive failure could cause mastery hangup like that. The harddrive will retry for a few times, up to a few good ten seconds, causing all the I/O requests hanged for ten or more seconds.

    The harddrive LED might be lit, but might be not. Also pay attention to the access sound, it will become very weird and repetitive when that happens. (Ya harddrive is getting more quiet now and the noise might get overwhelmed by the fan noise)

    I experienced this for a few tens in the past ten years or so. (last time it happened on my laptop a few months ago). Again the symptom is - mystery hang up for a few ten seconds, then it went good (either retry success) or some application crashed (I/O error and HDD give up). Smart details usually can't show anything really that usual, or may be just 1 or 2 pending reallocation count, but SMART long SelfTest will usually do the job to catch the bad sector. Use "smartctl -t" in Linux.

    At any case, replace the offending harddrive ASAP (after backing up all the data), because bad sector that keep recurring means something wrong with the head or alike, not just the specific spot on the media, and the bad sectors will spread like cancer!

  29. How To Diagnose a Suddenly Slow Windows Computer by Trailer_Bob · · Score: 2, Interesting

    I think you'll find these two presentation videos helpful: 1. The Case of the Unexplained -- http://www.microsoft.com/emea/spotlight/sessionh.aspx?videoid=722 2. Advanced Windows Troubleshooting with SysInternals Process Monitor -- http://www.microsoft.com/emea/spotlight/sessionh.aspx?videoid=346

  30. Re:Defrag? by jayhawk88 · · Score: 5, Funny

    Perhaps the hard drive is using an Infinitely Improbable File System.

  31. Comment removed by account_deleted · · Score: 5, Informative

    Comment removed based on user account deletion

  32. Comment removed by account_deleted · · Score: 4, Informative

    Comment removed based on user account deletion

  33. Re:EASY ANSWER by nikolag · · Score: 3, Interesting

    I do not see this as easy when You deal with a bunch of RAID drives or similar setup, but booting something small (COUGH deamn small linux COUGH some disk test/recovery distribution) from CD and running it straight in memory may also help a lot in diagnosing a problem.

    Just last week we had a 22 out of 22 Windows in one network shutting down network processes for no apparent reason, without any errors in log, without any HDD problems. After thorough search it seems somebody infected them with some kind of rootkit, but three AV programs could not weed it out. Only reinstalation helped.

    --
    Doing a good job is like spilling coffee on a dark suit, you feel warm all over, but nobody notices.
  34. Re:1. run task manager by SatanicPuppy · · Score: 3, Informative

    And when it turns out to be svchost.exe, send a nasty email to Balmer.

    I've seen systems start crawling on stupid windows background crap that only shows up in the process tab as "System Idle Process."

    Compared to using ps or top, I'm not a fan of the scanty process tools in windows. The only decent one is perfmon; it's "Performance" under "Administrative Tools."

    Open it up, go down to the bottom, right click on the little window under the graph and choose "add counters." Go ahead and add them all, and start the monitor.

    Okay, now that your brain is bleeding, stop it, remove all the counters, and actually read the names and add only the ones you think you need.

    Pretty much everything that's going on in the system is measured there, so you can get a pretty good idea of what the problem is, and that may point you in the direction of solving it.

    Just as an fyi: if you're dumping to a log, make sure you have an idea of how much space it's eating up. A big perf log can eat up your whole harddrive if you leave it running.

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
  35. diagnostics by datapharmer · · Score: 5, Informative

    check in this order: virus (look both for viruses and malware and bad scanners... I've seen antivirus scanner updates hose systems... use more than one virus scanner and more than one malware scanner but NOT AT THE SAME TIME!), drivers (might be badly written ,corrupt, or for wrong hardware), rogue processes (startup, services, etc), hardware (run chkdsk /f and defrag, check bios settings and make sure smart hd is enabled if possible and run a memory test), replace cables such as IDE that tend to corrode and cause errors, then start checking components (graphics, memory slots - use just one stick - if it improves use the same stick in another slot until there is a problem or you get to a stick that is causing problems) pci, dongles and adapters) If that fails run linux like you should have done in the first place. ;-)

    --
    Get a web developer
  36. Re:Use process explorer by The+MAZZTer · · Score: 5, Informative

    FYI DiskMon and FileMon have been superseded by ProcMon. I used it the other day because there were pinned items on my Start Menu I couldn't delete, so a simple filter for RegWriteValue when I pinned or unpinned something and I was able to find where the list lived and wiped it.

  37. How I do it by Anonymous Coward · · Score: 4, Informative

    The general procedure I use is:

    1) Get and install Debugging Tools for Windows for your platform.

    2) Run kernrate.exe from the resource kit tools to determine if the problem is an I/O or CPU limit. (See here for how to get symbolic usage information.) If you do not see anything hogging the CPU, it's an I/O problem and you should go to step 5.

    3) It's a CPU problem, so use the information from kernrate to figure out who's bogarting the CPU. If the process is services.exe, rundll32.exe, or System, you need to use something like Process Explorer to determine which file actually contains the code which is executing.

    4) If that doesn't work, it may really be an I/O problem or a rootkit. If you suspect a rootkit, your main options are reinstallation or forensic analysis using something like a boot CD, TSK, and the NIST hash database to audit your machine for bad files.

    5) Run Process Monitor and see who's responsible for all the I/O.

    6) If that doesn't reveal anything, it might be a driver problem. Use Process Explorer to see if you have excessive DPCs (the Windows equivalent of a top half interrupt handler). Use kernrate to zoom in and see which driver is causing them.

  38. Injected DLLs? by The+MAZZTer · · Score: 2, Informative

    Try and figure out though how it is being "slow"... is it CPU or disk activity or memory or what? Identify what is wrong with Task Manager and you will be much closer to fixing it.

    If its coming from random processes... injecteD DLLs live in all processes and thus bugs in them can appear in any random process since the DLL is present in all of them. My personal example is WindowBlinds, which has had some compatibility problems... Visual Studio soared in CPU usage while idle, the last time I used it. A while ago there was a problem where Google Desktop would eat up memory until it crashed if Windowblinds was in use on the system. Use autoruns to check for such DLLs and disable any that belong to apps you don't use, and temporarily disable apps that you are using (such as Windowblinds).

    The disk check idea earlier in the page is a good idea too.

    As for ideas it might be automatic defragmenting, I looked into the way defragmenting works on NT a while ago to try and figure out if having files open is still a no-no when defragmenting a drive (it's not, the clusters can still be moved, yay) and I found out Vista's defragmenting task is low-priority process and IO... meaning it can't be the cause, as it will defer to anything else on the system that needs process or IO time. You wouldn't notice it running.

  39. Real-Time Virus Scanning by tundog · · Score: 2, Informative

    I went through a similar experience recently with my Windows XP machine - tore my hair out going step-by-step through every possible cause.

    It happened after the out of schedule Windows update. Turns out that Microsoft, in their infinite wisdom, turned on my McAfee real-time virus scanner. I't brought my system to a crawl whenever I'd try to play World of Warcraft. I didn't show up anything on Process Explorer and my video worked great, but my latency would slowly spiral out of control until it became uplayable.

    I suspect that the real-time scanner was trying to process all inbound trafic before allowing it to pass on the calling process and it just couldn't keep up with the data bandwidth. Even disabling various McAfee security services didn't fix it - only uninstalling McAfee worked. Now my system runs better than ever (after having defragged a dozen times, uninstalled every unnecessary process imaginable, and cleaned the exhast fans).

    Long story short - uninstall your virus software.

    Sincerely,

    A Chinese Hacker

    --
    All your base are belong to us!
  40. Run Memtest by WebmasterNeal · · Score: 3, Interesting

    I just did this the other day and found one of my sticks had 1000+ errors on it.

    --
    "During My Service In The United States Congress, I Took The Initiative In Creating The Internet." -Al Gore
  41. learn from the Hackers! by Tumbleweed · · Score: 4, Funny

    Open a command prompt and type "OPTIMIZE" and hit the Enter or Return key (doesn't matter which).

    If you get an error, type "OVERRIDE" or "SECURITY OVERRIDE" and then try the optimize command again.

    Make sure you type these in all-caps (it's best just to leave the caps lock key on all the time, really).

    After the optimization sequence is complete, reboot your computer. The best way to do this is to simply pull the power plug on the back of the machine and then plug it back in. Do this a few times just to make sure it's rebooted everything correctly.

    If this doesn't work, go online from another computer and buy a Mac or something from Dell.

  42. System Idle Process by camperdave · · Score: 3, Funny

    Whenever I see this happen, I fire up the task manager and sure enough, my arch-nemesis, the System Idle Process is there, taking up the bulk of the CPU time. Whenever I try to remove it, I get a message saying that the operation is not valid for this process. Kudos to whomever wrote this virus. Nothing seems to detect it, and nothing seems to be able to remove it.

    --
    When our name is on the back of your car, we're behind you all the way!
  43. Service pack 3? by pluther · · Score: 2, Insightful

    When mine did a few weeks ago, it turned out to be because it updated itself to XP Service Pack 3.
    Removing XP3, and installing the "critical security updates" as per Microsoft's tech support document on the subject, fixed the problem and got everything working back the way it was originally.

    --
    If the masses can keep you down, you're not the Ubermensch.
  44. MSCONFIG is your friend by Orion+Blastar · · Score: 3, Informative

    If it isn't a virus or hardware issue, perhaps you have too many memory resident programs loaded?

    At the Start menu click "Run" and then type in "msconfig" it will allow you to see what services, processes, and start up programs are in use. Naturally you want your Antivirus to load at startup but not your instant messenger programs and other useless junk that clutter up CPU cycles and system memory. Get rid of a few startup programs first and then reboot and see if the system speed improves.

    It could be a corrupted registry and that link is to Microsoft's site on how to troubleshoot that.

    If you cannot resolve the speed problem that way you might have a bad system file or files that went corrupt.

    First make sure that you have:
    #1 The original XP install CD without any service packs.
    #2 The slipstreamed XP install CD with the same service pack you are using.

    Click Start and select "Run" and type in "sfc /checknow" and have those CDs ready when prompted for them.

    Sfc is the system file checker and oddly enough it needs a non-service pack XP CD and an XP CD with your service pack on it. Best to make the slipstreamed version with SP2 or SP3 whatever you are using on it first. I hope you have the non-SP version of XP, if not borrow it from someone who does have it. This could be a tricky process but sometimes it works, but you need to reinstall all security patches after it runs.

    --
    Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
  45. If it's Malware You Suspect by Flere+Imsaho · · Score: 2, Informative

    Fire up Sysinternals Tcpview and look for processes generating unusual traffic. Look for new connections coinciding with the perceived slowdown. Note the pid in tcpview then fire up Sysinternals Process Explorer and look for that pid - you'll be able to drill down and see exactly what file is running. This way instead of only seeing svchost.exe, for example, is doing weird things, you can see what files svchost has called.

    --
    It gripped her hand gently. 'Regret is for humans,' it said.
  46. Clean up your computer by Wowsers · · Score: 2, Interesting

    We all clean our computers regularly, right? I noticed this on an offloaded pc I cleaned up to pass on. The processor fan and cooling vents was heavily caked in dust and it was clocking slower so it would not heat up so much. Cleaning the dust off the processor cured the problem.

    --
    Take Nobody's Word For It.
  47. Recreate your profile by WikiTerra · · Score: 2, Informative

    Some applications, even after being uninstalled leave behind crap that will slow you down. I don't entirely know how to describe it, since I'm not sure what's going on behind the scenes, but here's what I do:

    1. Reboot the machine and log on as administrator (NOT your own account).
    2. Rename your old profile -- "C:\Documents and Setting\username" -- to something like "C:\Documents and Settings\username.OLD" (you can't do this if you're logged on as "username" or if you haven't rebooted since you were).
    3. Log off admin and log on as yourself. Windows will automatically create a fresh profile for you.
    4. Open up applications (Firefox/MS Outlook/etc...) and see how it fares.
    5. If it's looking good, go ahead and retrieve stuff from your old profile like your desktop folder and My Documents, or .pst files or anything you might think is important in "C:\Documents and Settings\username\Local Settings" and "C:\Documents and Settings\username\Application Data" -- usually things used by Firefox and Outlook, etc. For the most part applications will rebuild from scratch.

    If that doesn't do it, you could try some sort of registry cleaner, but if you're at that point I'd rather just reinstall Windows. Alternatively swap out for a hard drive from another computer. And if THAT doesn't work, then you know it's a hardware issue.

  48. My area of expertise by kabloom · · Score: 2, Insightful

    I have become an expert at telling people that their computer is slow because they're using twice as much RAM as their computer has, and therefore swapping badly. I usually tell them that they need 4 times as much RAM as they have.

    I think this is not your problem.

  49. Re:1. run task manager by shutdown+-p+now · · Score: 4, Insightful

    I've seen systems start crawling on stupid windows background crap that only shows up in the process tab as "System Idle Process."

    System Idle Process cannot make system crawl by definition - it's not even a process, it's just the line that shows how much of your CPU is not being utilized at all.

    Thing is, when the system is crawling, it needs not be CPU. Random HDD reads/writes by one process can also kill performance for the entire system very fast, and yet the process will still show up as using 1-2% CPU time in Task Manager. You can change it to show the columns for I/O though and look there.

  50. Re:macintosh by SBrach · · Score: 3, Funny

    Only if it has a hard drive.

  51. That's totally easy! by AlgorithMan · · Score: 3, Insightful

    the diagnose is: the computer has the windows

    --
    The MAFIAA is a bunch of mindless jerks who will be the first up against the wall when the revolution comes
  52. Nuke the site from orbit... by Darth_brooks · · Score: 2, Interesting

    Why bother. I keep up to date images for all my hardware and, at the first whiff of trouble, it's bye bye birdy.

    There's just not a huge list of reasons to dick with this stuff any more. Yeah, you might learn the attack vector, then you might be able to manually remove the nasty little bugger that's got you slowed down and patch against future intrusion. Or, you can start from scratch and move on with your life after an hour or so. Besides, if it is hardware, it'll be pretty apparent after you've reloaded (if you can reload at all.)

    I no longer care what crapware my users have managed to infest themselves with. Ghost the machine, move on to genuinely interesting problems.

    --
    There are some people that if they don't know, you can't tell 'em.
  53. Still... by Moraelin · · Score: 5, Interesting

    Actually, while I do somehow sped more time at home on my Windows gaming box than under Linux (so this isn't a blanket Windows bashing,) my superficial and uninformed impression was that, all else being equal, any Windows box I've seen seems harder hit by IO than any Linux/Unix box I've ever seen.

    Yes, you can get a Linux box to crawl too, if the hard drive is stuffed and it can't swap for example. Or if the chipset isn't supported well by the drivers. (Rarer these days, but certainly possible.) Or whatever.

    But Windows... seems a bit special. I mean try to copy a directory between two hard drives, or better yet from a DVD to HDD, and Windows seems to me basically stuffed. Even notepad can get about as responsive as a narcoleptic snail. And you can just about forget about, say, playing a game while that happens.

    And that's before you even add such brakes as an anti-virus.

    I've seen that behaviour in any Windows, from 3.0 to Vista, including a detour through NT 4.0. In fact in Vista let's just say there's a reason why so many people were pissed off at the indexer kicking in all the time.

    My subjective impression is that I've yet to see Linux get anywhere near that unresponsive, in a similar scenario. Again, assuming that you don't have a nearly dead HDD and the chipset is supported in DMA mode.

    But heck, even in PIO mode, I've used Linux in PIO mode and I've used, say, NT in PIO mode. (Thanks to a retarded IT department which installed the wrong IDE drivers.) Linux did obviously have poor file IO performance, but NT just freaking _froze_ for a second or two, for example, when minimizing or maximizing a window. (Presumably due to aggressive memory management which swapped more of a process out when minimized.)

    Now admittedly I haven't actually programmed an OS at any point, so I'm probably talking out the arse, but I see no reason why that should happen at all. Any common source of IOWait has an interrupt. Even in PIO mode you don't have to poll until it's done. And DMA, now that was invented for the precise reason and purpose of transferring some data while the CPU services another process. It's why it's there. So there's no freaking reason for the whole OS to just twiddle its thumbs and wait. Even if one process is waiting for _paging_, you can still yield to another process while waiting for the HDD.

    --
    A polar bear is a cartesian bear after a coordinate transform.
    1. Re:Still... by alexborges · · Score: 3, Funny

      Actually, while I do somehow sped more time at home on my Windows gaming box than under Linux (so this isn't a blanket Windows bashing,)

      I just stopped reading right there.

      --
      NO SIG
    2. Re:Still... by fm2503 · · Score: 2, Funny

      Maybe 12 months ago I had to investigate a problem with a dedicated Linux DNS server which no-one had logged into for years. It had been answering queries fine, but hadn't taken an update to a zone file it slaved.

      Turns out _both_ halves of the RAID set had died over time. As the box had 2GB of RAM the entire FS (pretty much) had been cached and the box continued to chug away quite happily memory resident until it actually needed to update a zone file on disk.

      Who needs disks.........

    3. Re:Still... by hey! · · Score: 2, Informative

      One thing that happened to me, although this probably isn't the poster's problem, is that my pagefile got fragmented. So far as I know, this is the only problem that can be truly said to be unique to Windows. I have no idea why Windows puts its backing store in the filesystem. Surely the overhead of going through the filesystem is unnecessary. Perhaps it is a leacy of a time when the ratio of disk space to physical RAM was smaller, and having a growable swap space was desirable. I've never found dynamically growable swap something I've ever wanted in Unix.

      In any case if you want to talk about brain damaged behavior, the way my pagefile got fragmented was that I run virtual machines for development purposes. This behavior has since been fixed (either by MS or VMWare) but launching the first virtual machine on Vista used to nearly crash the system for about ten minutes. What was happening was that Vista had used all the "unneeded" RAM for its various hare brained optimizations, and when you suddenly ask for one GB of virtual memory space it went into an epileptic fit trying to swap all that memory it was using out.

      Now here's the really brain damaged part: I ended up (I discovered) with over a hundred thousand fragments in my pagefile.

      How is that even possible?

      The nearest I can guess is that Windows must, in its desperation to free up RAM with a full page file, take pages of memory and stuff them into the first free bit of space on the filesystem it can. This isn't a problem in Unix, where you just grab (I guess) the first appropriately sized piece of disk off a heap. While I suppose it might be possible for some kind of fragmentation to occur in a Unix swap partition, it's inherently an ephemeral problem that would tend to fix itself as the memory situation improves. In Windows, the problem persists even after you reboot.

      When you run several virtual machines, you will swap unless you've got way more RAM than is normal for most users; more than many systems will accept in any case. I was mystified as to why my virtual machine performance, which I was extremely pleased with initially, became utter rubbish after a few months of usage, until I thought to check the pagefile. Ironically, dropping the pagefile altogether greatly enhanced the performance of the system, perhaps because it became more parsimonious with virtual memory space. Adding the pagefile back in, initialized to 4GB, fixed things.

      So now, when I get a new Windows machine, I just do what I've always done in Unix: I set the pagefile system right at the start to something like twice the maximum physical memory I think I'll ever install. This leaves a margin of error for unexpected changes, like problems with updated virtual memory algorithms. It may be that most people seldom if ever need a backing store at all with current memory sizes, I do, and in any case at current disk prices 8GB of disk costs less than a cup of coffee at Starbucks.

      One thing that occurs to me is that it would be even better to mimic Unix by creating a separate swap partition for the pagefile. It would have to be formatted of course, but if there's some kind of I/O crisis going on in the virtual memory system, this would at least tend to isolate it from the data in the real filesystems.

      One question I don't know the answer to is whether on 32 bit windows with 4GB of RAM, there is any benefit to having a pagefile at all, given that RAM is larger than the usable virtual memory space, accounting for the addresses lost to memory mapped I/O. You can use PAE, but that seems kind of pointless to me. If you need it you should upgrade to 64 bit. But I don't know enough about how hardware support for virtualization works and interacts with the host operating system to say whether there might be any benefit when running virtual machines.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  54. What? by Yunzil · · Score: 3, Insightful

    Yeah, we all like Linux because it doesn't do annoying things like this

    Speaking as someone who uses Linux at work every day, this is a flat-out lie.

  55. another suggestion by ILuvRamen · · Score: 2, Interesting

    Most of the previous suggestions are more likely and better but I figured I'd also mention this. I've heard of people with undiscovered rootkits and a symptom is huge, seemingly untraceable performance loss. The only symptom is a lot of different, legitimate processes using up the CPU at the same time. This behavior is a known effect of some rootkits using CPU cycles while hiding itself. I've never seen it personally but I've heard about it. I'd suggest running Rootkit Revealer because it checks for any inconsistency between the registry and what's supposedly there for the entire file system and processes that are running (or something like that) instead of using a list of virus definitions.
    Also, nothing stops a computer like a piece of hardware telling everything to wait. Go to the actual manufacturer's page for every piece of significant hardware and update the driver for it. You'll be surprised how many are described as critical fixes but don't appear on windows update. And there's a lot of lines in the changelogs that will say something to the effect of "fixed system hang/pause when..."

    --
    Google's Super Secret Search Algorithm: SELECT @search_results FROM internet WHERE @search_results = 'good'
  56. imaging by f1vlad · · Score: 2, Insightful

    I don't use windows daily, but I have windows box for games. And what I do, to avoid having to waste endless hours investigating this sort of stuff, is maintaing fresh images of my hard drive.

    Simply keep OS and installed programs on C: drive, back up its entire image often. Something happens, wipe it and put _stable_ image over it.

    I suggest Acronis True Image Maker.

    --
    o_O
  57. Viruses running as threads and interrupt handelers by Teilo · · Score: 2, Interesting

    This is a scary thought that might be relevant. Wired recently published an interview with a repentant spyware author who mentioned that they had figured out how to run the virus as a series of discrete threads which are not running as part of any parent process, something that Windows evidently allows. He also stated that they considered using a completely threadless model, by installing the code as an interrupt handler. Just tie it to an interrupt that regularly fires, and their code runs in an utterly transparent manner - something Windows also allows. The guy claimed that they didn't actually do the interrupt trick. But the frightening think was that it is even possible. I have no doubt that someone will do it eventually.

    --
    Mir tut es leid, Menschen daß Einfältigfehlersuchenbaumfolgendenaffen sind.
  58. Re:Seriously, Call GeekSquad by phulegart · · Score: 2

    I wouldn't call geek squad for anything... considering they have sent business to the shop I work at... in once cases, leaving their tools CD inside a machine. Essentially a beefed and customized WinPE. The funniest part, as we were laughing and using the CD to diagnose the computer, memtest86 on the disc revealed RAM to be their issue. We would have used one of our discs, but you had to be there. The fact that we used Geek Squads diagnostic CD to uncover the problem with a PC, on a computer they couldn't fix and had sent to us, and had forgotten to remove their CD from... that kept us in stitches for a week or so.

    Now, the situation you just described, happens for $888 at our shop. It currently ends with an AMD X2 64 5800+, a Gig of Ram, a 320gb WD drive, an Asus a8n-sli board, an Evga Nvidia 8600, an Antec case, a lightscribe DVD burner, a floppy drive, and an Antec 380 Earthwatts PS (we got a pile of them), and an OEM CD and Key for XP Pro. Sure, it's a bit overpriced if you or I was going out and buying the hardware. But this is the system we sell to the customers who come in with their Old Compaq desktops with their PII and AMD K6 processors... or the systems that came out with XP when it was new, and are still using their original 256MB of RAM and are having spyware troubles on top of running with SP3. They bring in their old machines, we build them their new one, we transfer all their family pictures and such, install software like Firefox, VLC, OpenOffice and such, give them a quick lesson on how and WHY they should be running AdAware and Spybot weekly, introduce them to AVG Free as it is installed on their machine, and ALWAYS send them away happy.

    Sorry the Geeks Squad Hosed You on price, but if you walked into Bestbuy with a PII running WIn95, you needed a new computer and OS if you wanted to be current and compatible. If you wanted to keep that Win95 machine, you should have visited a smaller shop, and told them so. They would have fixed you up (we also give people that option) and got you running again. I've got several satisfied customers running WIn98 machines currently, and one still using a Win95 box. I've reinstalled for them, found the tools they need to stay clean etc... and they come back regardless... usually due to the fact that they won't run their cleaners regularly... and need a cleaning every few months. Kinda like teeth. Smaller shops are more likely to work harder to do what YOU want, as opposed to making you fit into their mold.

    But what about your restricted build that you offer people... you might ask me. Well, that $888 starts there with that hardware. You want to customize? That's cool. You insist on a Striker Extreme? That's fine. I'm not one of the Geek Squad. I'm not going to walk you over to the sales department and tell you that you that you need to pick out a new machine, and we'll dump your data onto it. I'm not going to put a piece of cardboard on the side of your head so you can't see that the new computers being sold on the shelf next to where you are looking at that estimate you just described, and how they only cost $1000, and offer more than the hardware you are being expected to pay $3000 for. I'm a small shop tech. I aim to please. Your fault you went to the Geek Squad. Stop screwing over the little guy, and support your local business... or THAT is going to happen.

    --
    "I love deadlines. I love the whooshing sound they make as they fly by." -D. Adams
  59. Turbo button... by Grog6 · · Score: 3, Funny

    I still have a PC that has a turbo button.

    And Yeah, it changes the clock from 4.77Mhz to 10MHz.

    It even has a 10MHz coprocessor, lol, with a whopping 4MB of memory.

    --
    Truth isn't Truth - Guliani
    1. Re:Turbo button... by Mr+Z · · Score: 4, Funny

      Even my computer with the Turbo button switched between 8MHz and 25MHz. (Later, 8MHz and 33MHz.) And that was a scant 16 years ago...

      Your computer is probably of legal drinking age by now!

    2. Re:Turbo button... by theaveng · · Score: 2, Interesting

      I saw a lot of those computers in my college lab, and of course experimented with the "turbo" button but it never seemed to do anything. Why were those buttons installed on old machines? And how come they're no longer used in modern PCs?

      My old Commodore 128 had a "FAST" command in Basic, and it did make a noticeable difference.
      The TV screen went blank.

      --
      FOX NEWS.com should be BANNED from television and internet. Have the Congress take it over and give us Truespeak.
    3. Re:Turbo button... by xenolion · · Score: 2, Funny

      LOL is it sad to say i still have a pentium pro running nt server....

    4. Re:Turbo button... by Telecommando · · Score: 3, Funny

      Yeah, but I'll bet it's real slow running Vista.

      How would you tell?

      --
      Beta sux! Join the Slashcott! http://hardware.slashdot.org/comments.pl?sid=4760465&cid=46173047
  60. Re-Image. by SanityInAnarchy · · Score: 2, Informative

    Storage is cheap, and software doesn't take a lot of space.

    For my father, here is what I did:

    Pair of 250 gig hard drives (my old ones). One formatted 50 gigs Windows, and 50 gigs just as a second NTFS partition. The other formatted as Linux.

    Boot the Linux drive, then ntfsclone the Windows drive (be sure to use the -s option) -- even just with lzop compression, chances are you can fit quite a lot of images. Such as: Just after installing each item.

    Standard backup solutions like rdiffbackup can be used for the other drive.

    Then, when something goes wrong, boot Linux, use ClamAV to scan the data drive, and re-image the software drive. Problem solved.

    --
    Don't thank God, thank a doctor!
  61. Here are the answers! (Yes, really) by swordgeek · · Score: 3, Informative

    1) Download Malwarebytes' Anti-Malware, and run it. It was the only thing that found a virus on my computer recently, out of six packages (including two commercial ones).
    2) Download HijackThis, if that doesn't work. Be careful with this package, though! You can do some serious damage to your computer by blindly following its advice. Read the forums.
    3) How full is your hard drive? If the C: drive is full enough, fragmentation can dramatically mess up performance in a very short time. Clean and defrag. I personally find it worthwhile to use SmartDefrag, a much more powerful defragger than the one that's built into Windows.
    4) Read your logs. Yes, Windows actually logs stuff! Go to "Control Panel-->Administrative Tools-->Computer Management" and then dig through "System Tools-->Event Viewer" TONS of useful information about what's not healthy on your system, including complete boot logs.

    Good luck.

    --

    "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  62. where to begin... by Deathlizard · · Score: 2, Interesting

    First: Get this. If you got a rootkit, this should find it. unless it's something zero day. If it finds stuff, then reboot back into windows and run something like Malwarebytes Anti Malware or Spybot Search and Destroy for a few days (a week or two with Spybot. They only update on Wednesdays) to get it completely cleaned out. Windows Defender also works good here and adds realtime scannning to the mix.

    Second: Like someone above posted, Check for Drives Running PIO in Device Manager. If you find any, run the resetDMA Script someone above posted. ALso Check your BIOS for changed settings. Dying CMOS batteries can cause a lot of havok with DMA settings depening on the BIOS defaults.

    Third: Test Hardware. Contrary to Popular belief here, Windows NT Kernel Failures, *Especially Blue Screens* Are usually caused by either a Hardware failure or a Driver failure. If it's been running great and then BAM, check hardware first. The Ultimate Boot CD has all the tests you need. Test for RAM errors and test your Hard drive using the Drive Specific diagnostic program.

    Forth: if all else fails after this, backtrack. If you installed something recently, and the machine started acting weird afterwards. uninstall it and see what happens. System restore (if it actually works) also comes in handy.

    Finally, a Tip. Stay The Hell away from "optimizing" software. Just about every Registry optimizer I've ever seen screws up more then it's worth. Speed boosters tend to slow things down in the long run or lock windows, and any disk optimizer basically does nothing different than defrag C:. Even Microsoft's Registry and cleaning offerings on their onecare site has screwed me over in some cases, and if they can't optimize their own OS... Just say no to them.

  63. Upgrade Windows to help Microsoft by cupcakewalk · · Score: 2, Interesting

    Am I the only one that thinks that slow downs are built in to Windows? Run it for a while then get strange, unexplained, noticeable slow down. Millions of customers say, "When was the last time I formatted my HD and reinstalled Windows? Boy. That was a lot of work (or cost a lot of money). Maybe I should get the new version (98, ME, XP, Vista, 7, etc...) If I'm going to do that, I should just get a new system." With a sales strategy built into the software, everyone who stands to make a profit wins...unless customers get stubborn and find the problem. I have not read all the comments, but past the basic diagnostics, I look for something that's caught in a loop, usually trying to install. msconfig can sometimes reveal it. HP software? Uninstall and reinstall. Or just uninstall and throw the printer off a bridge.

    --
    -J
  64. Processor power throttling? by SteWhite · · Score: 2, Interesting

    I scanned through the comments and didn't see this mentioned yet, so...

    Check if the processor speed is being throttled. I once saw a laptop that seems to have the symptoms you described - everything going slow, processes taking lots of CPU time.

    It turned out something was wrong with the power management and it was keeping the CPU at the minimum speed permanently. Setting the power profile to "Always On" fixed it for a while, but then it started again, so I disabled the processor power management features in the BIOS.

    The post didn't mention if this is a laptop or desktop, but even modern desktop CPUs have lots of power states. Worth a look.

  65. Slow machine? Check DNS problems by slashbart · · Score: 2, Insightful

    For the last 8 years I've pretty much only used Linux, and my experience has been that whenever the machine suddenly becomes consistently slow (not just a few seconds because of updatedb), it's a DNS issue. Maybe you have a primary DNS that times out and then fails over to a second one or so.
    That's my rule of thumb, and it has served me well.

    Probably the same on Windows.

    Bart

  66. Reinstall by Dracophile · · Score: 2, Insightful

    Tweak and take an image. As soon as it starts to suck, and assuming you take backups you know about, resume the image and restore. NEXT!

    --
    Athy, athier, athiest.