[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Unpredictable performance
On Jan 25, 2008 3:32 AM, Asbjorn Sannes <> wrote:
> Hi,
> I am experiencing unpredictable results with the following test
> without other processes running (exception is udev, I believe):
> cd /usr/src/test
> tar -jxf ../linux-
> cp ../working-config linux-
> cd linux-
> make oldconfig
> time make -j3 > /dev/null # This is what I note down as a "test" result
> cd /usr/src ; umount /usr/src/test ; mkfs.ext3 /dev/cc/test
> and then reboot
> The kernel is booted with the parameter mem=81920000
> For the results vary from (real time) 33m30.551s to 45m32.703s
> (30 runs)
> For with nop i/o scheduler from 29m8.827s to 55m36.744s (24 runs)
> For also varied a lot.. but, lost results :(
> For only vary from 34m32.054s to 38m1.928s (10 runs)
> Any idea of what can cause this? I have tried to make the runs as equal
> as possible, rebooting between each run.. i/o scheduler is cfq as default.
> sys and user time only varies a couple of seconds.. and the order of
> when it is "fast" and when it is "slow" is completly random, but it
> seems that the results are mostly concentrated around the mean.

First off, not all tests are good tests. In particular, small timing
differences can get magnified horrendously by heading into swap.

That said, do you have the means and standard deviations of those
runs? That's a good way to tell whether the tests are converging or
not, and whether your results are telling you anything.

Also as you're on a uniprocessor system, make -j2 is probably going to
be faster than make -j3. Perhaps immaterial to whatever you're trying
to test, but there you go.

 \ /
  Last update: 2008-01-25 18:19    [W:0.065 / U:12.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site