Strange results with changing HZ

Wojciech Kromer wojciech.kromer at dgt.com.pl
Fri Dec 9 21:33:50 EST 2005


Dnia 2005-11-21 12:43, Użytkownik David Jander napisał:

>On Monday 21 November 2005 08:44, Wojciech Kromer wrote:
>  
>
>>My system is:
>> - 2.4.25 kernel from denx.de
>> - uclibc (gcc 3.4.2) + busybox
>> - changed HZ to 1000
>> - rebuild kernel only
>>
>>AFAIR there souldn't be any need to recompile user apps.
>>    
>>
>
>Just an uneducated guess, but are you sure uclibc doesn't depend on HZ at all?
>Some things might be just straight syscalls, others might be implemented in 
>userspace (inside uclibc)... for example alarm(1) programming an alarm on 
>jiffies+1/HZ, and HZ being compiled in from kernel headers ?
>I may just be talking rubbish though.
>  
>

Hmm, after recompiling whole uclibc stuff it seem to work same.
There should be kernel problem. Sleep & select works fine, but alarm 
works 10 times faster.

Anyone tries to change HZ to 1000?





More information about the Linuxppc-embedded mailing list