I am having a small squabble at work with our admin regarding a colleague's laptop. The laptop is bordering on unusable. The admin tidied up some temp directories and defragged the HDD a few months back and that bought the laptop some time but things are back to normal (sloooow) service now.
Right from the start I pointed out that the laptop is several years old and on its' original Windows build (plus updates) and it would be advisable to back up the data and rebuild it from the recovery image.
My reasoning is based on an observation (backed up by others) that Windows degrades over time. I cite clutter in the system folder, the registry and temp directories as factors. Additionally this laptop has had a lot of software added and removed over that time.
Couple of specs, though my question is a bit broader than the specific machine:
- IBM Stinkpad R52 (I think)
- XP SP(2|3)
- 1 GB RAM
The thrust of my question is:
- can anyone confirm or refute the idea that Windows degrades over time ?
- if confirming, what factors contribute to the degradation ?
I'm writing this on a 3.5 years since install laptop, and to be brutally honest there is no slowdown. But I did blow away all of the manufacturer's junk and do a fresh Windows install, and I do exercise care in allowing (or not allowing) programs to add in their own shell extensions, services, auto-loaders and auto-updaters. It's by no means pristine though; it has been subject to quite a bit of "install programs/uninstall programs" abuse over the years, but there has really been no detrimental effect.
I think the whole "registry bloat slows your PC down" thing is largely a myth and possibly derived from the Windows 9x days or stoked by unscrupulous vendors selling registry "optimization" tools. The registry is a hierarchical database (http://support.microsoft.com/kb/256986), so performance impacts from a larger registry should be absolutely minimal as navigating to any given registry key is just a sequence of parent to child jumps.
There is often a huge amount of data added to the registry to support technologies like COM that a large amount of software uses. Often these "shared" components and their corresponding registry entries are never removed, even if the software is uninstalled. In some cases these registry entries must be scanned, and so the more there are, the longer these operations take. However, I do not recommend any of the "registry cleaner" gimmicks, as that is more likely to make the problem worse and add instability to a system. Oh, almost forgot to mention. It is fairly common for registry entries to become corrupt beyond repair, which can cause performance problems as generally attempts to read these entries will only fail after a few moments. Kind of like someone trying to open a locked door a few times before they give up and move on to the next door.
There are also things like broken shortcuts on the desktop that will cause the system to become sluggish(I don't remember if it was this exactly, maybe it was the C root, but it was something equally as strange for which there was a KB article that I can no longer find).
Poor quality Anti Virus software can be a cause of sluggish performance. Often these products hook into windows operations to support their "realtime protection" features. For example, everytime you open a file, the Anti Virus software interrupts the process so that it can scan the file, before allowing it to be opened. This essentially results in the file being read twice, once by the AV software, and once by the actual program trying to open the file. Any harddrive issues you have, fragmentation, etc. will be compounded. I can't really give any advice however, on what AV software is the fastest. I personally prefer AVG.
Laptops often come preinstalled with bloatware that runs in the background. I prefer to wipe them and install WinXP directly from an OEM disk, instead of using the Laptop's brand name restore disk, so that I get the bare minimum OS. Then I load drivers as needed.
I think wiping it is a good idea. The user should get used to saving their data off the laptop anyhow. If it is important data, it shouldn't be stored on the laptop.
Windows doesn't slow down unless there's something going on. As much as I am annoyed by Windows, it doesn't rot like fruit.
Windows slows down because:
Is the network properly configured? If your switches are flooded and having trouble that can hurt the machine's network performance.
Also adding antivirus and other protection programs adds a layer of slowness. I mean, that's kind of a given, that if you're using a computer with a program that pre-scans all disk access to see if it's nefarious in purpose it's going to slow down performance a bit.
you can run tools like those from Sysinternals to check certain aspects of performance...like what's hammering the registry, what's accessing the drive too much, etc. (procmon, process explorer, filemon, regmon...)
Fragmented disks can cause some slowdown but it usually has to be REALLY bad to have the user use words like WOW! to describe the difference in performance.
It's popular to blame slowdowns on crap left in the registry or system folder, but Windows doesn't randomly read those bits any more than you having leftover bills or old papers around the house slows you down. More often these random bits of crap take up drive space, contribute to fragmentation, and create stability issues than anything else.
It's a good idea to wipe and reinstall just to get rid of drive bloat, fragmentation, and leftover crap the OS doesn't need more than speeding up the computer unless you've got programs installed eating the processor, memory, and there's malware. Just using the same system as a typewriter for a year and basic web browsing/email (as long as it isn't infected with something) shouldn't affect the speed. More likely the user is just perceiving a slowdown.
If you're really curious you should probably benchmark a system then do a wipe/reinstall and re-benchmark it to see if there is a difference.
Windows does degrade to an extent - predominantly for the reasons you've mentioned in your question. Defrag and clean-up tools can help to rectify some of the issues but it can be easier to just re-build.
Many people go for an alternative option of build the PC up with all required software and then use an imaging tool to snapshot it in that state so that it's really easy to periodically take the machine back to the 'fresh' state without having to reinstall apps etc.
In my experience the bigger problem is the extra applications and services people install, bloatware from printer manufacturers being a good example - user installs a printer with the helper CD and the default option is to install any number of extra tools to monitor ink levels, provide active support etc along with the driver itself. Unless you think to do a custom install your clean machine ends up with an endless number of extra services that all startup when you boot the machine giving you slower start-up time and less resources free to run the apps you really want to use.
Take a quick look as msconfig to see all the extra rubbish that is getting fired up along with the default MS stuff.
I had this trouble of Windows 7 slowing down over time. Often when I start up it works pretty well and after some time all kinds of software hog and cloak up the memory. I tried all sorts of registry cleaners etc. and nothing seemed to help. I also bought more memory hoping it would help, but the programs seemed to eat all that up, memory always at 98% spent. I used process explorer and the thing that seemed peculiar was the amount of Virtual Memory being consumed.
I finally changed the Virtual Memory setting (default 4gb automatically set by system) to 1Gb as an attempt to squeeze out those virtual memory hoggers.
Law and behold, it did the job, my Laptop is fast as ever again!
I've had the same experiences on multiple workstations. It helps if you don't install any new programs, disable all updates of programs (flash, java, ...) but eventually if you format and reinstall everything it will run faster. That's my experience, but I don't have any data to back it up.
It sure does - Regardless of a computer's hardware specs, there is this inevitable grind. It usually appears after about a year of regular usage.
Consider why there are so many registry, temporary file cleaning tools and defragmenting tools. If Windows knew what was good for it, then you would need these tools anywhere near as much as you do.
I believe you're on the ball with pointing the finger at the registry and file system. Consider that those files are constantly read, written to all the time, over and over - I think the file system ends up getting some nasty fragmentation which results in the grind that we see.
That and there is also a lot of cruft and rubbish that accumulates in the registry - these factors combined would result in slowdowns for registry lookups.
I also think that the file system (NTFS) is somewhat inefficient. While defragmentation helps, it can be somewhat ineffective, because files can't normally be moved while they're in use (or you risk corrupting those files).
I make it a point to reformat every 12 months or so. I don't even need to remind myself - one day I just wake up and the computer is running slower than a wet week - time to reformat!
I agree with @Chris.W - too much bloatware; normally the half dozen "updaters" (e.g. for Google, Java) and "launchers" (e.g. Acrobat Reader Speed Launcher) that exist on most systems can be disabled without any harm. A good tool for this is Autoruns, from Sysinternals.
Fragmentation of the Registry and paging files is a big culprit too; PageDefrag, also from SysInternals, is excellent at fixing this.
In the older NT4 days the
rdisk.exe
tool could be used to cleanup the internal fragmentation in the registry (separate from the on-disk storage fragmentation), but I can't remember what tool does that now.My experience is tha you can reduce degradation using tools (disk defrag, cleaning temp dirs and explorer's cache, optimizing registry entries) but over long period you must reinstall
Poor performance can also be indicative of virus / botnet activity. If a machine is compromised it could be doing work for someone else which would make it appear slow/sluggish to the victim.