- 主题:Linux应用需要精度1毫秒的定时器,有什么方案?
1 ms timer with jitter < 50us on x86,
there 2 solution:
1) Preempt RT Patchset
2) Xenomai
Xenomai have better performance, Preempt RT have larger community.
【 在 wjhtingerx 的大作中提到: 】
: rt
--
FROM 192.102.204.*
after tuning, x86 can reach < 30us jitter.
【 在 moudy 的大作中提到: 】
: x86 cache miss,managemetn interrupt这些能吃掉多少时间?
--
FROM 192.102.204.*
that's correct.
but it is possible. some Intel engineers focus on this area.
【 在 lvsoft 的大作中提到: 】
: 不知道,x86 rt的问题坑太深了,cache miss, interrupt这些只能说对于mcu这种很简单的还可以讨论下。
: 比如我记得比较典型的cortex m3,就说stm32f1吧。靠interrupt极限能达到200ns量级的max jitter。
: x86方面intel有篇white paper,我记得丫用了一堆奇淫技巧实现了2us的max jitter,我反正是复现不出来。。。
: ...................
--
FROM 192.102.204.*