Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

2.5.53mm2 for AIMbench

2 views
Skip to first unread message

Sowmya Adiga

unread,
Dec 31, 2002, 11:10:06 PM12/31/02
to
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

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

khromy

unread,
Jan 1, 2003, 3:00:12 PM1/1/03
to
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

0 new messages