lkml.org 
[lkml]   [2008]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] VM: Implements the swap-out page-clustering technique
    On Wed, Sep 10, 2008 at 1:16 AM, Hamid R. Jahanjou
    <hamid.jahanjou@gmail.com> wrote:
    > I agree. As you said, we have two conflicting requirements here: on the
    > one hand one likes to swap as many pages as to satisfy the backing
    > storage "proper block IO size," on the other hand, one should not make a
    > process lose too many pages.

    I'd much rather that one process lose a lot of pages than many
    processes lose a few. When a system is swap thrashing, each process
    has some of its active working set tossed to swap, which means *any*
    application you try to switch to is then sluggish. If it were only one
    application, then only that one takes the penalty hit when the user
    switches focus and context.


    \
     
     \ /
      Last update: 2008-09-10 19:11    [W:2.463 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site