Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

virtual memory

Thread Tools
 
Old Jul 16, 2005 | 04:27 AM
  #11  
Bl@ck's Avatar
Bl@ck
Sinner
 
Joined: May 2002
Posts: 6,599
Likes: 0
From: NoVA
Default

Originally Posted by RiceBurninVTEC
is setting my min and max at zero the same as selecting 'no paging file' ?
yes
Reply
Old Jul 16, 2005 | 06:52 AM
  #12  
iNteGraz92's Avatar
iNteGraz92
forever lurking
 
Joined: May 2002
Posts: 3,392
Likes: 0
From: El Monte, CA
Default

Originally Posted by mxl36o
But for the love of god... get a mac already =)
now, why would anybody go and do a thing like that?
Reply
Old Jul 16, 2005 | 06:00 PM
  #13  
NeverBX's Avatar
NeverBX
Snootchie Bootchies!!
 
Joined: Dec 2002
Posts: 2,013
Likes: 0
From: Hawaii
Default

Originally Posted by RiceBurninVTEC
total, or per each drive?
do you for some reason have seperate RAM for each drive?

if you have 1.5gb of ram set it at 2.25-2.5gb min and max.
Reply
Old Jul 16, 2005 | 06:04 PM
  #14  
spanky's Avatar
spanky
I go duffy on dem bitches
 
Joined: Mar 2001
Posts: 28,248
Likes: 0
From: Gonzales, Louisiana
Default

1.5x your ram is what i use unless it's a big amount (1.0gb +)
Reply
Old Jul 16, 2005 | 09:09 PM
  #15  
sherwood's Avatar
sherwood
I missed Sean
 
Joined: Aug 2004
Posts: 11,285
Likes: 1
From: Fairfield/Bridgeport CT
Default

i have 2 gig ram and have my pagefile on a 250gig HDD set to 2 gigs just incase it decides to use it... whichit has done only once to my knowledge so far
Reply
Old Jul 16, 2005 | 10:34 PM
  #16  
Brad's Avatar
Brad
Thread Starter
wooo nascar!
 
Joined: May 2002
Posts: 7,959
Likes: 0
From: baltimore
Default

isnt there a paging file for each hard drive?
Reply
Old Jul 16, 2005 | 11:15 PM
  #17  
chimchim's Avatar
chimchim
WRX cuz Honda won't wagon
 
Joined: Oct 2003
Posts: 1,725
Likes: 0
From: San Jose, CA
Default

Originally Posted by mxl36o
1.5x your installed ram, and set the min and max the same. If you have separate drives put it on the drive w/o XP.

But for the love of god... get a mac already =)
Where do you get this number?

The correct amount is... it depends. It depends on way too many thiings to describe here. So the best option for most people is to select the "let my computer choose". This way, the virtual memory grows and shrinks as needed.

I design computer chips for a living (EE). The virtual memory you guys are talking about is at the OS level (operating system) which uses a concept called paging. I'll talk in general concepts here. A "page" is a measurement of a chunk of memory (specific to the OS in use). As programs run, they request from the OS memory to be used. Behind the scenes, the OS allocates a "page" of memory for that program. As the programs requests for memory (usage) go up, more and more pages are requested. Eventually, the total pages of memory used by the OS and all the programs exceeds the amount of physical RAM in the system. (Think of memory as if it is a folder that can only hold a specific amount of pages.) As page usage demands exceed the physical memory, then the OS can do one of two things: (1) tell the program, "nope, no more memory, too bad for you" which is usually means the program fails due to "insufficient memory". OR (2) the OS uses "virtual memory".

Virtual Memory in this sense means that the OS frees up a page slot in the physical RAM by saving a page he feels is least likely to be used in the near future. He saves that page to the hard drive (HD) and now a free page is available for the program requesting more memory. Now obviously, eventually the page saved to HD will need to be accessed by the owning program. So once again, the OS saves a "least likely to be used" page to HD, and reloads the save page from the HD. This continues ad nasuem.

However, there has to be limits to how many pages can be saved to the HD. A maximum amount of HD space is allocated for paging. THIS IS YOUR WINDOWS VIRTUAL MEMORY SETTING. So let me ask you. How much virtual memory do you allocate on your HD? You'd need to know what your running applications require. Even S/W engineers don't bother with this unless they are speifically and exclusively running applications they know need a specific amount of memory.

In short... let the computer decide. THEN if you start having memory programs, you can tweak it from there. But really, if you start having problems like these, you need to do two things: add more RAM and add a bigger HD (or clear it off).
Reply
Old Jul 17, 2005 | 08:33 AM
  #18  
sherwood's Avatar
sherwood
I missed Sean
 
Joined: Aug 2004
Posts: 11,285
Likes: 1
From: Fairfield/Bridgeport CT
Default

Originally Posted by chimchim
Where do you get this number?

The correct amount is... it depends. It depends on way too many thiings to describe here. So the best option for most people is to select the "let my computer choose". This way, the virtual memory grows and shrinks as needed.

I design computer chips for a living (EE). The virtual memory you guys are talking about is at the OS level (operating system) which uses a concept called paging. I'll talk in general concepts here. A "page" is a measurement of a chunk of memory (specific to the OS in use). As programs run, they request from the OS memory to be used. Behind the scenes, the OS allocates a "page" of memory for that program. As the programs requests for memory (usage) go up, more and more pages are requested. Eventually, the total pages of memory used by the OS and all the programs exceeds the amount of physical RAM in the system. (Think of memory as if it is a folder that can only hold a specific amount of pages.) As page usage demands exceed the physical memory, then the OS can do one of two things: (1) tell the program, "nope, no more memory, too bad for you" which is usually means the program fails due to "insufficient memory". OR (2) the OS uses "virtual memory".

Virtual Memory in this sense means that the OS frees up a page slot in the physical RAM by saving a page he feels is least likely to be used in the near future. He saves that page to the hard drive (HD) and now a free page is available for the program requesting more memory. Now obviously, eventually the page saved to HD will need to be accessed by the owning program. So once again, the OS saves a "least likely to be used" page to HD, and reloads the save page from the HD. This continues ad nasuem.

However, there has to be limits to how many pages can be saved to the HD. A maximum amount of HD space is allocated for paging. THIS IS YOUR WINDOWS VIRTUAL MEMORY SETTING. So let me ask you. How much virtual memory do you allocate on your HD? You'd need to know what your running applications require. Even S/W engineers don't bother with this unless they are speifically and exclusively running applications they know need a specific amount of memory.

In short... let the computer decide. THEN if you start having memory programs, you can tweak it from there. But really, if you start having problems like these, you need to do two things: add more RAM and add a bigger HD (or clear it off).
actually the problem with letting windows choose the paging (virtual memory) size was, at least in the 9x windows, that it would fragment your drive to no end.

by selecting a set size (maximum=minimum) it basically allocated that memory and then will use a peice of it/delete an older peice at the same time...


i'm not sure if this is the case with NTFS and/or XP (because it seems logical they would fix this problem by putting the paging files at the end of the HDD's storage) but knowing microsoft who really knows
Reply
Old Jul 18, 2005 | 07:45 AM
  #19  
Bl@ck's Avatar
Bl@ck
Sinner
 
Joined: May 2002
Posts: 6,599
Likes: 0
From: NoVA
Default

Originally Posted by sherwood
actually the problem with letting windows choose the paging (virtual memory) size was, at least in the 9x windows, that it would fragment your drive to no end.
they fixed that, but the problem with letting your computer decide is the downtime encurred with letting windows change the page file "dynamically". it eats up processor resources and lags the computer to all hell for at least a few minutes.
Reply
Old Jul 18, 2005 | 08:04 AM
  #20  
DakarM's Avatar
DakarM
 
Joined: Oct 2000
Posts: 44,908
Likes: 0
From: Location Location
Default

2GB of RAM + 4GB of virtual memory = I do what I want!
__________________
'00 Dakar Bus CRS Edition
LCD Squad #0001
Originally Posted by WiLL
...I really wanna get out and shoot people.
Reply



All times are GMT -8. The time now is 03:00 PM.