[lkml]   [2003]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Page Colouring (was: 2.6.0 Huge pages not working as expected)
Linus Torvalds <> writes:

> On Sat, 27 Dec 2003, Anton Ertl wrote:
> >
> > And you probably mean "repeatable every time". Ok, then a random
> > scheme has, by your definition, no pathological worst case. I am not
> > sure that this is a consolation when I happen upon one of its
> > unpredictable and unrepeatable worst cases.
> Those "unpredictable" cases are so exceedingly rare that they aren't worth
> worrying about.

They show up a lot in benchmarks which makes the something
to worry about. Even if real world applications don't show
the same behavior. Of course it is stupid to tune machines
to the benchmarks but...

> Basically: prove me wrong. People have tried before. They have failed.
> Maybe you'll succeed. I doubt it, but hey, I'm not stopping you.

For anyone taking you up on this I'd like to suggest two possible

1) Increasing PAGE_SIZE in the kernel.
2) Creating zones for the different colors. Zones were not
implemented last time, this was tried.

Both of those should be minimal impact to the complexity
of the current kernel.

I don't know where we will wind up but the performance variation's
caused by cache conflicts in today's applications are real, and easily
measurable. Giving the growing increase in performance difference
between CPUs and memory Amdahl's Law shows this will only grow
so I think this is worth looking at.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:59    [W:0.077 / U:4.588 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site