Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Optimize pagefile

Reply
Thread Tools Display Modes

Optimize pagefile

 
 
rj
Guest
Posts: n/a

 
      07-21-2010
I have 3GB memory and just one hard drive. Why is it not okay to put the
pagefile on a separate partition on the same hard drive? Is there a
noticeable difference in performance, speed or stability if I put the
pagefile on the same drive as the OS? Also, what is the optimal size? Should
minimum and maximum be same size?


 
Reply With Quote
 
 
 
 
Tim Slattery
Guest
Posts: n/a

 
      07-21-2010
"rj" <> wrote:

>I have 3GB memory and just one hard drive. Why is it not okay to put the
>pagefile on a separate partition on the same hard drive? Is there a
>noticeable difference in performance, speed or stability if I put the
>pagefile on the same drive as the OS? Also, what is the optimal size? Should
>minimum and maximum be same size?


IMHO, putting the paging file on a separate partition is not
necessary. And definitely let the OS manage its size.

--
Tim Slattery

http://members.cox.net/slatteryt
 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a

 
      07-21-2010
On Wed, 21 Jul 2010 11:45:03 -0400, "rj" <>
wrote:

> I have 3GB memory and just one hard drive. Why is it not okay to put the
> pagefile on a separate partition on the same hard drive?



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

How much it hurts your performance depends on how much you use your
page file; with 3GB of RAM, you probably don't use it a lot, so the
penalty for doing this would be small. But doing it can never improve
your performance.

Also, the other problem with a separate partition like this is that
you run the risk of making the partition 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.



> Is there a
> noticeable difference in performance, speed or stability if I put the
> pagefile on the same drive as the OS?



If you have a single physical drive, you should always have it on the
same partition as \windows. If you have more than one physical drive,
then having it on a second drive can help, because that decreases head
movement to and from it. A good rule of thumb is to put it on the
most-used partition of the least-used physical drive. For almost
everyone with a single drive, that's C:.




> Also, what is the optimal size?



Let Windows take care of it


> Should minimum and maximum be same size?



No. Again, it's best to let Windows take of it itself. But if you want
to set its size, make the minimum small and the maximum as large as
possible.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
 
Reply With Quote
 
Bruce Chambers
Guest
Posts: n/a

 
      07-22-2010
rj wrote:
> I have 3GB memory and just one hard drive. Why is it not okay to put the
> pagefile on a separate partition on the same hard drive? Is there a
> noticeable difference in performance, speed....



There is a performance hit, caused by the increased travel times of the
hard drive's read heads. Whether it's noticeable or not depends largely
upon what you're doing at any given time, and how observant you are.


..... or stability ....


No, no problems here for the OS, can't speak for the affects upon any
specialized applications that might be "hard-coded" to make extensive
use of the page file.


> ....if I put the
> pagefile on the same drive as the OS?



Optimally, the page file *should* be on the same hard drive as the OS,
and in the same partition.


>Also, what is the optimal size?



Let Windows manage it.


> Should
> minimum and maximum be same size?
>
>



No.



--

Bruce Chambers

Help us help you:
http://www.catb.org/~esr/faqs/smart-questions.html

http://support.microsoft.com/default.aspx/kb/555375

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
 
Reply With Quote
 
Bill Leary
Guest
Posts: n/a

 
      07-22-2010
"Ken Blake, MVP" <> wrote in message
news:...
> If you have more than one physical drive, then having it on a second
> drive can help, because that decreases head movement to and from it.


I'd never considered moving the page file before, but I've recently made
some changes and I now have two HDs, but one is used only for backups so
most of the time it's not being used at all. What kind of improvement might
I expect moving the page file to that drive? I know that "it depends," but
is there some way to make a guess at it?

I've got 2G of RAM.

- Bill

 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a

 
      07-22-2010
On Wed, 21 Jul 2010 22:20:57 -0400, "Bill Leary" <>
wrote:

> "Ken Blake, MVP" <> wrote in message
> news:...
> > If you have more than one physical drive, then having it on a second
> > drive can help, because that decreases head movement to and from it.

>
> I'd never considered moving the page file before, but I've recently made
> some changes and I now have two HDs, but one is used only for backups so
> most of the time it's not being used at all. What kind of improvement might
> I expect moving the page file to that drive? I know that "it depends," but
> is there some way to make a guess at it?
>
> I've got 2G of RAM.



Two points regarding your question:

1. I would *not* put the page file on a backup drive.

2. Go to http://billsway.com/notes%5Fpublic/winxp%5Ftweaks/ and
download WinXP-2K_Pagefile.zip and monitor your page file usage. If
page file use is small, moving it won't help you.

One additional point: if you are backing up to a second internal
drive, you are playing with fire. I don't recommend backup to a second
non-removable hard drive because it leaves you susceptible to
simultaneous loss of the original and backup to many of the most
common dangers: severe power glitches, nearby lightning strikes, virus
attacks, even theft of the computer.

In my view, secure backup needs to be on removable media, and not kept
in the computer. For really secure backup (needed, for example, if the
life of your business depends on your data) you should have multiple
generations of backup, and at least one of those generations should be
stored off-site.

You might want to read this article on backup I've written: "Back Up
Your Computer Regularly and Reliably" at
http://www.computorcompanion.com/LPMArticle.asp?ID=314


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
memory & pagefile question - follow up KRK Windows Vista General Discussion 3 02-13-2010 11:02 AM
RE: Pagefile on virtual disk AMV Windows Vista Drivers 2 12-10-2009 09:59 PM
Unable to set custom pagefile over 4096MB jersey07 Windows Vista Performance 5 01-13-2008 11:15 AM
what's a good pagefile size scrooge Windows Vista Performance 5 08-25-2007 07:35 PM
Pagefile plus Indexing ? pippin Windows Vista Performance 2 07-19-2006 01:54 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59