lkml.org 
[lkml]   [2002]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRE: About the need of a swap area
    On 28 Jul 2002, Alan Cox wrote:
    > On Sat, 2002-07-27 at 23:39, Buddy Lumpkin wrote:
    > > Why would you want to push *anything* to swap until you have to?
    >
    > To reduce the amount of disk access

    > > and it's pretty relative what "long unaccessed" means ..
    >
    > In the Linux case the page cache is basically not discriminating too
    > much about what page is (and it may be several things at once - cache,
    > executing code and file data) just its access history.

    There is a case to make for evicting the page cache with more
    priority than process memory ...

    ... but frequently accessed page cache memory should definately
    stay in ram, while not accessed process memory should be evicted.

    I'll make a quick patch for this (for recent 2.5) today.

    regards,

    Rik
    --
    Bravely reimplemented by the knights who say "NIH".

    http://www.surriel.com/ http://distro.conectiva.com/

    -
    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: 2005-03-22 13:27    [W:3.195 / U:0.996 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site