Re: [PATCH] HZ: 300Hz support

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

 



Alan Cox wrote:
> Fix two things. Firstly the unit is "Hz" not "HZ". Secondly it is useful
> to have 300Hz support when doing multimedia work. 250 is fine for us in
> Europe but the US frame rate is 30fps (29.99 blah for pedants). 300
> gives us a tick divisible by both 25 and 30, and for interlace work 50
> and 60. It's also giving similar performance to 250Hz.
> 
> I'd argue we should remove 250 and add 300, but that might be excess
> disruption for now.
> 
> Signed-off-by: Alan Cox <[email protected]>
> 
> diff -u --new-file --recursive --exclude-from /usr/src/exclude
> linux.vanilla-2.6.19-rc4-mm1/kernel/Kconfig.hz
> linux-2.6.19-rc4-mm1/kernel/Kconfig.hz
> --- linux.vanilla-2.6.19-rc4-mm1/kernel/Kconfig.hz	2006-10-31
> 15:40:54.000000000 +0000
> +++ linux-2.6.19-rc4-mm1/kernel/Kconfig.hz	2006-11-08 17:06:38.000000000
> +0000
> @@ -7,7 +7,7 @@
>  	default HZ_250
>  	help
>  	 Allows the configuration of the timer frequency. It is customary
> -	 to have the timer interrupt run at 1000 HZ but 100 HZ may be more
> +	 to have the timer interrupt run at 1000 Hz but 100 Hz may be more
>  	 beneficial for servers and NUMA systems that do not need to have
>  	 a fast response for user interaction and that may experience bus
>  	 contention and cacheline bounces as a result of timer interrupts.
> @@ -19,21 +19,30 @@
>  	config HZ_100
>  		bool "100 HZ"
[...]
>  	config HZ_250
>  		bool "250 HZ"
[...]
> +	config HZ_300
> +		bool "300 HZ"
[...]
>  	config HZ_1000
>  		bool "1000 HZ"

Shouldn't be these also changed (I mean those in quotes)?

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux