lkml.org 
[lkml]   [1998]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.1.91 swap performance: jerky.
    ...
    > > "cached" climbs to about 32MB of my 64MB total SDRAM,
    > > and then a flurry of reverse activity kicks in..
    > > the "cached" value drops again, as pages are read back
    > > in and response returns to the previously comatose system.
    > >
    > > "cached" levels off again around 2-5MB, until I start some
    > > new big application, whence the whole scenario repeats.
    >
    > Could you try to change in linux/mm/filemap.c:shrink_mmap() the
    ...
    > /* Refuse to swap out all buffer pages */
    > if ((buffermem >> PAGE_SHIFT) * 100 < (buffer_mem.min_percent * num_physpages))
    > goto next;
    > To
    >
    > /* Refuse to swap out all buffer pages */
    > if (bh && (buffermem >> PAGE_SHIFT) * 100 < (buffer_mem.min_percent * num_physpages))
    > goto next;
    ..
    > Werner

    Tried it. Less dramatic swings in swapping behaviour
    than before, but still leaves more free memory than I'd
    expect.. 4-5MB "free" at all times, despite continuous swapping.

    (mind y'all, running four xboard's with "two machines" set
    for each is a pretty heavy test of swapping..).

    Either with or without, interactive response still "feels" okay,
    considering the system load.

    --
    mlord@pobox.com
    The Linux IDE guy

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:42    [W:4.075 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site