lkml.org 
[lkml]   [2003]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: How do I make this thing stop laging? Reboot? Sounds like Windows!
    Date

    > Swap prefetching? If you have >10% free physical ram and any used swap it
    > will start swapping pages back into physical ram. Probably not of real
    > benefit but many people like this idea. I have a soft spot for it and like
    > using it.
    > --
    >
    > The disadvantage is ofcourse that you will be using up more RAM than is
    > really necessary.

    No, free RAM is wasted RAM.
    You will start wasting RAM once you refuse to free up
    pages you just read from swap space for other more
    important needs. But that's a general VM problem.

    You'll waste IO bandwidth and CPU power to read in pages
    that will be evicted unused, but you may get hits and save
    page faults. It's just a matter of selecting pages to be preswapped.

    But those preswapped pages are either clean and thus immediately
    evictable or you were right to preswap them and saved a page fault.

    Regards
    Oliver

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