CONFIG_HZ in i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CONFIG_HZ in i.MX6

1,940 Views
joãoramos
Contributor I

Hello,

For a project, I am using a i.MX6Q processor.

I am currently developing using kernel version 4.0.0, and I have noticed that the kernel configuration CONFIG_HZ, to change the tick timer, is hardcoded into 100 and cannot be changed in the kernel configuration (using menuconfig or Xconfig), other than hacking the kernel sources.

Is there any particular reason for this?

Is it advisable to change this configuration?

Labels (3)
2 Replies

1,279 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I do not know if there is a special reason for that.

But basically chaning the tick frequency will modify the sw timers resolution, the cpu will spend more overall time attending kernel requests than the application and it may wake up more offten if a low power mode is used.

Thanks to Jimmy we have more information about this.

/Alejandro

0 Kudos

1,279 Views
jimmychan
NXP TechSupport
NXP TechSupport

If you want to change it, you can change it in /linux/arch/arm/Kconfig under "config HZ", default is 100.

For your reference, please visit this :

How fast should HZ be? [LWN.net]

0 Kudos