[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0707170047230.1817@scrub.home>
Date: Tue, 17 Jul 2007 02:02:03 +0200 (CEST)
From: Roman Zippel <zippel@...ux-m68k.org>
To: Ingo Molnar <mingo@...e.hu>
cc: Matt Mackall <mpm@...enic.com>, James Bruce <bruce@...rew.cmu.edu>,
Thomas Gleixner <tglx@...utronix.de>,
Mike Galbraith <efault@....de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Arjan van de Ven <arjan@...radead.org>,
Chris Wright <chrisw@...s-sol.org>
Subject: Re: [PATCH] CFS: Fix missing digit off in wmult table
Hi,
On Tue, 17 Jul 2007, Ingo Molnar wrote:
> * Roman Zippel <zippel@...ux-m68k.org> wrote:
>
> > Hi,
> >
> > On Mon, 16 Jul 2007, Ingo Molnar wrote:
> >
> > > and note that even on the old scheduler, nice-0 was "3200% more
> > > powerful" than nice +19 (with CONFIG_HZ=300),
> >
> > How did you get that value? At any HZ the ratio should be around 1:10
> > (+- rounding error).
>
> you are wrong again. I sent you the numbers earlier today already:
>
> | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> | 2332 mingo 25 0 1580 248 196 R 95.1 0.0 0:11.84 loop
> | 2335 mingo 39 19 1576 244 196 R 3.1 0.0 0:00.39 loop
>
> 3.1% is 3067% more than 95.1%, and the ratio is 1:30.67. You again deny
> above that this is the case, and there's nothing i can do about your
> denial of facts - that is your own private problem.
Ingo, how am I supposed to react to this? I'm asking a simple question
and I get this? I'm at serious loss how to deal with you. :-(
Above is based on theoritical values, for a 300HZ kernel these two
processes should get 30 and 3 ticks. Should there be any rounding error or
off by one error so that the processes get one tick less than they should
get or one tick is accounted to the wrong process, my theoritical value is
still within the possible error range and doesn't contradict your
practical values.
Playing around with some other nice levels, confirms the theory that
something is a little off, so I'm quite correct at saying that the ratio
_should_ be 1:10.
OTOH you are the one who is wrong about me (again). :-(
bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists