On 01/22/2013 10:50 PM, Gary Mills wrote:
> On Tue, Jan 22, 2013 at 11:54:53PM +0000, Edward Ned Harvey 
> (opensolarisisdeadlongliveopensolaris) wrote:
> Paging out unused portions of an executing process from real memory to
> the swap device is certainly beneficial. Swapping out complete
> processes is a desperation move, but paging out most of an idle
> process is a good thing. 

It gets even better.  Executables become part of the swap space via
mmap, so that if you have a lot of copies of the same process running in
memory, the executable bits don't waste any more space (well, unless you
use the sticky bit, although that might be deprecated, or if you copy
the binary elsewhere.)  There's lots of awesome fun optimizations in
UNIX. :)
zfs-discuss mailing list

Reply via email to