home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / misc / 19111 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.8 KB

  1. Path: sparky!uunet!sun-barr!olivea!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!bstone
  2. From: bstone@acs.ucalgary.ca (Blake Stone)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Swapfile Compression
  5. Message-ID: <92Aug29.170741.21491@acs.ucalgary.ca>
  6. Date: 29 Aug 92 17:07:41 GMT
  7. Sender: news@acs.ucalgary.ca (USENET News System)
  8. Distribution: na
  9. Organization: The University of Calgary, Alberta
  10. Lines: 35
  11. Nntp-Posting-Host: acs3.acs.ucalgary.ca
  12.  
  13. > Uh, I *REALLY* Don't think compress=lzw/packbits/etc.  That
  14. > would be totally retarded, not to mention totally unuseable on
  15. > an '030 and damn near it on an '040.  I would gather compressed
  16. > = compacted in that the holes in the swapfile are reused more
  17. > wisely and the paging system tries to keep the swapfile to a
  18. > minimum ... 
  19.  
  20. Uh, wrong.  According to NeXT at NeXTworld Expo the 'swaptimizer'
  21. would actually compress individual pages.  Beta 3.0 releases will
  22. do this by default ONLY on 8MB RAM machines.  Holes in the
  23. swapfile ARE reused in 2.x.  The problem is that pages at the end
  24. of the swapfile allocated by, say, the Workspace Manager or the
  25. Window Server keep the swap from being truncated.  They need to
  26. be able to intelligently MOVE pages in the swapfile (logically,
  27. not necessarily physically).  Tough problem and still unsolved in
  28. 3.0.
  29.  
  30.  
  31. > This growing rumor is totally unfounded and technically silly
  32. > IMNSHO.
  33.  
  34. It actually makes sense since:
  35.  
  36. 1) A task that is swapping is blocked.
  37. 2) The Window Server is the most likely task to swap.
  38. 3) The Window Server is not threaded.
  39. 4) All NeXT apps block pending replys from the Window Server on a
  40.    regular basis.
  41.  
  42. What NeXT really needs to do is thread the window server!
  43. (Assuming that only one thread in a task is blocked during
  44. swapping... which could be patently untrue.  Anybody know for
  45. sure?).
  46.  
  47. Blake
  48.