CONFIG_HZ in i.MX6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CONFIG_HZ in i.MX6

1,986件の閲覧回数
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,325件の閲覧回数
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,325件の閲覧回数
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 件の賞賛