Re: [announce] CFS-devel, performance improvements

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roman Zippel <zippel@...>
Cc: Ingo Molnar <mingo@...>, <linux-kernel@...>, Peter Zijlstra <a.p.zijlstra@...>, Mike Galbraith <efault@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Thursday, September 13, 2007 - 3:17 am

---------- Forwarded message ----------
From: Roman Zippel <zippel@linux-m68k.org>
Date: Sep 12, 2007 6:17 PM
Subject: Re: [announce] CFS-devel, performance improvements
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, Peter Zijlstra
<a.p.zijlstra@chello.nl>, Mike Galbraith <efault@gmx.de>


Hi,

On Tue, 11 Sep 2007, Ingo Molnar wrote:


I'm must really say, I'm quite impressed by your efforts to give me as
little credit as possible.
On the one hand it's of course positive to see so much sudden activity, on
the other hand I'm not sure how much had happened if I hadn't posted my
patch, I don't really think it were my complaints about CFS's complexity
that finally lead to the improvements in this area. I presented the basic
concepts of my patch already with my first CFS review, but at that time
you didn't show any interest and instead you were rather quick to simply
dismiss it. My patch did not add that much new, it's mostly a conceptual
improvement and describes the math in more detail, but it also
demonstrated a number of improvements.


Am I the only one who can't clone that thing? So I can't go into much
detail about the individual changes here.
The thing that makes me curious, is that it also includes patches by
others. It can't be entirely explained with the Kernel Summit, as this is
not the first time patches appear out of the blue in form of a git tree.
The funny/sad thing is that at some point Linus complained about Con that
his development activity happend on a separate mailing list, but there was
at least a place to go to. CFS's development appears to mostly happen in
private. Patches may be your primary form of communication, but that isn't
true for many other people, with patches a lot of intent and motivation
for a change is lost. I know it's rather tempting to immediately try out
an idea first, but would it really hurt you so much to formulate an idea
in a more conventional manner? Are you afraid it might hurt your
ueberhacker status by occasionally screwing up in public? Patches on the
other hand have the advantage to more easily cover that up by simply
posting a fix - it makes it more difficult to understand what's going on.
A more conventional way of communication would give more people a chance
to participate, they may not understand every detail of the patch, but
they can try to understand the general concepts and apply them to their
own situation and eventually come up with some ideas/improvements of their
own, they would be less dependent on you to come up with a solution to
their problem. Unless of course that's exactly what you want - unless you
want to be in full control of the situation and you want to be the hero
that saves the day.


In the patch you really remove _a_lot_ of stuff. You also removed a lot of
things I tried to get you to explain them to me. On the one hand I could
be happy that these things are gone, as they were the major road block to
splitting up my own patch. On the other hand it still leaves me somewhat
unsatisfied, as I still don't know what that stuff was good for.
In a more collaborative development model I would have expected that you
tried to explain these features, which could have resulted in a discussion
how else things can be implemented or if it's still needed at all. Instead
of this you now simply decide unilaterally that these things are not
needed anymore.

BTW the old sleeper fairness logic "that worked out fine" is actually
completely gone and is now conceptually closer to what I'm already doing
in my patch (only the amount of sleeper bonus differs).


Well, one could say that you used every little trick in the book to get
these numbers down. On the other hand at this point it's a little unclear
whether you maybe removed it a little too much to get there, so the
significance of these numbers is a bit limited.


is'nt it gud to use all those tricks if it helps? we'll know soon if
it helps from the testing which it'll get. i'm just concerned about
doing these cleanups so late in the rc cycle.
And Ingo, please do explain the reasons for all these cleanups and why
they were put there in the first place.


I can't quite see that, the wait_runtime metric is relative to fair_clock
and this is gone without any replacement, in my patch I at least
calculate these values for the debug output, but in your patch even that
is simply gone, so I'm not sure what you actually compare "side by side".


At this point it gets really interesting - I'm amazed how much you stress
the differences. If we take the basic math as I more simply explained it
in this example http://lkml.org/lkml/2007/9/3/168, you now also make the
step from the relative wait_runtime value to an absolute virtual time
value. Basically it's really the same thing, only the resolution differs.
This means you already reimplemented a key element of my patch, so would
you please give me at least that much credit?
The rest of the math is indeed different - it's simply missing. What is
there is IMO not really adequate. I guess you will see the differences,
once you test a bit more with different nice levels. There's a good reason
I put that much effort into maintaining a good, but still cheap average,
it's needed for a good task placement. There is of course more than one
way to implement this, so you'll have good chances to simply reimplement
it somewhat differently, but I'd be surprised if it would be something
completely different.

To make it very clear to everyone else: this is primarely not about
getting some credit, although that's not completely unimportant of course.

I give you credit for coming up with the math which is so easily
understandable comapared to CFS. Don't loose patience, like Con did.
Please keep fighting if u think ur code is better. It'll help all of
us out here.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[announce] CFS-devel, performance improvements, Ingo Molnar, (Tue Sep 11, 4:04 pm)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Wed Sep 12, 6:17 pm)
Re: [announce] CFS-devel, performance improvements, Willy Tarreau, (Thu Sep 13, 7:08 pm)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Fri Sep 14, 9:10 am)
Re: [announce] CFS-devel, performance improvements, Willy Tarreau, (Fri Sep 14, 1:54 pm)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 8:47 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Fri Sep 14, 7:46 am)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Thu Sep 13, 7:35 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Thu Sep 13, 8:14 am)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Thu Sep 13, 8:44 am)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Fri Sep 14, 7:16 am)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 5:19 am)
Re: [announce] CFS-devel, performance improvements, debian developer, (Thu Sep 13, 3:34 am)
Re: [announce] CFS-devel, performance improvements, debian developer, (Thu Sep 13, 3:17 am)
Re: [announce] CFS-devel, performance improvements, Mike Galbraith, (Wed Sep 12, 2:20 am)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Tue Sep 11, 9:16 pm)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 4:42 am)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 5:06 am)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 5:24 am)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 5:31 am)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 5:36 am)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 7:48 am)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 9:47 pm)
Re: [announce] CFS-devel, performance improvements, Kyle Moffett, (Fri Sep 14, 2:59 am)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 10:26 pm)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 5:43 am)
Re: [announce] CFS-devel, performance improvements, Rob Hussey, (Thu Sep 13, 6:17 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Tue Sep 11, 8:42 pm)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 3:52 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Thu Sep 13, 8:35 am)
Re: [announce] CFS-devel, performance improvements, Sam Ravnborg, (Thu Sep 13, 3:01 pm)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Fri Sep 14, 8:26 am)
Re: [announce] CFS-devel, performance improvements, Ingo Molnar, (Thu Sep 13, 10:28 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Thu Sep 13, 12:50 pm)
Re: [announce] CFS-devel, performance improvements, Arjan van de Ven, (Fri Sep 14, 11:26 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Fri Sep 14, 10:50 am)
Re: [announce] CFS-devel, performance improvements, Arjan van de Ven, (Fri Sep 14, 11:56 am)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Fri Sep 14, 11:13 am)
Re: [announce] CFS-devel, performance improvements, Kyle Moffett, (Thu Sep 13, 2:28 pm)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Thu Sep 13, 3:08 pm)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Thu Sep 13, 1:06 pm)
Re: [announce] CFS-devel, performance improvements, Roman Zippel, (Fri Sep 14, 8:04 am)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Fri Sep 14, 8:17 am)
Re: [announce] CFS-devel, performance improvements, Peter Zijlstra, (Thu Sep 13, 1:09 pm)