Recently my computer has been acting strange when it sits idle for about 2 hrs or so. When I return my mouse moves very slow as if my framerate is low and my keyboard will not respond. I'm pretty much stumped as to what the problem could be. Thanks in advance for the help.
The problem still happens, I've updated all my windows updates and my video card drivers. I can still move the mouse around but everything stops responding including my keyboard. If I unplug my mouse and plug it back it back it will then freeze up. If I unplug my keyboard and plug it back in then it will work but it will not do anything.
It took ages to solve idle issue, but finally cracked it for my XP.
for my issue:
Windows XP very slow after idle appears to be issue with pagefile system cache (PF Usage) taking up exessive I/O activity on the disk (writing to harddrives) due to highly fragmented pagefile.sys file. Hence no real CPU usage showing, and changing PF Usage levels may not have much effect as it is not the size of PF, it is the fragmentation of the PF (normal defragment tools do not touch this file).
There is no more slowdown after I did a defragment of pagefile.sys with a tool that can actually access it (PageDefrag v2.32 By Mark Russinovich). An even simpler solution may be to set computer to clear pagefile on shutdown (I didn’t try this but probably works too - see below).
The high I/O was not from a rogue program or virus. It was slow buildup in pagefile.sys file fragmentation, the disk area storing current virtual memory blocks. My pagefile.sys had something like 264,000 fragments. Virtual memory is stored in 4KB blocks, but the fragmented block pattern was taking up excessive I/O for the drive to read after computer had been in idle.
During idle lots of application data is sent to pagefile rather than kept in RAM. Then when you start using applications again the computer is getting it back out of pagefile.sys: but if the pagefile.sys is highly fragmented then it can be painfully slow disk read speed. i.e. I sit there with almost nothing happening for 30 seconds, or watching webpages load almost one pixel line at a time.
I defragmented pagefile.sys, but maybe it is simpler to clear the file, something like:
Click Start >
Click Control Panel >
Click Administrative Tools >
Click Local Security Policy >
Click the "+" next to Local Policies >
Click Security Options >
Doubleclick "Shutdown: Clear Virtual Memory
Start Registry Editor (Regedt32.exe). >
Change the data value of the ClearPageFileAtShutdown value in the following registry key to a value of 1: >