Re: modifying CFS failure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <peterz@...>
Cc: <cs044024@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Saturday, April 12, 2008 - 9:22 am

On Sat, Apr 12, 2008 at 02:22:03PM +0200, Peter Zijlstra wrote:

I would add that in the past, I too tried to replace the rbtree in order
to provide O(1) node deletion time. The tree was not balanced at all
(which provided faster operations). But the net result was very small
(maybe 1%, I don't remember exactly). The reason was that in practise,
the CFS rbtree does not change *that* often, and the pointer to the
first node already provides a great boost. I remember I had to play
in the area of millions of context-switches/s to see a difference, so
it was quite pointless (though the exercise itself was interesting).


agreed.

Willy

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
modifying CFS failure, , (Fri Apr 11, 11:46 pm)
Re: modifying CFS failure, Peter Zijlstra, (Sat Apr 12, 8:22 am)
Re: modifying CFS failure, , (Sun Apr 13, 11:53 am)
Re: modifying CFS failure, Willy Tarreau, (Sat Apr 12, 9:22 am)