home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / misc / 23009 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+
  2. From: cs4w+@andrew.cmu.edu (Charles William Swiger)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: Swapfile compression
  5. Message-ID: <Yf_vomm00WBNE2g3hm@andrew.cmu.edu>
  6. Date: 13 Dec 92 12:46:10 GMT
  7. Article-I.D.: andrew.Yf_vomm00WBNE2g3hm
  8. Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
  9. Lines: 30
  10. In-Reply-To: <1992Dec10.224206.1776@seer.demon.co.uk>
  11.  
  12. Excerpts from netnews.comp.sys.next.misc: 10-Dec-92 Re: Swapfile
  13. compression by Paul Lynch@seer.demon.co 
  14. > It's not *extra* diskspace (if I read your intention correctly).   
  15. > swapfile.front is just a view onto swapfile; the only file that occupies  
  16. > real disk space is swapfile.
  17.  
  18. Correct.
  19.   
  20. > Apart from that, I'd would also like to know what good turning it on will  
  21. > do.  I find it hard to be convinced that compressing (which takes time) a  
  22. > swapfile (which MUST be fast) is a good idea.
  23.  
  24. The idea is that it's faster for the CPU to compress and then write out
  25. a smaller amount of data than it it to simply write out uncompressed
  26. data.  There's a tradeoff made between CPU usage and disk I/O.
  27.  
  28. NeXT has set up the defaults so that machines that will do a lot of
  29. swapping (low memory machines), and thus be I/O bound, will use swapfile
  30. compression to shift some of the burden over to the CPU.  Machines with
  31. more memory will not swap as much, and are not as I/O bound, so turning
  32. on the swapfile compression may not help as much, or may actually
  33. decrease overall performance.
  34.  
  35. -Chuck
  36.  
  37. +------------------------------------------+ "Foosh.  Aaughh!!"
  38. | Charles William Swiger -- CMU...crunch!  | "Foosh.  Aauuggghh!!"
  39. | AMS & normal mail: cs4w+@andrew.cmu.edu  | "Cold spray deodorant...."
  40. | NeXTmail: chuck@mon.slip.andrew.cmu.edu  |
  41. +------------------------------------------+   -- Opus, Bloom County [RIP]
  42.