Skip to contentSkip to conversation

xenomai latency shows negative value

DISCUSSION 孙涛 2 participants 3 messages Nov 14, 2024 – Nov 18, 2024

lore
Share & tools
lore

孙涛

author
#0 lore raw

dear all,
I run xenomai latency tool on my device like "./latency -t 1 -p 100", the "lat best" shows negative value.I autotune it like "echo 0 > /proc/xenomai/latency", it changes nothing.Please help me. Best regards,
Suntao

#1 lore raw
Quoted 3 lines · 孙涛

dear all,
I run xenomai latency tool on my device like "./latency -t 1 -p 100", the "lat best" shows negative value.I autotune it like "echo 0 > /proc/xenomai/latency", it changes nothing.Please help me.

This only clears the userspace latency, not that of the kernel or interrupt handlers, see /proc/xenomai/clock/coreclk. To manually clear them:

echo "i0:k0:u0" > /proc/xenomai/clock/coreclk

Jan

author
#2 lore raw
In reply to 孙涛

I solve it by using xenomai autotune tools.

Quoted 5 lines · 孙涛

dear all,
I run xenomai latency tool on my device like "./latency -t 1 -p 100", the "lat best" shows negative value.I autotune it like "echo 0 > /proc/xenomai/latency", it changes nothing.Please help me. Best regards,
Suntao