How much RAM should I stop using a swap file? [equivalent performance]

admin / June 25th, 2010/ Posted in Operating Systems / No Comments »

Q: I currently have 512 MB of RAM on my Gateway 6400 systems. However, I would stop using the Win2k/WinXP swapfile. How much RAM do I need to get the same performance without the swap file? 2GB? Thanks!


Re:Hrm…..Well I have 320 megs of ram and My swap on winzdoze 2kpro is at 180 and on linux its 170 and I get no problems

Re:NT/2000/XP allocate 4gig of memory to EACH application that runs.

To be a little pedantic, NT doesn't allocate 4G it merely allows the application to believe there is 4G at it's disposal. The real allocation doesn't happen until the application requests memory (via a malloc()-like call) and starts to use it.


Re:NT/2000/XP allocate 4gig of memory to EACH application that runs. It will also need a pagefile present regardless of wheter it uses it or not. That's the bad news.

The good: NT/2000/XP have a pretty good memory manager. Put enough physical ram in and it's going to take advantage of it. I've heard of people putting together a ram-disk and putting the page file on it. In truth, the OS is going to do a better job of managing memory than you will.

Also, open up regedt32 to here:

HKLM\SYSTEM\Currentcontrolset\control\session manager\memory management

Find the 'disablepagingexecutive' key and set it's value to 1. It stops the kernel from paging parts of itself.


Re:There's a lot of programs that require a swap file no matter how much ram you have. I don't even recommend reducing your swap file from what Windows sets it at- you won't notice any performance difference. You will notice slow down and crashes if its too small.

Re:Originally posted by: guy
Infinite. And even then Windows would probably still require a pagefile because it was designed with the notion that there will always be one present.

that's true.


Re:I have a gig of ram & set my pagefile max/min to 128/128

Re:Infinite. And even then Windows would probably still require a pagefile because it was designed with the notion that there will always be one present.

Re:far as i know, you need a swap file, even a small one, for windows to work properly. i tried running without a swap file for a few days & my system was slow & unstable. with that much RAM, i say cut the size of your swap file to maybe 256 MB & see what happens.

Related posts


Tags:

Leave a Reply

Name required

Mail (will not be published) required

Website