|
延迟测试对比
1 低延迟内核
gentoo-rpi4 /usr/src # cyclictest -l 10000 -m -Sp98 -i100 -d0
# /dev/cpu_dma_latency set to 0us
policy: fifo: loadavg: 0.08 0.33 0.17 2/108 7829
T: 0 ( 7826) P:98 I:100 C: 10000 Min: 8 Act: 9 Avg: 9 Max: 60
T: 1 ( 7827) P:98 I:100 C: 9936 Min: 8 Act: 9 Avg: 9 Max: 16
T: 2 ( 7828) P:98 I:100 C: 9823 Min: 7 Act: 9 Avg: 8 Max: 14
T: 3 ( 7829) P:98 I:100 C: 9691 Min: 9 Act: 9 Avg: 9 Max: 30
2 automagic内核 (做了内核隔离,所以只有三cpu的测试结果)
GentooRed /usr/src/linux # cyclictest -l 10000 -m -Sp98 -i100 -d0
WARN: stat /dev/cpu_dma_latency failed: No such file or directory
policy: fifo: loadavg: 0.97 0.43 0.16 1/124 25456
T: 0 (25454) P:98 I:100 C: 10000 Min: 4 Act: 4 Avg: 4 Max: 26
T: 1 (25455) P:98 I:100 C: 9942 Min: 4 Act: 5 Avg: 5 Max: 61
T: 2 (25456) P:98 I:100 C: 9839 Min: 4 Act: 5 Avg: 4 Max: 27
|
|