All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [patch] O(1) scheduler-H6/H7 and nice +19
@ 2002-01-15  3:27 Davide Libenzi
  2002-01-15 23:48 ` [patch] O(1) scheduler-H6/H7/I0 " Ed Tomlinson
  0 siblings, 1 reply; 11+ messages in thread
From: Davide Libenzi @ 2002-01-15  3:27 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: Ingo Molnar, lkml, Dave Jones

On Mon, 14 Jan 2002, Ed Tomlinson wrote:

> On January 14, 2002 09:33 pm, Davide Libenzi wrote:
> > try to replace :
> >
> > PRIO_TO_TIMESLICE() and RT_PRIO_TO_TIMESLICE() with :
> >
> > #define NICE_TO_TIMESLICE(n)    (MIN_TIMESLICE + ((MAX_TIMESLICE - \
> > 	MIN_TIMESLICE) * ((n) + 20)) / 39)
> >
> >
> > NICE_TO_TIMESLICE(p->__nice)
>
> Not sure about this change.  gkrellm shows the compile getting about 40%
> cpu.  Best result here seems to be with a larger range of timeslices.  ie
> 1-15 ((10*HZ)/1000...) instead lets the compile get 80% of the cpu.  wonder
> if this might be the way to go?

What's the MIN/MAX_TIMESLICE range that you used to get 80% of cpu ?




- Davide



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-01-16 22:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mng==Pine.LNX.4.40.0201151803020.940-100000@blue1.dev.mcafeelabs.com>
     [not found] ` <mng==1011149980.8756.180.camel@phantasy>
2002-01-16 22:41   ` [patch] O(1) scheduler-H6/H7/I0 and nice +19 Jens-Uwe Mager
2002-01-15  3:27 [patch] O(1) scheduler-H6/H7 " Davide Libenzi
2002-01-15 23:48 ` [patch] O(1) scheduler-H6/H7/I0 " Ed Tomlinson
2002-01-15 23:56   ` Davide Libenzi
2002-01-16  1:49   ` Ingo Molnar
2002-01-16  0:44     ` Ed Tomlinson
2002-01-16  2:06       ` Rene Rebe
2002-01-16  2:48       ` Ingo Molnar
2002-01-16  1:59         ` Robert Love
2002-01-16  2:04           ` Davide Libenzi
2002-01-16  2:59             ` Robert Love
2002-01-16  3:04               ` Linus Torvalds

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.