lkml.org 
[lkml]   [2003]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRE: lmbench results for 2.4 and 2.5 -- updated results
Date
From

> -----Original Message-----
> From: Linus Torvalds [mailto:torvalds@transmeta.com]
> Sent: Monday, March 24, 2003 12:40 AM
> To: linux-kernel@vger.kernel.org
> Subject: Re: lmbench results for 2.4 and 2.5 -- updated results
>
>
> >--page fault (is this significant?)
>
> I don't think so, there's something strange with the lmbench pagefault
> tests, it only has one significant digit of accuracy, and I don't even
> know what it is testing. Because of the single lack of precision, it's
> hard to tell what the real change is.
>

This single digit accuracy is coming from a minor integer division bug
in lmbench.
Appended LMbench patch should resolve it.

Thanks,
-Venkatesh

--- LMbench/src/lat_pagefault.c.org Mon Mar 24 10:40:46 2003
+++ LMbench/src/lat_pagefault.c Mon Mar 24 10:54:34 2003
@@ -67,5 +67,5 @@
n++;
}
use_int(sum);
- fprintf(stderr, "Pagefaults on %s: %d usecs\n", file, usecs/n);
+ fprintf(stderr, "Pagefaults on %s: %f usecs\n", file, (1.0 *
usecs) / n);
}
-
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: 2005-03-22 13:34    [W:0.051 / U:6.912 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site