Hi!
are the kernels compiled with 1000hz resolution?
Are there differences across platforms?
I need to know this for mvebu platform.
Thank you.
Kernel Resolution/HZ
Moderator: Moderators
Re: Kernel Resolution/HZ
Hi what do you mean by 1000 HZ?
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260
NETGEAR Nighthawk R7800
NETGEAR R6260
Re: Kernel Resolution/HZ
The tick rate has a frequency of HZ hertz and a period of 1/HZ seconds. For example, in include/asm-i386/param.h, the i386 architecture defines:
#define HZ 1000 /* internal kernel time frequency */
Therefore, the timer interrupt on i386 has a frequency of 1000HZ and occurs 1,000 times per second (every one-thousandth of a second, which is every millisecond). Most other architectures have a tick rate of 100. Table 10.1 is a complete listing of the supported architectures and their defined tick rates.
You can define the kernel tick rate when you build the kernel in the .config.Increasing the tick rate means the timer interrupt runs more frequently. Consequently, the work it performs occurs more often. This has the following benefits:
The timer interrupt has a higher resolution and, consequently, all timed events have a higher resolution
The accuracy of timed events improves
The default is 250hz i think. So you get a tick every 4ms. When changed to 1000hz you get a tick every 1ms.
Im asking because of the hfsc paper states that a kernel with higher resolution/tick rate is preferred.
Re: Kernel Resolution/HZ
It won't have been changed from the openwrt default.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.