public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: jos poortvliet <jos@mijnkamer.nl>
Cc: ck@vds.kolivas.org, Con Kolivas <kernel@kolivas.org>,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [ck] swap prefetching merge plans
Date: Thu, 23 Mar 2006 19:22:12 +1100	[thread overview]
Message-ID: <44225AB4.4080503@yahoo.com.au> (raw)
In-Reply-To: <200603230901.57052.jos@mijnkamer.nl>

jos poortvliet wrote:
> Op donderdag 23 maart 2006 08:04, schreef Con Kolivas:
> 
>>On Thu, 23 Mar 2006 03:53 pm, Andrew Morton wrote:
>>
>>>A look at the -mm lineup for 2.6.17:
>>>
>>>mm-implement-swap-prefetching.patch
>>>mm-implement-swap-prefetching-fix.patch
>>>mm-implement-swap-prefetching-tweaks.patch
>>>
>>>  Still don't have a compelling argument for this, IMO.
> 
> 
> well, the reason i use it is my computer is much more reactive in the morning. 
> linux uses to get very slow after a night of not-doing-much except some 
> 'sleep 5h && blabla' and cron stuff. in the morning it takes a few HOURS to 
> get up and running smoothly. with swap prefetch, it actually feels faster 
> compared to a fresh boot. now you can force swap prefetch to start working, i 
> use it now and then after some heavy taskts which pulled everything to swap.
> 

I have two issues with this argument (not that I'm trying to say it
couldn't make a difference in your case).

Firstly, swap prefetch actually doesn't handle the midnight updatedb pageout
problem nicely. It doesn't do any prefetching when the pagecache/vfs cache
fills memory (which is what would have to happen for updatedb to push stuff
into swap).

Secondly, with or without swap prefetch, I think we can do a better job of
handling these use-once patterns to begin with.

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

  reply	other threads:[~2006-03-23  8:58 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-23  4:53 -mm merge plans Andrew Morton
2006-03-23  7:04 ` swap prefetching " Con Kolivas
2006-03-23  7:56   ` [ck] " Grzegorz Kulewski
2006-03-23  8:01   ` jos poortvliet
2006-03-23  8:22     ` Nick Piggin [this message]
2006-03-23  9:09       ` Con Kolivas
2006-03-23  9:24         ` Con Kolivas
2006-03-23 13:23       ` Martin J. Bligh
2006-03-23  8:33     ` Thomas Kuther
2006-03-23 11:19   ` Jesper Juhl
2006-03-23 11:24   ` [ck] " André Goddard Rosa
2006-03-23 11:57   ` Spike
2006-03-23 12:03     ` Spike
2006-03-23 12:16     ` Spike
2006-03-23 11:58   ` Lenar Lõhmus
2006-03-23 13:58   ` Francesco Biscani
2006-03-23 15:37     ` James Rayner
2006-03-23 15:34   ` [ck] " Radoslaw Szkodzinski
2006-03-23 18:35   ` Mattia Dongili
2006-03-23 18:40   ` Rafael J. Wysocki
2006-03-25 14:37   ` Jan Engelhardt
2006-03-25 15:24     ` Nick Piggin
2006-03-25 23:44       ` Con Kolivas
2006-03-26  5:54         ` Mike Galbraith
2006-03-26  8:08           ` Con Kolivas
2006-03-26  7:42             ` Mike Galbraith
2006-03-26  9:34               ` Con Kolivas
2006-03-27 15:37                 ` [ck] " André Goddard Rosa
2006-03-27 22:19                   ` Con Kolivas
2006-03-26  9:20         ` Jan Engelhardt
2006-03-28  6:16   ` [ck] " Chase Venters
2006-03-23  7:59 ` -mm " Ryan M.
2006-03-23  8:09   ` [ck] " Jens Axboe
2006-03-23  9:07     ` Con Kolivas
2006-03-23 12:12       ` [ck] " Jens Axboe
2006-03-23 10:39 ` Takashi Iwai
2006-03-23 12:33 ` Christoph Hellwig
2006-03-23 12:49 ` [PATCH] remove pps support Roman Zippel
2006-03-23 13:43 ` -mm merge plans Michal Piotrowski
2006-03-24 23:33 ` Eric W. Biederman
2006-03-24 23:53   ` Andrew Morton
2006-03-25  0:50     ` Eric W. Biederman
2006-03-25  1:53 ` Arthur Othieno

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=44225AB4.4080503@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=akpm@osdl.org \
    --cc=ck@vds.kolivas.org \
    --cc=jos@mijnkamer.nl \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    /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