Highlight

2013-01-09

Repairing slow systems

Recently my old PC became very slow at everything. I looked at the problem areas:

#1. CPU usage

Single-core machines being hogged by rude/buggy software is why i switched to a quadcore i5 for my main machine. CPU usage can be viewed and managed via your Task Manager, accessible on Windows via Ctrl+Alt+Del, Start Task Manager. If you don't want to end a rude process, you can try to lower its priority via the context menu.

If the CPU is automatically underclocked, perhaps dust is blocking airflow that's needed to run at full speed. When cleaning the inside of your PC, always shut off its power and stay grounded by touching the bare metal case to avoid static discharge frying your bits.

#2. RAM usage

When the temporary memory of a PC fills up, operating systems tend to use virtual memory on the hard drive, but the hard drive is orders of magnitude slower than RAM, even an SSD. Besides, writing to an SSD still shortens its lifespan more than writing to magnetic disk. Increase RAM (note the type and size your motherboard supports, and that it will match the slowest chips installed) or decrease program consumption. Note that 32-bit Windows only supports up to 4 GB of RAM and will leave the rest unused.

#3. Storage space

Many programs cache slow data to the hard disk, but when space runs out (Windows warns about this), that becomes impossible, also affecting the virtual memory. Use CCleaner and SpaceSniffer to free up space and consider external drives for archiving. If you're ambitious, perhaps you want to try moving the entire OS to a bigger/faster disk using a boot media with disk imaging/cloning tool.

#4. Storage integrity

Environmental effects like temperature, moisture, and cosmic rays, can corrupt stored data. Modern systems can correct for this, but i've found that can produce terrible lag. Schedule regular (monthly should do) surface sector relocation scans. Ubuntu does this out of the box on startup, but Windows needs a scheduled task that runs a batch file containing
@echo off
echo y|chkdsk c: /r
shutdown -r
as admin. The reboot is required because C: is probably in use.

I solved my old Windows XP system's lag by manually scheduling a sector repair via the C: partition's properties' extra's scan tool in Explorer.

S.M.A.R.T. monitoring tools like SpeedFan and HD Tune can indicate problems with your hard drive.

On a side note: Unlike many tutorials showing only easy Dell installs, i noticed that the Medion MD8818's hard disk drive is fastened by two short screws through the bottom of the tower.

#5. Storage order

Modern (file)systems are less affected by heavy read/write activity, but defragmentation every once in a while can help, except on an SSD (see also #2) as those have neglible seek/read times.

#6. Software updates

Newer software can have bugfixes and improved efficiency. Use your component manufacturer's website (like AMD or NVIDIA for drivers) and/or reputable tool such as FileHippo.com Update Checker (might not check drivers) and Microsoft Update (doesn't check 3rd party software).

#7. Software alternatives

AlternativeTo lists alternatives to many bloated/slow software packages.