lkml.org 
[lkml]   [2006]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC] VM: I have a dream...
Michael Loftis writes:
>
>
> --On January 23, 2006 9:05:41 AM -0600 Ram Gupta <ram.gupta5@gmail.com>
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-23 23:44    [W:0.125 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site