From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Danilov Subject: Re: [RFC] VM: I have a dream... Date: Tue, 24 Jan 2006 18:11:38 +0300 Message-ID: <17366.17322.923958.838500@gargle.gargle.HOWL> References: <200601212108.41269.a1426z@gawab.com> <986ed62e0601221155x6a57e353vf14db02cc219c09@mail.gmail.com> <728201270601230705k25e6890ejd716dbfc393208b8@mail.gmail.com> <280A351A008C409CEF43A734@dhcp-2-206.wgops.com> <17365.23510.525066.57628@gargle.gargle.HOWL> <728201270601240636p58fead78m781fb104c3d73da9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Michael Loftis , "Barry K. Nathan" , Al Boldi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from moraine.clusterfs.com ([66.96.26.190]:63374 "EHLO moraine.clusterfs.com") by vger.kernel.org with ESMTP id S964817AbWAXPLk (ORCPT ); Tue, 24 Jan 2006 10:11:40 -0500 To: Ram Gupta In-Reply-To: <728201270601240636p58fead78m781fb104c3d73da9@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Ram Gupta writes: > On 1/23/06, Nikita Danilov wrote: > > > > > 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). > > This feature is interesting though I am not sure about the fast boot > part of OSX. > as at boot time these applications are all started first time. So > there were no access pattern as yet. They still have to be demand That's the point: information about access patterns is stored in the file. So next time when application is started (e.g., during boot) kernel reads that file and pre-faults pages. > paged. But yes later accesses may be faster. > > Thanks > Ram gupta Nikita.