Hi, On Mon, 16 Jul 2007, Linus Torvalds wrote: > How about trying a much less aggressive nice-level (and preferably linear, > not exponential)? I think the exponential increase isn't the problem. The old code did approximate something like this rather crudely with the result that there was a big gap between level 0 and -1. Something like this: echo 'for (i=-20;i<=20;i++) print i, " : ", 1024*e(l(2)*(-i/20*3)), "\n";' | bc -l would produce a range similiar to the old code. Replacing the factor 3 with 4 would be IMO a more reasonable increase and had the advantage for the user that it's easier to understand that every 5 levels the time a process gets is doubled. bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: x86 status was Re: -mm merge plans for 2.6.23
- From: Andi Kleen <[email protected]>
- Re: x86 status was Re: -mm merge plans for 2.6.23
- From: Andrea Arcangeli <[email protected]>
- Re: x86 status was Re: -mm merge plans for 2.6.23
- From: Linus Torvalds <[email protected]>
- Re: x86 status was Re: -mm merge plans for 2.6.23
- From: Roman Zippel <[email protected]>
- Re: x86 status was Re: -mm merge plans for 2.6.23
- From: Mike Galbraith <[email protected]>
- Re: x86 status was Re: -mm merge plans for 2.6.23
- From: Roman Zippel <[email protected]>
- [PATCH] CFS: Fix missing digit off in wmult table
- From: Thomas Gleixner <[email protected]>
- Re: [PATCH] CFS: Fix missing digit off in wmult table
- From: James Bruce <[email protected]>
- Re: [PATCH] CFS: Fix missing digit off in wmult table
- From: Ingo Molnar <[email protected]>
- Re: [PATCH] CFS: Fix missing digit off in wmult table
- From: Roman Zippel <[email protected]>
- Re: [PATCH] CFS: Fix missing digit off in wmult table
- From: Ingo Molnar <[email protected]>
- Re: [PATCH] CFS: Fix missing digit off in wmult table
- From: Roman Zippel <[email protected]>
- Re: [PATCH] CFS: Fix missing digit off in wmult table
- From: Linus Torvalds <[email protected]>
- Re: x86 status was Re: -mm merge plans for 2.6.23
- Prev by Date: [PATCH] x86_64: Make ACPI the default reset option
- Next by Date: Re: [i2c] OMAP: Add TI TWL92330/Menelaus Power Management chip driver
- Previous by thread: Re: [PATCH] CFS: Fix missing digit off in wmult table
- Next by thread: Re: [PATCH] CFS: Fix missing digit off in wmult table
- Index(es):