[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1185349711.7105.154.camel@perkele>
Date: Wed, 25 Jul 2007 03:48:31 -0400
From: Eric St-Laurent <ericstl34@...patico.ca>
To: Nick Piggin <nickpiggin@...oo.com.au>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
Fengguang Wu <fengguang.wu@...il.com>,
Dave Jones <davej@...hat.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel <linux-kernel@...r.kernel.org>,
riel <riel@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Tim Pepper <lnxninja@...ibm.com>,
Chris Snook <csnook@...hat.com>
Subject: Re: [PATCH 0/3] readahead drop behind and size adjustment
On Wed, 2007-25-07 at 17:09 +1000, Nick Piggin wrote:
>
> A new list could be a possibility. One problem with adding lists is just
> trying to work out how to balance scanning rates between them, another
> problem is CPU overhead of moving pages from one to another...
Disk sizes seem to increase more rapidly that the ability to read them
quickly. Fortunately the processing power increase greatly too.
It may be a good idea to spend more CPU cycles to better decide how the
VM should juggle with this data. We've got to keep those multi-cores cpu
busy.
> but don't
> let me stop you if you want to jump in and try something :)
>
Well I might try a few things along the way.
But I prefer the thorough approach versus tinkering...
- Read all research, check competition
- Build test virtual machines, with benchmarks and typical workloads
- Add (or use) some instrumentation to the pagecache
- Code a simulator
- Try all algorithms, tune them
This is way overkill for a part-time hobby.
If we don't see much work on this area it's surely because it's really
not a problem anymore for most workloads. Database have their own cache
management and disk scheduling, file servers just add more ram or
processors, etc.
> OK here is one which just changes the rate that the active and inactive
> lists get scanned. Data corruption bugs should be minimal ;)
>
Will test.
- Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists