Re: [RFC] VM: I have a dream...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Loftis writes:
 > 
 > 
 > --On January 23, 2006 9:05:41 AM -0600 Ram Gupta <[email protected]> 
 > wrote:
 > 
 > >
 > > Linux also supports multiple swap files . But these are more
 > > beneficial if there are more than one disk in the system so that i/o
 > > can be done in parallel. These swap files may be activated at run time
 > > based on some criteria.
 > 
 > You missed the point.  The kernel in OS X maintains creation and use of 
 > these files automatically.  The point wasn't oh wow multiple files' it was 
 > that it creates them on the fly.  I just posted back with the apparent new 

This can be done in Linux from user-space: write a script that monitors
free swap space (grep SwapFree /proc/meminfo), and adds/removes new swap
files err... on-the-fly, or --even better-- just-in-time.

The unique feature that Mac OS X VM does have, on the other hand, is
that it keeps profiles of access patterns of applications, and stores
then in files, associated with executables. This allows to quickly
pre-fault necessary pages during application startup (and this makes OSX
boot so fast).

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux