On Thu, 26 Mar 2009 17:27:43 -0700 (PDT) Linus Torvalds <torvalds@linux-foundation.org> wrote:
userspace can get closer than the kernel can.
Those access patterns are observable!
userspace can get closer. Even if it's asking the user "what sort of
applications will this machine be running" and then use a set of canned
tunables based on that.
Better would be to observe system behaviour, perhaps in real time and
make adjustments.
This particular case is exceptional - it's just too hard for the kernel
to be able to predict the future for this one.
It wouldn't be terribly hard for a userspace daemon to produce better
results than we can achieve in-kernel. That might of course require
additional kernel work to support it well.
--