RE: Interrupt frequency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> If I change the HZ value from 100 to 1000 can I get more precision ?
> 
> What are the things affected ? (I know one thing the 'uptime' is
> affected since it keeps time in jiffies)
> 
If you change HZ from 100 to 1000 you will get task slice of 1ms.
This means that a process will run for 1ms before it gives up the CPU. 
On our systems I changed HZ to 4096 this gives a slice time of  0.25ms( you
have to do minor modifications to some other files to go that low 1000
should be fine.)
I have not seen any problems and uptime seems to be accurate. 

The systems we use are robotic equipment so we don't do a lot other than
running the machine.
We needed small slice time to drive stepper motors.





The information contained in this transmission may contain privileged and confidential information.  
It is intended only for the use of the person(s) named above. If you are not the intended recipient, 
you are hereby notified that any review, dissemination, distribution or duplication of this communication 
is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original message. This communication is from TI Automotive.


_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux