A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Question about virtual memory setting and how much to use



 
 
Thread Tools Display Modes
  #1  
Old January 29th 05, 03:28 PM
Leeharveyoswald
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

Hello there, I have read off of Sandra2005 that virtual memory should be set
for 2.5 times the amount of memory you have. Now, i read a question off of
Microsoft's quiz and they asked about the performance and what is optimal if
you have more than one drive. I have 3 hardrives and i have each set at
2.5times teh amount of ram i have, which is 3072 because i have 2gb of
physical ram. Now, each should have it right? I do not have xp 32bit
installed on my 36gb raptor, so should i disable paging file on that drive?
And then only have virtual memory on my ide which has my x64 on it and my
74gb raptor which has the 32bit xp on it? Thanks in advance

3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218


Ads
  #2  
Old January 29th 05, 03:42 PM
R. McCarty
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

Virtual memory is best explained by Alex Nichol's article.
http://www.aumha.org/win5/a/xpvm.htm

It's a contentious issue & there aren't hard and fast rules that
apply in every situation, configuration or program usage.

Let the point-and-counterpoint postings begin.....

"Leeharveyoswald" wrote in message
...
Hello there, I have read off of Sandra2005 that virtual memory should be
set for 2.5 times the amount of memory you have. Now, i read a question
off of Microsoft's quiz and they asked about the performance and what is
optimal if you have more than one drive. I have 3 hardrives and i have
each set at 2.5times teh amount of ram i have, which is 3072 because i
have 2gb of physical ram. Now, each should have it right? I do not have
xp 32bit installed on my 36gb raptor, so should i disable paging file on
that drive? And then only have virtual memory on my ide which has my x64
on it and my 74gb raptor which has the 32bit xp on it? Thanks in advance

3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218



  #3  
Old January 29th 05, 03:44 PM
Ken Blake
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

In ,
Leeharveyoswald typed:

Hello there, I have read off of Sandra2005 that virtual memory
should
be set for 2.5 times the amount of memory you have.



Very poor advice. The page file is used when you don't have
enough memory for what the apps you're running require. The more
RAM you have, the less page file you need.


Now, i read a
question off of Microsoft's quiz and they asked about the
performance
and what is optimal if you have more than one drive. I have 3
hardrives and i have each set at 2.5times teh amount of ram i
have, which is 3072 because i have 2gb of
physical ram. Now, each should have it right?



No, wrong. Having 3072MB of page page on just *one* drive is
almost certainly *way* more than you need. Having 9216MB is
absurd, and just a waste of disk space.

How many drives you have is completely irrelevant. How much page
file you need depends on what apps you run, but with as much as
2GB of RAM, you almost certainly need none at all, unless your
workload is very unusual.

You shouldn't eliminate the page file at all, but a starting
value of 100MB or so should be more than enough. Keep the maximum
size high, because there's no disadvantage in doing so.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup




I do not have xp 32bit
installed on my 36gb raptor, so should i disable paging file on
that
drive? And then only have virtual memory on my ide which has my
x64
on it and my 74gb raptor which has the 32bit xp on it? Thanks
in
advance
3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218



  #4  
Old January 29th 05, 03:47 PM
Harry Ohrn
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

Just let the operating system manage your virtual memory.

--

Harry Ohrn MS-MVP [Shell/User]
www.webtree.ca/windowsxp


"Leeharveyoswald" wrote in message
...
Hello there, I have read off of Sandra2005 that virtual memory should be
set for 2.5 times the amount of memory you have. Now, i read a question
off of Microsoft's quiz and they asked about the performance and what is
optimal if you have more than one drive. I have 3 hardrives and i have
each set at 2.5times teh amount of ram i have, which is 3072 because i
have 2gb of physical ram. Now, each should have it right? I do not have
xp 32bit installed on my 36gb raptor, so should i disable paging file on
that drive? And then only have virtual memory on my ide which has my x64
on it and my 74gb raptor which has the 32bit xp on it? Thanks in advance

3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218



  #5  
Old January 29th 05, 04:09 PM
perris
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use


Ken Blake Wrote:
The page file is used when you don't have
enough memory for what the apps you're running require. The more
RAM you have, the less page file you need.


the pagefile is a place to image modified pages because there is no
image for the memory manager to back the info..when a page is modified,
it's marked as dirty, and the area for dirty pages is the pagefile

the pagefile is not there for "when you don't have enough memory to run
the programs you have"

NOBODY has enough ram to run the programs they have.

