public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Con Kolivas <kernel@kolivas.org>
To: Kevin Radloff <radsaq@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>, ck list <ck@vds.kolivas.org>,
	linux kernel mailing list <linux-kernel@vger.kernel.org>,
	Bart Samwel <bart@samwel.tk>
Subject: Re: [ck] [PATCH] mm: implement swap prefetching (v26)
Date: Sat, 18 Feb 2006 01:26:57 +1100	[thread overview]
Message-ID: <200602180126.58519.kernel@kolivas.org> (raw)
In-Reply-To: <3b0ffc1f0602170618u7a1ad877s337de33c0a8f44f9@mail.gmail.com>

On Saturday 18 February 2006 01:18, Kevin Radloff wrote:
> On 2/17/06, Con Kolivas <kernel@kolivas.org> wrote:
> > Added disabling of swap prefetching when laptop_mode is enabled.
>
> Why bother with this? As someone commented in a previous thread,
> wouldn't it be better to let the laptop_mode script handle it?

The discussion was about what size to make the swap prefetching. Since the 
size is not user tunable any more that is not the case. I had an offlist 
discussion with Bart Samwel about it and basically if your drive spins down 
at 5 seconds (which is what commonly happens with laptop mode) you will never 
have an opportunity to prefetch. This means swap prefetch will basically 
always spin up the drive nullifying laptop mode. On balance if you care about 
power more than anything to actually set laptop mode I suspect you wont want 
prefetch using any more power.

Cheers,
Con

  reply	other threads:[~2006-02-17 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 11:35 [PATCH] mm: implement swap prefetching (v26) Con Kolivas
2006-02-17 14:18 ` [ck] " Kevin Radloff
2006-02-17 14:26   ` Con Kolivas [this message]
2006-02-17 14:53     ` Kevin Radloff
2006-03-01 21:34     ` Giuseppe Bilotta
2006-02-17 14:30 ` Con Kolivas
2006-02-17 14:37   ` [Resend] " 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=200602180126.58519.kernel@kolivas.org \
    --to=kernel@kolivas.org \
    --cc=akpm@osdl.org \
    --cc=bart@samwel.tk \
    --cc=ck@vds.kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=radsaq@gmail.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