Defragging pagefile.sys in XP
#1 OFFLINE
Posted 09 June 2009 - 11:21 PM
Following the advice of a website, I tried to defrag a part of her hard drive partitioned for pagefile.sys but found that Defraggler ineffective in defragmenting this type of file. After the defragging session, I found new files (probably created by Windows) entitled "$LogFile" and "$MFTMirr". I know that these files are quite puny, but is there a way of deleting these?
Also, is there some tool out there that can defragment pagefile.sys?
Thank you for your time.
Take care,
RedStarYellowSun
#2 OFFLINE
Posted 10 June 2009 - 07:30 AM
On my spouse's laptop I used Pagedfrg from Microsoft, this defrags page, hiber and registry files on startup. It took a long time sitting there (over an hour, I think) but did the job fine. You'll have to search M/S pages or Google to find it as I don't know the link.
In fact pagedfrg is a shining example to code writers, peanuts small download, no-frills, just does its stuff.
#3 OFFLINE
Posted 10 June 2009 - 07:37 AM
http://technet.microsoft.com/en-us/sysinte...s/bb897426.aspx
only 70kb download
http://www.piriform.com/docs
#4 OFFLINE
Posted 10 June 2009 - 08:23 AM
#5 OFFLINE
Posted 10 June 2009 - 03:51 PM
There is another method, though it requires two reboots instead of one.
Go into "Virtual Memory Settings" in "Advanced" in "Properties of My Computer".
Opt for no pagefile at all, then reboot and opt for a fixed pagefile (I recommend 1.5xRAM).
That will need another reboot. Unless your remaining space was fragmented, your new one should be in one piece.
If not, run defraggler during the no-pagefile session.
#6 OFFLINE
Posted 13 June 2009 - 10:28 PM
Augeas, on Jun 10 2009, 02:30 AM, said:
On my spouse's laptop I used Pagedfrg from Microsoft, this defrags page, hiber and registry files on startup. It took a long time sitting there (over an hour, I think) but did the job fine. You'll have to search M/S pages or Google to find it as I don't know the link.
In fact pagedfrg is a shining example to code writers, peanuts small download, no-frills, just does its stuff.
Thanks for the info. I learned something new.
But concerning Microsoft's Pagedfrg: Something seems odd with my pagefile.sys . I have set Pagedfrg to run during e evry start up. So, when the computer starts up, It reports that the pagefile.sys is in 1 (while, unified) fragment. But after start up, both Windows Defragmenter and Piriform Defraggler report that it is in 2 fragments and the and the $LogFile and $MFTMirr are in between each fragment.
What can I do?
MikeYates, on Jun 10 2009, 10:51 AM, said:
There is another method, though it requires two reboots instead of one.
Go into "Virtual Memory Settings" in "Advanced" in "Properties of My Computer".
Opt for no pagefile at all, then reboot and opt for a fixed pagefile (I recommend 1.5xRAM).
That will need another reboot. Unless your remaining space was fragmented, your new one should be in one piece.
If not, run defraggler during the no-pagefile session.
$LogFile and $MFTMirr are in the way, so they're still 2 fragments.
I shouldn't have defragged the partition.
To both: Thanks for your time.
Take care,
RedStarYellowSun
#7 OFFLINE
Posted 15 June 2009 - 09:39 AM
RedStarYellowSun, on Jun 13 2009, 10:28 PM, said:
$LogFile and $MFTMirr are in the way, so they're still 2 fragments.
I shouldn't have defragged the partition.
Yes, you should.
A fragmented pagefile is not too bad - it only gets used it little bits anyway.
Did you try creating a fresh pagefile? Defragging without one?
What about an off-line (not the system disc) defrag?
Defraggler DOES move $files if it can.
Either put your HDD in another PC as second drive (or in a USB "caddy")
or build a UBCD and run defraggler from that separate CD-booted system.
#8 OFFLINE
Posted 16 June 2009 - 02:41 AM
MikeYates, on Jun 15 2009, 04:39 AM, said:
A fragmented pagefile is not too bad - it only gets used it little bits anyway.
Did you try creating a fresh pagefile? Defragging without one?
What about an off-line (not the system disc) defrag?
Defraggler DOES move $files if it can.
Either put your HDD in another PC as second drive (or in a USB "caddy")
or build a UBCD and run defraggler from that separate CD-booted system.
I tried creating a fresh pagefile and defragging without one. Unfortunately, it only moved one square.
Your other suggestions, I do not know if I can do that. I only have one hard drive and the partition especially made for pagefile is in that same 1 hard drive.
Thanks for your time.
Take care,
RedStarYellowSun
#9 OFFLINE
Posted 16 June 2009 - 02:10 PM
RedStarYellowSun, on Jun 16 2009, 02:41 AM, said:
Well, I didn't think it was any use making a special partition for the pagefile in Windoze - you've just confirmed that.
If you had two drives, it IS worth putting the pagefile on the other one BUT windows complains that it can't do error-dumps then.
An off-line defrag is by far the most efficient. UBCD comes with (I think) 4 defraggers. Still best to run the latest defraggler from your hard-drive when booted on the CD, though.
Pagefiles and Hiberfiles can easily be moved when booted into a CD-Linux system (e.g. Knoppix, Slax, Ubuntu-Live) too, provided they have the new reliable NTFS-3G drivers. I rather think you can move all the $files too, but I'm not sure now.
#10 OFFLINE
Posted 16 June 2009 - 09:52 PM
#11 OFFLINE
Posted 23 June 2009 - 07:09 PM
#12 OFFLINE
Posted 28 June 2009 - 11:39 PM
AXE, on Jun 23 2009, 02:09 PM, said:
Thanks for the advice.
Unfortunately, I have already used the Windows standard defragmentor.
Thanks for your time, though.
Take care,
RedStarYellowSun












