Re: 2.5.53mm2 for AIMbench

khromy (khromy@lnuxlab.ath.cx)
Wed, 1 Jan 2003 15:14:51 -0500


On Wed, Jan 01, 2003 at 09:35:37AM +0530, Sowmya Adiga wrote:
> Hi,
>
> I gave 60 second for each test while running AIM bench for
> 2.5.53mm2 patch.But it ran each test for only 6 second.Is there any
> change in kernel frequency with this release?
>
> Regards
> sowmya adiga

I had some timing problems also but Andrew pointed out the following:

Seems that this is because different parts of the kernel are using
different values of HZ (!).

In include/asm-i386/param.h, please add:

#ifdef __KERNEL__

+#include <linux/config.h>

#ifdef CONFIG_1000HZ

Here is a patch for that change:

--- linux-2.5/include/asm-i386/param.h.bak 2002-12-30 00:39:35.000000000 -0500
+++ linux-2.5/include/asm-i386/param.h 2002-12-30 00:40:18.000000000 -0500
@@ -3,6 +3,8 @@

#ifdef __KERNEL__

+#include <linux/config.h>
+
#ifdef CONFIG_1000HZ
# define HZ 1000 /* Internal kernel timer frequency */
#else

-- 
L1:	khromy		;khromy(at)lnuxlab.ath.cx
-
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/