lkml.org 
[lkml]   [2004]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch] voluntary-preempt-2.6.9-rc1-bk12-R6
    From
    Date
    On Thu, 2004-09-09 at 15:29, Ingo Molnar wrote:
    > yep, the get_swap_page() latency. I can easily trigger 10+ msec
    > latencies on a box with alot of swap by just letting stuff swap out. I
    > had a quick look but there was no obvious way to break the lock. Maybe
    > Andrew has better ideas? get_swap_page() is pretty stupid, it does a
    > near linear search for a free slot in the swap bitmap - this not only is
    > a latency issue but also an overhead thing as we do it for every other
    > page that touches swap.
    >
    > rationale: this is pretty much the only latency that we still having
    > during heavy VM load and it would Just Be Cool if we fixed this final
    > one. audio daemons and apps like jackd use mlockall() so they are not
    > affected by swapping.

    Considering that the default swappiness behavior is to swap out idle
    apps to get more page cache, this would indeed be nice to fix. If the
    default behavior were to not swap until someone actually asks for more
    memory than we have, it would be less of a concern.

    Lee

    -
    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 14:06    [W:3.467 / U:0.676 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site