CONFIG_HZ in i.MX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CONFIG_HZ in i.MX6

1,980 次查看
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?

标签 (3)
2 回复数

1,319 次查看
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 项奖励

1,319 次查看
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 项奖励