login
Header Space

 
 

Re: [announce] CFS-devel, performance improvements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: <linux-kernel@...>, Peter Zijlstra <a.p.zijlstra@...>, Mike Galbraith <efault@...>
Date: Thursday, September 13, 2007 - 12:50 pm

Hi,

On Thu, 13 Sep 2007, Ingo Molnar wrote:


This needs a little perspective, as I couldn't clone the repository (and 
you know that), all I had was this announcement, so using the patch 
descriptions now as defense is unfair by you.
In this announcement you make relatively few references how this relates 
to my work. Maybe someone else can show me how to read that announcement 
differently, but IMO the casual reader is likely to get the impression, 
that you only picked some minor cleanups from my patch, but it's rather 
unclear that you already reimplemented key aspects of my patch. Don't 
blame me for your own ambiguity.


Let's compare this to the relevant part of the announcement:

| The ->vruntime metric is similar to the ->time_norm metric used by
| Roman's patch (and both are losely related to the already existing
| sum_exec_runtime metric in CFS), it's in essence the sum of CPU time
| executed by a task, in nanoseconds - weighted up or down by their nice
| level (or kept the same on the default nice 0 level). Besides this basic
| metric our implementation and math differs from RFS.

In the patch you are more explicit about the virtual time aspect, in the 
announcement you're less clear that it's all based on the same idea and 
somehow it's important to stress the point that "implementation and math 
differs", which is not untrue, but your forget to mention that the 
differences are rather small.


This is ridiculous, I asked you multiple times to explain to me some of 
the differences relative to CFS as response to the splitup requests. Not 
once did you react, you didn't even ask what I'd like to know 
specifically.


I never claimed to understand every detail of CFS, I can _guess_ what 
_might_ have been intended, but from that it's impossible to know for 
certain how important they are. Let's take this patch fragment:

-       /*
-        * Fix up delta_fair with the effect of us running
-        * during the whole sleep period:
-        */
-       if (sched_feat(SLEEPER_AVG))
-               delta_fair = div64_likely32((u64)delta_fair * load,
-                                               load + se->load.weight);
-
-       delta_fair = calc_weighted(delta_fair, se);


You simply remove this logic, without ever explaining what it was really 
good for. There is no indication how it has been replaced. AFAICT the 
comment refers to the calc_weighted() call, which is not the problem.
I can _guess_ that it was meant to scale the bonus based on cpu load, what 
I can't guess from this is why this logic was added in first place, _why_ 
it was neccessary.

It had been easy for me to simply remove this as well, but I had preferred 
to _know_ what the motivation for this logic was, so I can take it into 
account in my patch.

bye, Roman
-
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)
speck-geostationary