Re: kernel 2.6 very sluggish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux