Originally posted by: Smilin
Originally posted by: goku2100
I wasnt talking about System cache, I was talking about the fact the processes fill up the system's ram and ram booster only says "hey I need this ram now so you need to leave" then the processes are moved to the "Page file or Virtual Memory" how ever you want to call it and then just "dries it's self up" giving the illusion that you have more memory but now you actually it's in "Virtual memory" or "page file". Like I said, I dont use the program because I think I have gain memory, because I already know it shoves it into the pagefile or Virtual memory because I have been able to observe it's actions with taskmanager. The program is essentially useful in instances where: you have memory leaks and dont care where the "leaked" memory goes just long as it's not in main memory, you need a lot of memory for a specific program your going to run in a second and have closed practically every process you know of and dont plan on using os specific features or atleast utilizing most of them and finally you have no clue what to do but you system is out of ram and you find this utility so you run it.
Since I apparently dont know whats the difference between page file and virtual memory, please feel free to "enlighten me" so I dont make anymore "ignorant" statements. The only reason why I call it Page file or Virtual memory is because window's does, in the system properties and settings it says virtual memory so when you look at the C drive you see pagefile.sys which is where virtual memory is stored. That is the only reference I think of when I say virtual memory or page file and nothing else.
Goku:
Pick up the book titled "Inside Windows 2000", third edition.
Originally posted by: goku2100
My point exactally.
That's freaking hilarious stuff.
The people who apparently wrote the front end to whatever app in Windows that calls your swap file "Virtual memory" was a complete moron. Had no clue, or realised that most windows users won't know and won't care about the difference.
Each computer has a certain amount of addressable RAM. In the Wintel platform it is limited by it's 32bit-ness to 4gigs. That's what is known as "Virtual Memory". This is a layer of abstration created so that programmers dont' have to go "I want this amount of physical RAM used up, and this amount of swap space used up". They just go "stick this into memory".
Then it's up to the OS to take the virtual memory and map memory usage efficiently. In Windows 2000 and probably WinXP, the OS is allowed to allocate 2gigs out of 4 gigs to applications. It doesn't matter if you have 128 megs of RAM, 386 megs of ram, or a 1024 megs of ram. It doesn't matter if you have 1gig swap file or 2 gig swap file or a 50meg swap file. Your applications will always see the same amount of RAM aviable.
That way as OS designers figure out more and more effecient ways to utilize memory or hardware guys design new types of memory, each application does not have to be rewritten to utilize it. It simplifies application design and makes it so that applications don't go around stepping on each other's toes.
Page file or swap file and Physical memory is just the physical manifistations that will end up providing the RAM needs of the OS. Weither or not to stick this hunk of 4gigs of Virtual RAM into physical "real" RAM modules on your motherboard or a swap file on you harddisk is, and should, be left up to the discression of the OS. That's what it is there for, so app designers don't have to worry about crap like that. They just make the app, ask the OS for memory space, and the OS gives it to them.
Efficient OS design dictates that if space allows you should always keep the RAM filled up with cache.
I'll try to explain memory managment with a little story.
Lets pretend your the OS, and your desk is physical memory on your motherboard. You have a second much larger kitchen table in the other room, far away on your desk. You have a bunch of filing cabinets in your basement and these represent your actual space on the harddrive were you keep all your programs and records. And down there you have a photocopier.
So your doing quartly finacials, and your sitting at your desk running a calculator adding up all the figures.
You need to do a bunch of calculations and you need to have the the papers laid out in front of you.
So first off you need to figure out were downstairs are the papers you need. So you run downstairs and open up a card catalog that has the location of everything in your basement. If your running a FAT filing system this card catalog would be like your file allocation tables.
So you look up were the info is at. You go and open up the filing cabinate, pull out the paper and make a photocopy of the pages you need. Then you run back up stairs and layout your papers on the desk and begin cranking away at your calculator.
Now if you were a DOS version you would use the pages untill your finished, and you whould just throw them away. This wasn't a big deal, because you only had a very small desk and it didn't make much difference.
But now you have a very big desk. And you've found out that since you multitask, you often would end up throwing away pages, then 10 minutes later you'd need them again! Then you would have to run all the way back downstairs, look up the folder, photocopy the pages, and then go BACK up stairs and then use them. And then just throw them away, then 10 minutes later you'd need them all over!
So obviously that was quite retarding thing to do. It took so freaking long. But now you noticed that since you have a very big desk, you can simply push the old papers out of the way, and keep them around for a while. Then if you need them, then you can just look over the desk and see them and then that is much quicker.
Then on top of that you figured out that instead of just throwing away the old pages, you could sometimes move them to the kitchen table, were you previously only used if you ran out of desk space for big jobs. It was slower then just having everything on one big desk, but desks cost money and old kitchen tables are gigantic and dirt cheap.
But then since now you've developed a intellegent way to handle pages you need to work on, you need to streamline it a bit.
Some pages you use over and over agian, while others you used once and throw away for a long time. (for example if your watching a DVD movie you need to stream from disk space into RAM, but it's not likely you'd need it any time soon. While on the otherhand you're probably going to use info from the explorer.exe's DLL files over and over and over again.)
So how do you tell what peices of paper would be most worth keeping? What should you keep that is valuable, and what is disposable? What can be most efficiently moved from the desk to the kitchen table and what is just worth throwing away? If you throw away the wrong stuff then you just have to run back downstairs and re-photocopy everything, and that IS SO FREAKING SLOW!!!
So you began using little ticks and symbols up in the margins of the pages. You marked down the time, and every few minutes you erase one of the ticks on all the peices of paper. If you use the pages again then you simply put down more ticks. When the pages ran out of ticks, then you know that you can safely remove the pages if you want. You don't always do that, but if you need room then you know which ones you can throw away and you'd probably not need them again for a long time.
Then if you began to run out of room, you just throw away the pages with no ticks. If you begin to run out of room after that, you begin to move pages with a low number of ticks to the kitchen table. If you begin running out of room after that you begin throwing away pages with ticks on them, moving up to pages with the most ticks. If you begin to run out of room after that you run down to the basement and get more leaves for your table, so that you can make the kitchen table bigger (disk swap file) bigger until you run out of leaves to expand your kitchen table.
If you run out of room after that? Well then your just screwed aren't you? (generally you just stop working on a task all together and concentrate on, hopefully, the more important tasks)
But that doesn't happen so much anymore. You've developed a fairly descent system of marking ticks on pages and can effieciently use your desk and table properly.
It may seem pretty anal, but it's a lot better then loosing pages and/or getting them all smudged up and then having a nervious breakdown like the moron next door, Windows 9x. It's still not perfect but's it a lot better then photocopying pages all day!! At least you can get work done fairly fast.
Your main limitation right now is that you can only keep track of so many peices of paper. About 4gigs worth. Anything beyond that you have to use all these different methods to remap stuff, and it's kind of a pain in the butt. But at least your boss is promising a brain transplant later so that you can address in 64bits and remember the location of many many times more papers.
But now your boss shows up, looks at your desk and says: "Geez your desk is full of paper!",
you say: "Well I am only using these pages right here, right now, but I keep those just incase",
you boss says: "Well you need to have lots of desk space (main memory) to get things done quickly"
Then takes his arm and sweeps all your stand-by pages into the incinerator
Then you cry.