Skip to contentSkip to conversation

2.5.53mm2 for AIMbench

DISCUSSION Sowmya Adiga 2 participants 2 messages Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Sowmya Adiga

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:

include/asm-i386/param.h renamed from include/asm-i386/param.h.bak +2 -0
@@ -3,6 +3,8 @@
 
 #ifdef __KERNEL__
 
+#include <linux/config.h>
+
 #ifdef CONFIG_1000HZ
 # define HZ	1000		/* Internal kernel timer frequency */
 #else
Signature · 1 line
L1:	khromy		;khromy(at)lnuxlab.ath.cx