🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #557

Re: Virtual memory devours my disk (SUMMARY)

#557
From: Art Isbell
Date: Tue, 07 Apr 1992 14:48
25 lines
2058 bytes
In article <1992Apr6.181837.12357@nextoid.sw.socal.com> robert@nextoid.sw.socal.com (Robert Patrick Thille) writes:
>
>I was talking to Avie at NeXTWorld about this problem, and he said that  
>3.0 would have "swapfile compaction".  Now I took that to mean that if a  
>process exited that had VM usage below another process in the swapfile,  
>the VM above said process would be "moved down" to compact the swapfile.
>
>I do not remember the conversation exactly, but I believe that this would  
>happen automatically, but I'm not sure if it would happen all the time, or  
>was a process run by cron.

Brian Pinkerton of NeXT briefly explained the 3.0 "swaptimizer".  My
understanding is that the basic operation of the swapfile remains unchanged :-(
The difference is that pages *can be*, but are not always, compressed when
being added to the swapfile.  Some algorithm determines when the swaptimizer is
used.  But if pages from some other process are added to the swapfile before
the compressed pages are freed, the compressed pages may end up "trapped" in
the swapfile until rebooting just like now :-(
-- 

Art Isbell                                                      Cubic Solutions
NeXT Registered Developer              NeXT software development and consulting
Email: isbell@cats.UCSC.EDU                                Voice: (408)335-1154
USmail: 95018-9442                                           Fax: (408)335-2515
Technical Details
Message-ID: <32267@darkstar.ucsc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!darkstar!cats.ucsc.edu!isbell
References: <giDLiB2w165w@midiline.la.ca.us> <1992Apr6.181837.12357@nextoid.sw.socal.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!darkstar!cats.ucsc.edu!isbell
From: isbell@cats.ucsc.edu (Art Isbell)
Newsgroups: comp.sys.next.programmer
Subject: Re: Virtual memory devours my disk (SUMMARY)
Summary: My understanding of swapfile compression is different.
Keywords: swapfile
Message-ID: <32267@darkstar.ucsc.edu>
Date: 7 Apr 92 14:48:36 GMT
Article-I.D.: darkstar.32267
References: <giDLiB2w165w@midiline.la.ca.us> <1992Apr6.181837.12357@nextoid.sw.socal.com>
Sender: usenet@darkstar.ucsc.edu
Organization: Cubic Solutions - NeXT software development and consulting
Lines: 25