Here’s a conundrum:
When opening Task Manager and viewing the paging stats for the kernel, I always thought the numbers related to the amount of virtual paged RAM used in the pagefile.sys file.
This afternoon I was asked to defrag an slow old XP-based machine. To do this on a heavily fragmented machine, I always run a cleanup first. This usually includes removal of System Restore points and removal of the pagefile by setting the amount of disk space reserved for paging operations to zero. Don’t worry, an image is always taken first – this question is is not about risk management.
Fine and dandy. But, for the first time, something caught my eye which defies my assumption in the first paragraph above. On this machine, Task Manager reports that the kernel is being paged. It can’t be to the pagefile.sys {that doesn’t exsit}. So, now it has got me wondering: what, exactly, do those numbers in Task Manager refer to?
See attached image:
Here you can see the defrag running in the background. To the right you can see I have set zero size for pagefile and I manually confirmed that pagefile.sys was removed. Task Manager on the left shows the kernel being paged. Now, I thought understood the concept of paging, so does this mean that the kernel is in a RAM page, but not loaded into pagefile.sys? There must be a disconnect in my understanding.