sophisticated programs are written with the "90/10" rule...they spend
90% of the time accessing 10% of there code.

the more ram you have in use, the bigger the image area needs to be for
those pages so they can be part of the memory management strategy...the
more ram in use, the bigger the pagefile needs to be.


--
perris
------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477

  #6  
Old January 29th 05, 04:10 PM
Uncle John
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

Hi Ken,

There is a very good guide on this link on Adrian Wong's forum:

http://www.rojakpot.com/default.aspx...ar1=143&var2=0

However SP2 has introduced some new considerations and my advice is

1 If you have got Norton (or Symantec) Antivirus 2004/2005 installed and
SP2, Windows is probably ignoring any settings you made and doing its own
thing: either disable automatic autoprotect in NAV and enable it to after
Windows has finished loading or set it in the all user's start-up folder in
stead of HKLM.
2 Monitor the actual use of the pagefile by having Task manager\performance
enabled and see what Windows is using by the end of the day
3 Set a permanent pagefile [max and min identical] on drive C:\ [assuming
that is the system drive] and turn it off on all other drives a few kb
larger than your observed maximum use.
4 If you never get Windows reporting that it has run out of memory you are
OK if it does so just increase the permanent size.

In my case I have 4 GM RAM, the mother board does not support PAE, a
pagefile of 1GB is good even for heavy use of Photoshop CS plus all Office
2003 applications
--
Uncle John
"Ken Blake" wrote in message
...
In ,
Leeharveyoswald typed:

Hello there, I have read off of Sandra2005 that virtual memory should
be set for 2.5 times the amount of memory you have.



Very poor advice. The page file is used when you don't have enough memory
for what the apps you're running require. The more RAM you have, the less
page file you need.


Now, i read a
question off of Microsoft's quiz and they asked about the performance
and what is optimal if you have more than one drive. I have 3
hardrives and i have each set at 2.5times teh amount of ram i have, which
is 3072 because i have 2gb of
physical ram. Now, each should have it right?



No, wrong. Having 3072MB of page page on just *one* drive is almost
certainly *way* more than you need. Having 9216MB is absurd, and just a
waste of disk space.

How many drives you have is completely irrelevant. How much page file you
need depends on what apps you run, but with as much as 2GB of RAM, you
almost certainly need none at all, unless your workload is very unusual.

You shouldn't eliminate the page file at all, but a starting value of
100MB or so should be more than enough. Keep the maximum size high,
because there's no disadvantage in doing so.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup




I do not have xp 32bit
installed on my 36gb raptor, so should i disable paging file on that
drive? And then only have virtual memory on my ide which has my x64
on it and my 74gb raptor which has the 32bit xp on it? Thanks in
advance
3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218





  #7  
Old January 29th 05, 04:23 PM
perris
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use


the largest initial minimum xp sets by default is a 2 gig pagefile, (not
1.5 as some would believe would happen in your case, and not 2.5 as
sandra suggests)

I don't know your workload, but I sincerely doubt any pagefile
configuration is going to have any impact on your system.

I would put a pagefile on pagefile on "c" for debugging, and the rest
on your least used, biggest and fastest drive.

If you ahve hardrive area to spare, it can't hurt to make your pagefile
as big as you like, but no individual pagefile is going to be able to
exceed 4 gigs.


Leeharveyoswald Wrote:
Hello there, I have read off of Sandra2005 that virtual memory should be
set
for 2.5 times the amount of memory you have. Now, i read a question
off of
Microsoft's quiz and they asked about the performance and what is
optimal if
you have more than one drive. I have 3 hardrives and i have each set
at
2.5times teh amount of ram i have, which is 3072 because i have 2gb of
physical ram. Now, each should have it right? I do not have xp 32bit
installed on my 36gb raptor, so should i disable paging file on that
drive?
And then only have virtual memory on my ide which has my x64 on it and
my
74gb raptor which has the 32bit xp on it? Thanks in advance

3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218



--
perris
------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477

  #8  
Old January 29th 05, 04:41 PM
Leeharveyoswald
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

Thanks, and forgive the name lol, i was only experimenting if i could change
my name and as a joke prior i just wanted to see if i could create an
account with a name of oswald lol, i forgot to put it back lol. Thanks for
the information.
What i have taken from the information is, that the memory that is not
intensive gets put to pagefile, so xp will put the memory that is needed for
operation to physical ram and what is not necessarily needed for physical to
the virtual? thanks
"perris" wrote in message
news

the largest initial minimum xp sets by default is a 2 gig pagefile, (not
1.5 as some would believe would happen in your case, and not 2.5 as
sandra suggests)

I don't know your workload, but I sincerely doubt any pagefile
configuration is going to have any impact on your system.

I would put a pagefile on pagefile on "c" for debugging, and the rest
on your least used, biggest and fastest drive.

If you ahve hardrive area to spare, it can't hurt to make your pagefile
as big as you like, but no individual pagefile is going to be able to
exceed 4 gigs.


Leeharveyoswald Wrote:
Hello there, I have read off of Sandra2005 that virtual memory should be
set
for 2.5 times the amount of memory you have. Now, i read a question
off of
Microsoft's quiz and they asked about the performance and what is
optimal if
you have more than one drive. I have 3 hardrives and i have each set
at
2.5times teh amount of ram i have, which is 3072 because i have 2gb of
physical ram. Now, each should have it right? I do not have xp 32bit
installed on my 36gb raptor, so should i disable paging file on that
drive?
And then only have virtual memory on my ide which has my x64 on it and
my
74gb raptor which has the 32bit xp on it? Thanks in advance

3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218



--
perris
------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477



  #9  
Old January 29th 05, 05:49 PM
perris
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use


not quite...memory that isn't likely to be referanced is more often "put
to" the image that it came from...the .dll, the .exe.

pages that have been modified don't have an image, so they need an area
to create an image if they are needed to release

this area to image modified pages is the pagefile

Leeharveyoswald Wrote:
Thanks, and forgive the name lol, i was only experimenting if i could
change
my name and as a joke prior i just wanted to see if i could create an
account with a name of oswald lol, i forgot to put it back lol. Thanks
for
the information.
What i have taken from the information is, that the memory that is not
intensive gets put to pagefile, so xp will put the memory that is
needed for
operation to physical ram and what is not necessarily needed for
physical to
the virtual? thanks
"perris" wrote in message
news

the largest initial minimum xp sets by default is a 2 gig pagefile,

(not
1.5 as some would believe would happen in your case, and not 2.5 as
sandra suggests)

I don't know your workload, but I sincerely doubt any pagefile
configuration is going to have any impact on your system.

I would put a pagefile on pagefile on "c" for debugging, and the

rest
on your least used, biggest and fastest drive.

If you ahve hardrive area to spare, it can't hurt to make your

pagefile
as big as you like, but no individual pagefile is going to be able

to
exceed 4 gigs.


Leeharveyoswald Wrote:
Hello there, I have read off of Sandra2005 that virtual memory

should be
set
for 2.5 times the amount of memory you have. Now, i read a

question
off of
Microsoft's quiz and they asked about the performance and what is
optimal if
you have more than one drive. I have 3 hardrives and i have each

set
at
2.5times teh amount of ram i have, which is 3072 because i have 2gb

of
physical ram. Now, each should have it right? I do not have xp

32bit
installed on my 36gb raptor, so should i disable paging file on

that
drive?
And then only have virtual memory on my ide which has my x64 on it

and
my
74gb raptor which has the 32bit xp on it? Thanks in advance

3200+ winchester athlon64
Abit AV8 3rd eye K8T800pro
4 x 512 pc3200 kingston ram dual channeled on board
36gb raptor 10,000rpm hd
74gb raptor 10,000rpm hd
250gb caviar 7200rpm 8mb cache hd
9550se 128mb radeon
TDK 12x DVDRW
Liteon 16xDVDROM
Foxconn diabolic case with 400w powersupply
Xp professional edition
x64 xp professional edition eval. v1218



--
perris

------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477



--
perris
------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477

  #10  
Old January 29th 05, 06:40 PM
Ken Blake
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

In news perris typed:

Ken Blake Wrote:
The page file is used when you don't have
enough memory for what the apps you're running require. The
more
RAM you have, the less page file you need.


the pagefile is a place to image modified pages because there
is no
image for the memory manager to back the info..when a page is
modified, it's marked as dirty, and the area for dirty pages is
the
pagefile

the pagefile is not there for "when you don't have enough
memory to
run the programs you have"

NOBODY has enough ram to run the programs they have.

sophisticated programs are written with the "90/10" rule...they
spend
90% of the time accessing 10% of there code.

the more ram you have in use, the bigger the image area needs
to be
for those pages so they can be part of the memory management
strategy...the more ram in use, the bigger the pagefile needs
to be.



As you know, from previous threads about this, I completely
disagree with you. But I'm not going to get into a fight with you
over it.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup


  #11  
Old January 29th 05, 08:06 PM
perris
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use


yes, I know you completely dissagree with my recomendation to let
windows manage your virtual memory, as you know I completely dissagree
with your "recomendation" to lower the default.

for users that have no storage issue, I'm still waiting Ken for you to
give one reason why you think your settings are better then
microsofts.

any reason will do.

worst case scenario if I'm wrong and you're not, my advice to let
windows manage virtual memory, is no differance in performance over
what you lyour settings.

on the other hand, the worst scenarion if you're wrong and I'm not, the
user suffers hits they won't attribute to improper memory management
settings.

but I'm not not going to get a fight over it either

Ken Blake Wrote:
As you know, from previous threads about this, I completely
disagree with you. But I'm not going to get into a fight with you
over it.
--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup



--
perris
------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477

  #12  
Old January 29th 05, 10:46 PM
James Hahn
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

This is complete nonsense.. Are you making this up as you go along?

A memory page doesn't have to be modified to be eligible for paging. Marking
pages as modified is a useful tool in managing what gets paged and what
doesn't, but it's only one rule.

"when you don't have enough memory to run the programs you have" is exactly
what the pagefile is there for, provided that memory refers to RAM.

It's quite possible to have enough memory to run the programs you have.
What you might be referring to is that it's not possible to prevent XP from
attempting to use the page file, which is a completely different concept.

Sophisticated programs aren't written to any 90/10 rule. They are (or
should be) written to a design that makes it likely that a very significant
part of the code will never get executed (such as error handling). However,
you haven't indicated why this comment is relevant - perhaps because
attempting to do so would indicate the nonsense in your 'modified pages'
assertion above.

The more RAM you have the less page file is likely to be used. In fact, with
enough RAM you could eliminate the need for a page file (although
eliminating the actual usage is harder).

For a very good description of Windows memory management, including what a
page file is and how it gets used, please see:
http://www.aumha.org/win5/a/xpvm.htm
--
"perris" wrote in message
news

snip

the pagefile is a place to image modified pages because there is no
image for the memory manager to back the info..when a page is modified,
it's marked as dirty, and the area for dirty pages is the pagefile

the pagefile is not there for "when you don't have enough memory to run
the programs you have"

NOBODY has enough ram to run the programs they have.

sophisticated programs are written with the "90/10" rule...they spend
90% of the time accessing 10% of there code.

the more ram you have in use, the bigger the image area needs to be for
those pages so they can be part of the memory management strategy...the
more ram in use, the bigger the pagefile needs to be.



  #13  
Old January 29th 05, 11:51 PM
Frank
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use


"Ken Blake" wrote in message
...
In ,
Leeharveyoswald typed:

Hello there, I have read off of Sandra2005 that virtual memory should
be set for 2.5 times the amount of memory you have.



Very poor advice. The page file is used when you don't have enough memory
for what the apps you're running require. The more RAM you have, the less
page file you need.


What about a memory dump????
Better advice would be to read the following web pages....

http://support.microsoft.com/default...b;en-us;555223

http://www.microsoft.com/resources/d...ging_file.mspx

http://www.microsoft.com/resources/d...mpagefile.mspx



  #14  
Old January 30th 05, 12:12 PM
perris
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use


James Hahn Wrote:
This is complete nonsense.. Are you making this up as you go along?


no

A memory page doesn't have to be modified to be eligible for paging.
Marking


you are exactly correct and this repeats what I've said, so you've
misinterpreted my writing

paging happens within every .dll and .exe weather or not they are
dirty...when the os "releases a .dll" or portions of it, this is
paging, the data is simply released, not written to the pagefile
because there's already a clean image to retrieve that data...pages are
part of the memory management strategy regardless of being dirty or
clean


It's quite possible to have enough memory to run the programs you have.


very few desktops have gigs of memory.

What you might be referring to is that it's not possible to prevent XP
from attempting to use the page file, which is a completely different
concept.


you have this backward, and this is not what I'm either insinuating
...plus, it is possible to keep xp from paging to the pagefile, it
isn't possible to keep xp from pages to the other images on the disk
that are not the pagefile

Sophisticated programs aren't written to any 90/10 rule.


yes, most of them are

(they are)...written to a design that makes it likely that a very
significant
part of the code will never get executed (such as error handling)ummm...you just made the point...thanx for not making me explain it

again

[quoteyou haven't indicated why this comment is relevant -

you mean on this thread I haven't *yet*, I have on other threads and I
will on this one...here's why it's relevant;

just about all programs reserve more virtual memory then they need...

The reservation process is simply a way NT tells the Memory Manager to
reserve a block of virtual memory pages to satisfy other memory requests
by the process...There are many cases in which an application will want
to reserve a large block of its address space for a particular purpose
(keeping data in a contiguous block makes the data easy to manage) but
might not want to use all of the space.


the virtual memory a program requests is the "commit charge" for that
process...trimming the pagefile lower then the commit charge as a total
circumvents this strategy, and is ALWAYS a performance liability.


The more RAM you have the less page file is likely to be used.

first of all, what I said was the more computer has in use, and yes,
you're correct, the more memory a person has the LESS OFTEN the pagefile
will be used, but the more room the pagefile will be needed to facilitate
an area to image for the memory being used

yes, if a user has a gig of memory, but his commit charge is only 250
mb's, he doesn't "need" a gig pagefile, but he suffers nothing for having
a gig pagefile, and he suffers nothing for keeping his box ready to use it
to it's capacity

now, I'll make the numbers smaller so it's easier to follow...and yes,
this analogy holds true for whatever amount of memory you have;

you are assuming that if I have 3 mbs of memory yet only one mb is ever
written to the pagefile, all I need is a mb of pagefile.

no

this is what most people assume, but no, all three mb's need their own
area to image, they don't share that the area that they get imaged to
just because nobody else will ever be there when they are.

This is simplest to explain using the following analogy:
If you were to look to any 100% populated apartment building in
Manhattan, you would see that at any given time throughout the day, there
are less then 25% of the residents in the building at once!

Does this mean the apartment building can be 75% smaller?
Of course not, you could do it, but man would that make things tough. For
best efficiency, every resident in this building needs their own address.
Even those that have never shown up at all need their own address, don't
they? We can't assume that they never will show up, and we need to keep
space available for everybody.

here's an internal if you'd care;

re are quite a few pages that are very rarely used but you may not know
that there are a lot of unreferenced but committed pages in the system
which reserve virtual space (physmem+pagefile) but don't have physical
memory committed for them. If you don't have a pagefile then that
commitment is taken out of physical memory. An example of that is
committed stack pages which are never or extremely rarely touched. These
are committed.

In other words, if you run without a pagefile your system will actually
use MORE memory.

as far as code, and data that's not meant to get modified...these simply
get released, no pagefile used for this paging at all

however, a page on the modified page list moves to the standby page list
after the Memory Manager's modified page writer writes the page's data to
disk. (usually the pagefile, sometimes a data file)

However, while the modified page writer is writing its data to disk, the
page makes a stop in the transition state (which has no list).

this doesn't happen until the number of pages on the modified page list
exceed a threshold, or when free memory drops below a threshold (which is
based on the amount of physical memory on the system and determined during
the boot), one of two modified page writer threads wakes up to perform
disk I/O that sends the data to a paging file {or a data file. but it
can't be released to the original file since it's been modified).



"perris" wrote in message
news

snip

the pagefile is a place to image modified pages because there is no
image for the memory manager to back the info..when a page is

modified,
it's marked as dirty, and the area for dirty pages is the pagefile

the pagefile is not there for "when you don't have enough memory to

run
the programs you have"

NOBODY has enough ram to run the programs they have.

sophisticated programs are written with the "90/10" rule...they spend
90% of the time accessing 10% of there code.

the more ram you have in use, the bigger the image area needs to be

for
those pages so they can be part of the memory management

strategy...the
more ram in use, the bigger the pagefile needs to be.



--
perris
------------------------------------------------------------------------
perris's Profile: http://forum.osnn.net/member.php?userid=17
View this thread: http://forum.osnn.net/showthread.php?t=53477

  #15  
Old January 30th 05, 12:16 PM
Alex Nichol
external usenet poster
 
Posts: n/a
Default Question about virtual memory setting and how much to use

Leeharveyoswald wrote:

Hello there, I have read off of Sandra2005 that virtual memory should be set
for 2.5 times the amount of memory you have. Now, i read a question off of
Microsoft's quiz and they asked about the performance and what is optimal if
you have more than one drive.


Sandra is, as often giving bad advice. And a Microsoft quiz is quite
likely wrong too: they did not catch up in some respects when XP came
out, as one of the developers admitted to me. See my page
www.aumha.org/win5/a/xpvm.htm


--
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K. (remove the D8 bit)
 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 03:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.