General discussion

Locked

Swap file - makes no difference on or off

By TheOnlyRick ·
My home and work PC have 2Gb and 4Gb of RAM respectively.

I've switched off the swap file on both of them. I expected them to run faster, or slower, or not boot, or do something different, but I've noticed no change.

Why is this? Is it worth keeping the swap file?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

The swap file is a space set aside on the hard drive to move

by Deadly Ernest In reply to Swap file - makes no diff ...

stuff out of the RAM when the RAM is getting full and something hasn't been used for a while. With Swap File off no space is set aside - theory - and it all stays in the RAM, with Swap File on space is set aside and some RAM is used to know what's where. With a few gigs of RAM I doubt you'd ever see a performance difference due to swap file unless you're running some huge CAD program.

The only time I've ever seen a performance difference with the use of a Swap File was many years ago when the maximum RAM was around the 8 MB mark. Then you could see a difference, and even putting the Swap File on a different physical hard drive made a performance difference due to access times.

................

With the Swap File on the system moves any memroy stored information from the RAM to the hard drive when the RAM is getting full, and will Swap whats stored in the Swap File as it needs that information - kind of like an extended RAM area. With it off, the system just dumps the long unused info from the RAM and has to call it back from the hard drive by the application when you need it again. If any of that information had been calculated by the application, you can lose it. With some versions of Windows having the Swap File off can lead to a system crash, depending upon what it's trying to recall.

The best thing is to have it on - but it won't make any difference to the system performance that you can tell.

Collapse -

Swap file

by TheOnlyRick In reply to The swap file is a space ...

I thought that the 'VM Size' column in Task Manager showed how much memory an app was taking up in virtual memory - ie the swap file. I guess that's not true.

Who remembers all those endless arguments about tweaking XP and whether the swap file should be managed by the OS. All seems a bit pointless now...

Back to Windows Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums