Linux memory usage and swap files
Dan.Osterrath at gmx.de
Wed Jul 7 12:16:51 PDT 2004
Am Mittwoch, 7. Juli 2004 21:10 schrieb Carlos Martin:
> On Wed, 7 Jul 2004 22:03:43 +0300, Shane Shields
> > There was a recent thread about the need and wisdom of using a swap file
> > and some stated that if you have enough memory you don't need one and
> > others stated that it will always improve performance.
> If you need it, having swap will always improve performance. If you
> don't need it, it won't improve it.
These 2 cases are obvious. But the others are the key:
If you need it but don't have it your programs will be killed with "out of
memory". If you have it but don't need it it costs you some megabyte. And in
the times of linux 2.6.x you even don't need to create an own partition. A
swap file is as fast as a swap partition. Resizing is so easy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
More information about the lfs-chat