home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9827 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.5 KB  |  35 lines

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