public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: khromy@lnuxlab.ath.cx (khromy)
To: Sowmya Adiga <sowmya.adiga@wipro.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.53mm2 for AIMbench
Date: Wed, 1 Jan 2003 15:14:51 -0500	[thread overview]
Message-ID: <20030101201451.GA3397@lnuxlab.ath.cx> (raw)
In-Reply-To: <002c01c2b14b$0ecd8a10$6009720a@wipro.com>

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

      reply	other threads:[~2003-01-01 19:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-01  4:05 2.5.53mm2 for AIMbench Sowmya Adiga
2003-01-01 20:14 ` khromy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030101201451.GA3397@lnuxlab.ath.cx \
    --to=khromy@lnuxlab.ath.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sowmya.adiga@wipro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox