lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Ten percent test
From
Date
On Fri, 2007-04-06 at 11:03 +1000, Con Kolivas wrote:
> On Thursday 05 April 2007 21:54, Ingo Molnar wrote:
> > - fiftyp.c: noticeable, but alot better than previously!
>
> fiftyp.c seems to have been stumbled across by accident as having an effect
> when Xenofon was trying to recreate Mike's 50% x 3 test case. I suggest a ten
> percent version like the following would be more useful as a test for the
> harmful effect discovered in fiftyp.c. (/me throws in obligatory code style
> change).
>
> Starts 15 processes that sleep ten times longer than they run. Change forks to
> 15 times the number of cpus you have and it should work on any size hardware.

I was more focused on the general case, but all I should have to do to
de-claw all of these sleep exploits is account rr time (only a couple of
lines, done and building now). It's only a couple of lines.

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-06 11:11    [W:1.298 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site