Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have a 120 gig drive partitioned in half. Windows xp on C and data on D. I would like to add another partition to this drive just for the page file. Any suggestions on how to do this without having to re-format my drive?

partition magic
but why would you do that? best performance you would get at the beginning of the hard disc, on partition 1.
the way i do it when i install xp, i create a small partition FIRST (3-4 GB will do, depending on your physical memory, 1.5x for min., 3x for max size of pagefile), then i divide the remaining disc space into 2 partitions. this way i have partition 1 (at the beginning of the drive) for my swapfile with max performance, partition 2 will take OS + software and partition 3 would be data storage.
Today's subliminal thought is: 'Calm down ... it's only ones and zeros.'icq 10183575

There is no real advantage to having the swap/page-file on its own partition - if on the same physical drive? If however the page/swap-file is on another separate (physical) drive drive then there is an advantage (or three...) in having a separate (swap/page-file) partition on that second (or third....) physical drive.

"There is no real advantage to having the swap/page-file on its own partition - if on the same physical drive?"
I agree, most especially on an XP based system with two Gigs of ram. Just go into your pagefile option and configure it OS managed.
You can further optimize your Pagefile by checking it for fragmentation once in a while and defrag it if necessary as well as configure it to be cleared at shut down.

ofc there is a real advantage having the swapfile at the beginning of a hard drive, wether you have 1 or 2 discs.
paging has the major share in hard disc activities, so why not forcing it to a location where the performance is best?yet another way to optimize would be:
1. clean your disc (i.e. CCleaner)
2. disable pagefile
3. reboot and defragment
4. turn on pagefile and reboot again.Today's subliminal thought is: 'Calm down ... it's only ones and zeros.'
icq 10183575

trvlr, So what your saying I should have my pagefile on one of my other hard drives? I have 3 hard drives.
Mattie, in response #1 when and if I ever get a chance to build myself another computer that will be the 1st thing I do. In response #4 I already did that before I posted as my pagefile was badly fragmented.
Sabertooth, my pagefile is os managed. Where is the option to configure it to be cleared at shut down?

Start >> Run >> type gpedit.msc & hit OK to launch the Group Policy console.
Navigate through the following:
Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> Security Options.
Scroll down to the Shutdown section and enable it.

Sorry about that, totally overlooked that XP Home factor, you have to use the registry instead.
Start >> Run >> type regedit & hit OK to launch the Registry Editor console.
Navigate through the following:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory ManagementSelect ClearPageFileAtShutdown from the list on the right pane.
Right-Click on it and select Modify & change the value to 1. (Setting Value Data to 0 = Clear Page File Disabled & 1 = Clear Page File Enabled).
Exit the Registry and Reboot.

Couple of suggestions;
make the pagefile static, not grow/contract dynamically. This is what leads to pagefile fragmentation [bad].
You do this by setting the min/max values the same.
Now this may be a surprise to you but with 2gigs ram you really don't need a page file. If this was a server I wouldn't recommend it, but I have run xp pro for extended periods of time doing everything and have experienced excellent performance.
Technically you should have a 3 [2x1.5] gig pagefile but I would bet you could set min and max at 1/2gig and you would be fine.
BTW the reason you move the pagefile for optimization is to seperate pagefile disk input/output from system OS I/O. You can't accomplish that with a single disk.
IMHO the days of file placement on the disk being optimal isn't measureable anymore. With the higher densities, spindle speeds, and especially onboard caches, it really doesn't matter where on the disk the data is.
Now back in the days with megabyte IDE it did make a difference. But everything was slow then so it was noticeable [by a little not a lot].
Give a person a fish you feed them for a day.
Ask a person to internet search and they learn a skill for a lifetime.

clearing the pagefile on shutdown will make your computer's shutdown process deadslow and the gain is questionable
Today's subliminal thought is: 'Calm down ... it's only ones and zeros.'
icq 10183575

Of all the PCs I have serviced, of all the PCs I am currently running, I never have done what you're doing (clear pagefile on shutdown). Yet all the PCs are running just great. Am I missing something?
i_XpUser

Boy did this one develop into an interesting discussion...; covered all the points I could have made following my initial offering - and more besides... Learnt a little (i.e. a lot...) too from others with more savvy in this area.. Thanks chaps!

Yes my shutdown or re-boot takes forever now. I just wanted a way to keep my pagefile from getting fragmented. I rarely shutdown my computer as I use standby most of the time so the longer shutdown doesn't bother me.

I have my pagefile on a separate physicsal drive... it works better for me this way.
I do disk images quite often (both create and restore) and the imaging goes much faster without the pagefile. Including the PF in the image is kind of a waste of time.
I will say that locating the PF on a different drive does seem to make my editing programs (liquid, studio, media studio pro) respond better.... I have no idea why.

Having the PF on a separate drive allows it to be accessed independant of the other (OS/apps) drive. "Both" drives can be accessed at the same time if needs-be - and data transfer is the faster/more efficient for it. With PF in a (separate or not) partition on the same drive as OS/apps performance is hardly if at all improved...

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |