Jump to content
CCleaner Community Forums
RedStarYellowSun

Defragging pagefile.sys in XP

Recommended Posts

I was trying to help my mom with her Windows XP computer problems when I came into this problem.

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

Share this post


Link to post
Share on other sites

The $ files are NTFS meta files and should not be touched under any circumstances, especially the MFT Mirror, which is fixed in the centre of the drive (and is also very small).

 

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.

Share this post


Link to post
Share on other sites

I just tried PageDefrag and it doesn't do Vista - unchanged since Nov 06.

 

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.

Share this post


Link to post
Share on other sites
The $ files are NTFS meta files and should not be touched under any circumstances, especially the MFT Mirror, which is fixed in the centre of the drive (and is also very small).

 

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?

 

I just tried PageDefrag and it doesn't do Vista - unchanged since Nov 06.

 

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.

Darn...

$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

Share this post


Link to post
Share on other sites
Darn...

$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.

Share this post


Link to post
Share on other sites
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.

 

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

Share this post


Link to post
Share on other sites
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.

 

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.

Share this post


Link to post
Share on other sites

Coming in late on this. But Diskeeper09 handles the Paging file in their boot time mode. Even the freebie version. That being said, Paging File doesn't get fragmented too often.

Share this post


Link to post
Share on other sites

Hello say you have xp have you gone to system tools and defraged from there. Just a though you likely tried this but just incase. It is also called the same thing for say vista in the same place. :)

Share this post


Link to post
Share on other sites
Hello say you have xp have you gone to system tools and defraged from there. Just a though you likely tried this but just incase. It is also called the same thing for say vista in the same place. :)

 

Thanks for the advice.

Unfortunately, I have already used the Windows standard defragmentor.

 

Thanks for your time, though.

 

Take care,

RedStarYellowSun

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...