home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sun4nl!spider.research.ptt.nl!freyr!bjl
- From: bjl@loki.research.ptt.nl (Ben Lippolt)
- Subject: Re: Swap files versus swap partitions
- Message-ID: <bjl.715592748@freyr>
- Sender: usenet@spider.research.ptt.nl (USEnet News)
- Nntp-Posting-Host: loki.research.ptt.nl
- Reply-To: B.J.Lippolt@research.ptt.nl
- Organization: PTT Research
- References: <1992Sep3.130335.18409@klaava.Helsinki.FI>
- Date: Fri, 4 Sep 1992 07:45:48 GMT
- Lines: 21
-
- wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:
-
- >What reasons are there to prefer swap partitions instead of swap files?
- >I have the impression that a partition may be a bit faster, but how much
- >is this? 5% or 50%? As far as I have been able to figure out, there is
- >no other advantage, and the flexibility of swap files (_much_ easier to
- >change the size if you have to) means that perhaps it would be better to
- >use swap files by default, especially at the beginning and until one has
- >some experience of how much swap space one actually needs. After that,
- >if the speed difference is big enough, one can change the partitioning
- >and create a swap partition that is big enough and not overly big (does
- >anybody really need 12 MB swap space on a 4 MB machine, or is it that
- >big just to be certain?).
-
- One of the nice features of SunOS is that you can create an 'empty'
- swap-file (which 'mkfile -n'). The file 'grows' on demand. This way
- you can easily see how much swap you really use. Of course, this also
- means that your file system can fill up mysteriously :-).
-
-
- Ben Lippolt.
-