page file partition

July 12, 2006 at 13:30:20
Specs: XP Home, 3.2 ghz / 2 gig ram

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?

See More: page file partition

Report •


#1
July 12, 2006 at 14:50:43

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


Report •

#2
July 12, 2006 at 15:15:51

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.

Report •

#3
July 12, 2006 at 15:36:28

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

Computer Components


Report •

Related Solutions

#4
July 12, 2006 at 15:41:55

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


Report •

#5
July 12, 2006 at 17:28:57

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?


Report •

#6
July 12, 2006 at 18:00:50

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.


Computer Components


Report •

#7
July 12, 2006 at 18:11:34

Is that for xp pro? I don't have a group policy console.

Report •

#8
July 12, 2006 at 18:35:24

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 Management

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


Computer Components


Report •

#9
July 12, 2006 at 19:24:47

Thanks Sabertooth

Report •

#10
July 12, 2006 at 22:42:33

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.


Report •

#11
July 13, 2006 at 05:47:10

Thanks wanderer for the info. I went ahead and set my pagefile to my 2nd hard drive.

Report •

#12
July 13, 2006 at 08:22:47

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


Report •

#13
July 13, 2006 at 09:05:07

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


Report •

#14
July 13, 2006 at 11:45:16

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!

Report •

#15
July 13, 2006 at 16:37:51

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.

Report •

#16
July 13, 2006 at 16:38:43

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.


Report •

#17
July 14, 2006 at 13:20:38

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

Report •


Ask Question