Re: Page File Size & Location

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Wed, 9 Apr 2008 19:03:00 -0700, Jim <Jim@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

The Question: What size should I make for my page file,


For most people, it's best to leave the Windows defaults alone. You
can save some disk space by changing them, but you won't improve
performance (and might hurt it). Since the amount of disk space you
can save is worth only a few pennies in these days of very cheap hard
drives, it usually isn't worth fooling around with.



and where should the
page file be located?


Almost certainly on C:


The Background: From various web sites, it seems my page file should be 1.5
to 3.0 times the total amount of RAM. 1.5 plus 3.0 equals 4.5 and 4.5 times
20000 (MB of RAM) equals 90000MB, or 9GB for the page file. Can anyone
confirm this?


It's wrong. All recommendations based on some multiple of the amount
of RAM you have are wrong. The page file substitutes for RAM, so the
more RAM you have, the *less* page file you need. If you change
anything, you should make the starting value *smaller*, but as I said
above, it's not worth doing.


Also, the laptop only has room for one hard drive. It seems smart to put
the page file on another partition,


No, it's not. Putting the Page File on a second partition is not a
good idea, and can hurt your performance. What it does is move the
page file to a location on the hard drive distant from the other
frequently-used data on the drive. The result is that every time
Windows needs to use the page file, the time to get to it and back
from it is increased. Head movement is the slowest aspect of using the
page file.

Putting the page file on a second *physical* drive is a good idea,
since it decreases head movement, but not to a second partition on a
single drive. A good rule of thumb is that the page file should be on
the most-used partition of the least-used physical drive. For almost
everyone with a single drive, that's C:.

If you have enough RAM, the penalty for moving the page file to a
second partition may be slight, since you won't use the page file
much, but it won't help you. You said you have 2GB of RAM, which is
already more than most people running XP can make effective use of;
you probably hardly ever use the page file, so all of this is
academic, and any changes you make will have next to zero effect.

Also, the other problem with a separate partition like this is that
you run the risk of making it too small, in which case programs will
fail for lack of virtual memory, or too large, which is wasteful of
disk space. If you leave it on C:, it can expand or contract as
needed.




but is this safe to do, or will doing
that slow down the computer?


Yes, it will slow it down. See above.

For more information on this, read this excellent article by the late
MVP, Alex Nichol: "Virtual Memory in Windows XP" at
http://aumha.org/win5/a/xpvm.htm



If I do put the page file on a separate
partition, can partitions 9GB in size be created? (I'm probably going to be
using FDISK.)

Thanks!

Jim

--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup
.



Relevant Pages

  • Re: Windows hogging up space
    ... - bad news - doesn't work that way with Windows XP. ... Drives are cheap. ... Is hibernate turned on and do you use that feature? ... You mean to change the size of the C partition? ...
    (microsoft.public.windowsxp.help_and_support)
  • RE: dd for windows and imaging a 40Gb drive
    ... dd for windows and imaging a 40Gb drive ... Imaging a disk to another disk: just be sure the target is empty -- dd ... Imaging a partition to another partition, ... to drives and partitions. ...
    (Security-Basics)
  • Re: Windows wont boot if any partition extends past 120 GB on 250 GB drive
    ... Neither would be able to change anything on the partition. ... "Creation of bootable restore media to restore to drives that can't be restored to from witin Windows" ... will dot pittenger1 at gmail dot com (use this address for large ...
    (microsoft.public.windowsxp.general)
  • Re: NTLDR File is missing Msg upon Windows startup
    ... The option to format with FAT and FAT32 are there. ... use Windows 98 SE Startup Diskette and also BootIt NG program from a Floppy ... It also has the ability to create Partition Images. ... Both Hard Drives, do not need to be partitioned the same, unless you ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Loaded SP2 now Im in a boot loop...Things to try.
    ... and missed that it would load XP on the highlighted partition. ... had windows install the driver off of the creative ... Windows only cares about windows getting on my drive.. ... then I will swap the drives.. ...
    (microsoft.public.windowsxp.general)