Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 05-01-2005, 04:17 PM   #1 (permalink)
Go Cardinals
 
soccerchamp76's Avatar
 
Location: St. Louis/Cincinnati
Virtual memory

Two questions:
1) Why when you set the virtual memory to 0, Windows still uses it?

2) If Windows MUST have virtual memory, is it possible to control which programs are set to be stored in virtual memory (such as low-priority iteams), and place higher priority items in physical memory???
__________________
Brian Griffin: Ah, if my memory serves me, this is the physics department.
Chris Griffin: That would explain all the gravity.
soccerchamp76 is offline  
Old 05-01-2005, 06:48 PM   #2 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
how much real ram do you have? if you have a gig you can use this registry tweek

HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\DisablePagingExecutive

set it to a decimal 1

this will force the system to place more of the system into real memory and not in VM.

i've run it this way for a month and it is stable for me, under winxp.
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
Old 05-01-2005, 07:24 PM   #3 (permalink)
Go Cardinals
 
soccerchamp76's Avatar
 
Location: St. Louis/Cincinnati
I have a gig of ram
__________________
Brian Griffin: Ah, if my memory serves me, this is the physics department.
Chris Griffin: That would explain all the gravity.
soccerchamp76 is offline  
Old 05-01-2005, 07:29 PM   #4 (permalink)
Go Cardinals
 
soccerchamp76's Avatar
 
Location: St. Louis/Cincinnati
I also cannot find that registry information???

Edit: I found it and I already had the option selected...
__________________
Brian Griffin: Ah, if my memory serves me, this is the physics department.
Chris Griffin: That would explain all the gravity.

Last edited by soccerchamp76; 05-01-2005 at 07:31 PM..
soccerchamp76 is offline  
Old 05-02-2005, 07:34 AM   #5 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
then you should already be running mostly in real memory

check out a program called cacheman its a tweaking utility for memory stuff.
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
Old 05-04-2005, 03:33 PM   #6 (permalink)
Upright
 
Location: right here
Dilbert, i dont understand- is VM badfor performance? why not turn it all the way up and use as much as you can??
eeef2 is offline  
Old 05-04-2005, 04:53 PM   #7 (permalink)
The Computer Kid :D
 
Location: 127.0.0.1
Virtual Memory = "emulated' RAM on the hard disk .. much slower.
MikeSty is offline  
Old 05-04-2005, 05:54 PM   #8 (permalink)
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
Quote:
Originally Posted by eeef2
Dilbert, i dont understand- is VM badfor performance? why not turn it all the way up and use as much as you can??
In general, virtual memory increases performance.

The idea is that "you can never have too much memory," or "the more memory, the better." So, you pretend to have more memory than you have and you cache the less frequently used memory on disk. Because it's less used, the performance penalty you get for keeping it on disk won't be noticed as much. The memory that is being used all the time stays in RAM. The result is that you have more memory for your applications, increasing overall performance.

This optimisation can appear to break down if you use all of your system's virtual memory with equal and frequent regularity. However, if you think about it, the reality is that this is merely an indication that you have too little memory for your purpose(s) and your use of virtual memory really isn't the issue.


Interestingly enough, not only does your system employ virtual memory but it also uses file caching. This is pretty much the same thing as virtual memory except in reverse. You cache disk files in memory.

So, your operating system will have files cached in memory while you have memory cached on disk. Pretty funny, eh? This might seem ludicrous but it actually makes sense. It's the frequenly used files that stay cached in memory while the infrequently used memory gets cached on disk. In other words, everything that's hardly being used stays on the slow disk drive while everything that's often accessed gets put in fast memory. Can you see why this is good for performance?
KnifeMissile is offline  
Old 05-04-2005, 09:48 PM   #9 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
It helps, windows does a good job at balancing where info is stored, in VM and in real memory. If you have a lot of ram, you can tweak the os into putting everything it can into real ram, which will increase performance, you can’t get rid of VM all together, it helps with debugging error and should never be disabled.
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
 

Tags
memory, virtual


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 On



All times are GMT -8. The time now is 11:31 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76