kernel 2.6 very sluggish

Dave Jones davej at redhat.com
Wed Dec 24 12:06:55 UTC 2003


On Tue, 2003-12-23 at 23:12, Calderon, Jay wrote:
> Sluggishness fixed. Yummed //people.redhat.com/arjanv/2.5 kernel. Thanks
> for all the help. You people are AWESOME. Loving kernel 2.6 now.
> 

The big question is *why* Arjan's feels faster.
The most obvious candidate is probably that HZ is defined to 1000 on
mine (as it is upstream), and 100 in Arjan's.  It would be useful if
folks could recompile mine from source, and change HZ and see if that
alone is enough to fix the 'sluggishness'. The relevant patch is below.
(evo will probably munge it horribly, but it's only a one-liner which
should be obvious to regenerate).

Thanks,

	Dave

--- linux-2.6.0-test11/include/asm-i386/param.h~	2003-12-03
18:44:46.172384434 +0100
+++ linux-2.6.0-test11/include/asm-i386/param.h	2003-12-03
18:44:46.187382475 +0100
@@ -2,7 +2,7 @@
 #define _ASMi386_PARAM_H
 
 #ifdef __KERNEL__
-# define HZ		1000		/* Internal kernel timer frequency */
+# define HZ		100		/* Internal kernel timer frequency */
 # define USER_HZ	100		/* .. some user interfaces are in "ticks" */
 # define CLOCKS_PER_SEC	(USER_HZ)	/* like times() */
 #endif






More information about the users mailing list