Defragment pagefile WinXP

bluenite38

Member
Apr 20, 2011
59
4
71
It can defragment the file system cache (xp virtual memory) to be placed at the beginning of the disk for faster access? Which program can do it?
Thanks for the tip and any advice
Peter
 

Ketchup

Elite Member
Sep 1, 2002
14,559
248
106
That is a myth IMO. The page file does not to be defragmented. Are they still putting those things out there? I remember seeing those back in 95.
 

Netopia

Diamond Member
Oct 9, 1999
4,793
4
81
He wasn't asking about defragging the the paging file, he was asking about moving it to the outer tracks of a disk.

If you have adequate memory, there's little to be gained from doing anything with the page file.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
Placing the PageFIle at the faster part of the drive will not likely cause any observable improvement. In fact, since the PageFile is rarely used, it would deprive something else of that location.

The PageFile reaslly doesn't need to be defragged. You can set XP to create a new one on every reboot. In most systems, the PageFile can only be defragged off line.
 

Matt1970

Lifer
Mar 19, 2007
12,320
3
0
You are better off just setting up a USB Flash drive for virtual memory. But even that won't help that much.
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
and the answer is: SSD.
Bingo. Random HDD access is slow. The two best solutions to a page file problem are a faster disk, or more RAM. Second to that, in the case of XP, moving to a newer OS will help, too (Windows 7 or 8 will be less disk-intensive in general).

That said, yes, you can defrag it, after a fashion.
1. Remove it.
2. Reboot.
3. Create a new one, this time fixed-size.
4. Reboot.

However, it will still be accessed randomly, in small chunks, so...
 

Gintaras

Golden Member
Dec 28, 2000
1,892
1
71
Placing the PageFIle at the faster part of the drive will not likely cause any observable improvement. In fact, since the PageFile is rarely used, it would deprive something else of that location.

The PageFile reaslly doesn't need to be defragged. You can set XP to create a new one on every reboot. In most systems, the PageFile can only be defragged off line.

Faster Part of HDD? which part is Faster Part?
Let's say on HDD 7200 or 5400 rpm?

Page File is rarely used? Bigger problem is when human brain is rarely used to make such statements....
HDD and Page Filer is OK in that case...

Says who? "Intel Inside and ...........?
 
Last edited:

Ketchup

Elite Member
Sep 1, 2002
14,559
248
106
Faster Part of HDD? which part is Faster Part?
Let's say on HDD 7200 or 5400 rpm?

Page File is rarely used? Bigger problem is when human brain is rarely used to make such statements....
HDD and Page Filer is OK in that case...

Says who? "Intel Inside and ...........?

The inner part of the hard drive is faster, as the clusters are closer together. Generally, the page file will be on the inner part of the drive by default, as it is there from the moment you install Windows. The only reason it would move is if you (or Windows) needs to change its size.
 

mikeymikec

Lifer
May 19, 2011
20,375
15,059
136
Microsoft offers a free tool to do what you want.

Go to this Microsoft site
http://technet.microsoft.com/en-us/sysinternals/default.aspx

and find this free download:
PageDefrag

I've used that one before, it does what it says on the tin. More direct link:

http://technet.microsoft.com/en-us/sysinternals/bb897426

A trick I used to employ was to set no pagefile, defrag the file system, then set the page file size. Normally the result would be an unfragmented pagefile.