linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Con Kolivas <kernel@kolivas.org>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-mm@kvack.org, ck@vds.kolivas.org, pj@sgi.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: Implement Swap Prefetching v23
Date: Fri, 10 Feb 2006 15:07:00 +1100	[thread overview]
Message-ID: <43EC1164.4000605@yahoo.com.au> (raw)
In-Reply-To: <200602101449.59486.kernel@kolivas.org>

Con Kolivas wrote:
> On Friday 10 February 2006 14:25, Andrew Morton wrote:
> 
>>Con Kolivas <kernel@kolivas.org> wrote:
>>
>>>Here's a respin with Nick's suggestions and a modification to not cost us
>>>extra slab on non-numa.
>>
>>v23?  I'm sure we can do better than that.
> 
> 
> :D
> 
> 
>>>This patch implements swap prefetching when the vm is relatively idle and
>>>there is free ram available.
>>
>>I think "free ram available" is the critical thing here.  If it doesn't
>>evict anyhing else then OK, it basically uses unutilised disk bandwidth for
>>free.
>>
>>But where does it put the pages?  If it was really "free", they'd go onto
>>the tail of the inactive list.
> 
> 
> It puts them in swapcache. This seems to work nicely as a nowhere-land place 
> where they don't have much affect on anything until we need them or need more 
> ram. This has worked well, but I'm open to other suggestions.
> 

Well they go on the head of the inactive list and will kick out file
backed pagecache. Which was my concern about reducing the usefulness
of useful swapping on desktop systems.

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2006-02-10  4:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10  2:55 Con Kolivas
2006-02-10  3:25 ` Andrew Morton
2006-02-10  3:49   ` Con Kolivas
2006-02-10  4:07     ` Nick Piggin [this message]
2006-02-10  4:14       ` Con Kolivas
2006-02-10  4:17         ` Nick Piggin
2006-02-10  4:25         ` Andrew Morton
2006-02-10  4:45           ` Nick Piggin
2006-02-10  4:55             ` Andrew Morton
2006-02-10  5:01               ` Nick Piggin
2006-02-10  5:26                 ` Con Kolivas
2006-02-10  5:32                   ` Nick Piggin
2006-02-10  5:37                     ` Con Kolivas
2006-02-10  5:43                       ` Nick Piggin
2006-02-10  5:48                         ` Con Kolivas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43EC1164.4000605@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=akpm@osdl.org \
    --cc=ck@vds.kolivas.org \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=pj@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox