This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux [2025/10/25 14:23] – jotasandoku | linux [2026/07/05 15:39] (current) – jotasandoku | ||
|---|---|---|---|
| Line 1175: | Line 1175: | ||
| load moduleethtool –i eth4 # | load moduleethtool –i eth4 # | ||
| ethtool -i eth4driver: sfcversion: 4.1.0.6734firmware-version: | ethtool -i eth4driver: sfcversion: 4.1.0.6734firmware-version: | ||
| + | |||
| + | **TSHOOT IN KERNEL-BYPASS SYSTEMS** | ||
| + | cyclictest -p 99 -t 1 -a 3 -m -h 200 -D 60 # measures how late a thread actually wakes versus when it asked to | ||
| + | # -p 99 real-time priority 99 | ||
| + | # -a 3 | ||
| + | # -t 1 one thread | ||
| + | # -h 200 build a latency histogram up to 200 us | ||
| + | # -D 60 run for 60 seconds | ||
| + | |||
| + | # structural tests before any ftracer | ||
| + | cat / | ||
| + | # -> any device IRQ incrementing on your core = misrouted; fix affinity | ||
| + | cat / | ||
| + | cat / | ||
| + | grep . / | ||
| | | ||
| + | | ||
| + | trace-cmd record -p function_graph -M 8 sleep 60 # -M 8 = cpumask for core 3 | ||
| + | trace-cmd report | less | ||
| + | # or watch what preempted your task: | ||
| + | trace-cmd record -e sched: | ||
| + | ---- | ||
| + | |||
| \\ | \\ | ||
| enabling spinning\\ | enabling spinning\\ | ||