Does it make sense to disable the windows swap file?
Will I get a speed improvement with this?
Will I get a speed improvement with this?






You shouldn't have no swap file at all - and you should have a small swap file on the windows drive (64Mb minimum). Without a 64Mb swap file on the OS partition you won't be able to use any debugging messages from Windows when there is a problem. In order to trace system faults Windows needs to produce a 'mini-dump' and can't do that without at least a 64Mb Pagefile.sys on C: (or whichever drive windows is installed to).
tomos: the application minidumps (ie., a standard program that crashes and fires up DrWatson) don't require pagefile - only the BSOD-produced dumps.




thanks f0dder, you've convinced me to take advantage of the 2GB RAM on my system.You can always give it a try and see how it works out for you
- if you get into a low-memory situation, you'll get a messagebox from windows nagging about low memory, and you can add a pagefile without having to reboot (disabling pagefiles require reboot though). Do keep in mind that not all applications handle a failure to allocate memory gracefully, but with 2 gigs of ram that shouldn't happen under normal circumstances.


if you can play Mass Effect with WLM in the tray, then i'd call it a success.Do keep in mind that this is on an 8-gig system - but process explorer didn't report more than ~1.5gig physical memory usage.Firefox is generally well-behaved on my system so i'm going to disable the swap file after concluding some tasks ahead.
FF3 is well-behaved, FF2 was a real bloody mess after more than just a few hours... after 8 hours of having facebook more or less constantly running in the background, as well as opening and closing various forum tabs, and checking news from RSS feeds (at least a couple of times an hour on a regular day), FF2 by itself would usually end up consuming 1.3+ gigs of ram :p
Does it make sense to disable the windows swap file?
Will I get a speed improvement with this?
(personal experience)You probably can't expect to run a couple of vmware OSes, photoshop, premiere, visual studio, folding@home, firefox2-after-12-hours and a 3D shooter at the same time with 2 gigs of ram and no paging file...![]()
![]()
Interesting! I keep FF2 open from when I boot to when I shut down and I never ran into that. I've got a ton of add-ons active and Sage RSS Reader is permanently open. My FF2 memory usage fluctuates between 135 and 200 Mb no matter what. Does Facebook (which I don't use) have something to do with that?Facebook is definitely very ill-behaved
- after several hours of use, it could take up to 30-40 seconds from clicking a link in facebook until the page was loaded... and that with full browser freeze until the loading was done. The browser would also generally be affected, things like opening new tabs would be pretty slow etc.
Disable Paging File Disable the Paging File Negative Warningactually after reading that it doesn't bring that much to the discussion but at least it has sources, and for completeness..
Myth - "Disabling the Paging File improves performance."
Reality - "You gain no performance improvement by turning off the Paging File. When certain applications start, they allocate a huge amount of memory (hundreds of megabytes typically set aside in virtual memory) even though they might not use it. If no paging file (pagefile.sys) is present, a memory-hogging application can quickly use a large chunk of RAM. Even worse, just a few such programs can bring a machine loaded with memory to a halt. Some applications (e.g., Adobe Photoshop) will display warnings on startup if no paging file is present." - Source
"In modern operating systems, including Windows, application programs and many system processes always reference memory using virtual memory addresses which are automatically translated to real (RAM) addresses by the hardware. Only core parts of the operating system kernel bypass this address translation and use real memory addresses directly. All processes (e.g. application executables) running under 32 bit Windows gets virtual memory addresses (a Virtual Address Space) going from 0 to 4,294,967,295 (2*32-1 = 4 GB), no matter how much RAM is actually installed on the computer. In the default Windows OS configuration, 2 GB of this virtual address space are designated for each process' private use and the other 2 GB are shared between all processes and the operating system. RAM is a limited resource, whereas virtual memory is, for most practical purposes, unlimited. There can be a large number of processes each with its own 2 GB of private virtual address space. When the memory in use by all the existing processes exceeds the amount of RAM available, the operating system will move pages (4 KB pieces) of one or more virtual address spaces to the computer's hard disk, thus freeing that RAM frame for other uses. In Windows systems, these "paged out" pages are stored in one or more files called pagefile.sys in the root of a partition. Virtual Memory is always in use, even when the memory required by all running processes does not exceed the amount of RAM installed on the system." - Source
ah ok maybe someone needs to write an Xp Myths Myths page then.Basically did that in that thread
, and it ended up very heated... probably the only thread I've seen on DC that became uncomfortable.ah ok maybe someone needs to write an Xp Myths Myths page then.Basically did that in that thread, and it ended up very heated... probably the only thread I've seen on DC that became uncomfortable.
Boy does that ever prove we are a bunch of techno-wankers here at DC.


Original address: https://www.donationcoder.com/forum/index.php?topic=13966.0