lkml.org 
[lkml]   [2003]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: 2.5.53mm2 for AIMbench
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.028 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site