[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45B18344.5020507@yahoo.com.au>
Date: Sat, 20 Jan 2007 13:49:40 +1100
From: Nick Piggin <nickpiggin@...oo.com.au>
To: Mike Frysinger <vapier.adi@...il.com>
CC: Aubrey Li <aubreylee@...il.com>,
Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Linus Torvalds <torvalds@...l.org>,
Andrew Morton <akpm@...l.org>,
"linux-os (Dick Johnson)" <linux-os@...logic.com>,
Robin Getz <rgetz@...ckfin.uclinux.org>,
"Hennerich, Michael" <Michael.Hennerich@...log.com>
Subject: Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache
Mike Frysinger wrote:
> On 1/19/07, Nick Piggin <nickpiggin@...oo.com.au> wrote:
>
>> Luckily, there are actually good, robust solutions for your higher
>> order allocation problem. Do higher order allocations at boot time,
>> modifiy userspace applications, or set up otherwise-unused, or easily
>> reclaimable reserve pools for higher order allocations. I don't
>> understand why you are so resistant to all of these approaches?
>
>
> in a nutshell ...
>
> the idea is to try and generalize these things
>
> your approach involves tweaking each end solution to maximize the
> performance
Maybe, if you are talking about my advice to fix userspace... but you
*are* going to contribute those changes back for the nommu community
to use, right? So the end result of that is _not_ actually tweaking the
end solutions.
But actually, if you take the reserved pool approach, then that will
work fine, in-kernel, and it is something that already needs to be done
for dynamic hugepage allocations which is almost exactly the same
situation. And everybody can use this as well (I think most of the code
is written already, but not merged).
> our approach is to teach the kernel some more tricks so that each
> solution need not be tweaked
>
> these are at obvious odds as they tackle the problem by going in
> pretty much opposite directions ... yours leads to a tighter system in
> the end, but ours leads to much more rapid development and deployment
OK that's fair enough, but considering that it doesn't actually fix
the problem properly; and that it does weird and wonderful things with
our already fragile page reclaim path, then it is not a good idea to
merge it upstream.
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
-
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