Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'RE: why bother in the year 2002?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
RE: why bother in the year 2002?
Authored by: jlneemidge on Oct 17, '02 01:09:29AM

For most users, raw VM performance is a secondary reason to move your swap space (i.e. if you're doing it just to get better performance, you're probably wasting your time). The real reason to move swap is to get it into an area where there's no competition. You can't run out of swap space if something goes nuts and fills up your boot partition, you can't get a fragmented swap file because your boot partition is fragmented, etc. It makes your swap space behavior consistent and predicatable, and that's a good thing.

[ Reply to This | # ]
RE: why bother in the year 2002?
Authored by: barrysharp on Oct 17, '02 10:33:43AM

The answer to all of this is to AVOID swapping all together.

Now I know that it's not possible to eliminate swapping all together but one can get very close to this. By installing as much RAM as is needed for running the machine's workload swapping can be minimised.

Memory is much more affordable today so this should be possible for most everyone today.

I have 1gig RAM in my iMac and I run for weeks at a time and swapping is practically zero. Over past two weeks my pageouts total about 350.

I've yet to encounter any program or OS created scenario that causes swap space to expand without bounds as the previous poster was refering to as a potential hazard. That's not to say it can't happen -- simply I'm stating I've not encountered it and hope that it never will.

I've been managing large UNIX VM systems for over 20 years and having to configure swap space is very wasteful because my goal has been to never overcommitt the system' physical memory resource. If this can be achieved (and it can if care is taken with managing incoming workload) there really is no reason to have swap space -- a total waste of disk and cost IMO. One must configure swap space in some systems as system dumps write to this area when system panics etc.

Regards... Barry Sharp

[ Reply to This | # ]