EVL: Latency issues probably connected to amdgpu driver
Hello
This is not a new issue and also probably not an evl issue but I try it anyway here.
I have latency spikes as soon the GPU has something to do. The best way to reproduce it so far is watching YouTube in Firefox where it happens withing 5-10 min.
It is the same with Xenomai4 or PREEMT_RT while with Xenomai4, the spikes are somewhat smaller (~100 us vs ~150 us).
If the GPU stays idle, the latency is ~1us idle / ~2us with stress-ng, quite good. Moving windows around / open close increases it to ~3-4us.
My first theory was, that probably the copy CPU <> GPU is creating the issue with keeping memory or cache busy. So i cripple the PCI to Gen1x1 with:
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
Interestingly, the latency is way worse, up to 500us just moving some windows around, so it might be something locking up the EVL core while copying. However, as much as I understand how dovetail works, this should be impossible?
Do you have any hints how to debug / fix this issue?
Regards
Hannes
Attached some test results. The kernel config is also included.
test1:
evl trace -eirq
latmus -p100 -gtest1.dat
Watch youtube until a spike happens
evl trace > test1_all.txt
evl trace -c3 > test1_c3.txt
test2:
evl trace
latmus -p100 -gtest2.dat
Watch youtube until a spike happens
evl trace > test2_all.txt
evl trace -c3 > test2_c3.txt
test3:
latmus -p100 -gtest3_noactivity.dat
just do nothing
test4:
latmus -p100 -gtest4_stressng.dat
tress-ng --cpu 2 --cpu-method all --vm 2 --vm-bytes 50% --fork 2 just do nothing
test5:
latmus -p100 -gtest5_window_open_close.dat
open/close some windows in xfce4
even this creates immediately visible latency
Kernel command line:
isolcpus=managed_irq,domain,2-3 irqaffinity=0-1 rcu_nocbs=2-3 rcu_nocb_poll intel_idle.max_cstate=1 cpufreq.off=1 nosoftlockup nowatchdog mce=off evl.oobcpus=3
CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
GPU: AMD Radeon RX 460 2GB
Quoted 17 lines · Hannes Diethelm
Hello
This is not a new issue and also probably not an evl issue but I try it anyway here.
I have latency spikes as soon the GPU has something to do. The best way to reproduce it so far is watching YouTube in Firefox where it happens withing 5-10 min.
It is the same with Xenomai4 or
PREEMT_RTwhile with Xenomai4, the spikes are somewhat smaller (~100 us vs ~150 us).If the GPU stays idle, the latency is ~1us idle / ~2us with stress-ng, quite good. Moving windows around / open close increases it to ~3-4us.
My first theory was, that probably the copy CPU <> GPU is creating the issue with keeping memory or cache busy. So i cripple the PCI to Gen1x1 with:
Quoted 7 lines
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
Interestingly, the latency is way worse, up to 500us just moving some windows around, so it might be something locking up the EVL core while copying. However, as much as I understand how dovetail works, this should be impossible?
Do you have any hints how to debug / fix this issue?
Looking at the ftrace logs (thanks for this btw, that's exactly what we need to chase such kind of issues), I see some unexplained ~140 µs latency bump right after programming the LAPIC deadline timer.
test2_all:
<idle>-0 [003] *.~1. 834.920082: lapic_next_deadline <-evl_program_proxy_tick
<idle>-0 [003] *.~1. 834.920083: do_trace_write_msr <-lapic_next_deadline
<idle>-0 [003] *.~1. 834.920083: write_msr: 6e0, value 278dc7d4cab
<idle>-0 [003] *.~1. 834.920222: evl_timer_shot: latmus_pulse_handler at 834.920317 (delay: 94 us, 37780 cycles)Since there is not reason for such MSR update to cause such latency peak and no smoking gun is visible from any CPU around this spot either, I'd suspect an issue with some kind of power management activity. AMD GPUs have pstates, any luck with any tweak mentioned by [1]?
[1] https://docs.kernel.org/admin-guide/pm/amd-pstate.html
Signature · 1 line
Philippe.
Am 27.07.26 um 14:54 schrieb Philippe Gerum:
Quoted 37 lines
Quoted 17 lines · Hannes Diethelm
Hello
This is not a new issue and also probably not an evl issue but I try it anyway here.
I have latency spikes as soon the GPU has something to do. The best way to reproduce it so far is watching YouTube in Firefox where it happens withing 5-10 min.
It is the same with Xenomai4 or
PREEMT_RTwhile with Xenomai4, the spikes are somewhat smaller (~100 us vs ~150 us).If the GPU stays idle, the latency is ~1us idle / ~2us with stress-ng, quite good. Moving windows around / open close increases it to ~3-4us.
My first theory was, that probably the copy CPU <> GPU is creating the issue with keeping memory or cache busy. So i cripple the PCI to Gen1x1 with:
Quoted 7 lines
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
Interestingly, the latency is way worse, up to 500us just moving some windows around, so it might be something locking up the EVL core while copying. However, as much as I understand how dovetail works, this should be impossible?
Do you have any hints how to debug / fix this issue?
Looking at the ftrace logs (thanks for this btw, that's exactly what we need to chase such kind of issues), I see some unexplained ~140 µs latency bump right after programming the LAPIC deadline timer.
test2_all:<idle>-0 [003] *.~1. 834.920082: lapic_next_deadline <-evl_program_proxy_tick <idle>-0 [003] *.~1. 834.920083: do_trace_write_msr <-lapic_next_deadline <idle>-0 [003] *.~1. 834.920083: write_msr: 6e0, value 278dc7d4cab <idle>-0 [003] *.~1. 834.920222: evl_timer_shot: latmus_pulse_handler at 834.920317 (delay: 94 us, 37780 cycles)
Quoted 7 lines
Since there is not reason for such MSR update to cause such latency peak and no smoking gun is visible from any CPU around this spot either, I'd suspect an issue with some kind of power management activity. AMD GPUs have pstates, any luck with any tweak mentioned by [1]?
[1] is for amd cpu's. [2] would be the GPU
By using intel_idle.max_cstate=1 cpufreq.off=1, most CPU power saving should be disabled. But I might have missed a flag. powertop shows constant frequency and only C0/C1 activity.
However, I would expect that CPU power saving generates spikes depending on CPU activity. But I have spikes depending on the GPU activity.
Even moving the mouse around on the desktop is immediately visible in the latency. Just only increasing it by ~1-2us while stress-ng stressing the CPU has less influence.
I did some more tests with
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
This cap's the PCIE speed for the GPU. Interestingly, if I add these flags, latency is way worse. Moving the mouse can generate ~200us delays. Watching YouTube, its up to 500us.
Without these options:
LnkSta: Speed 8GT/s, Width x8
With them:
LnkSta: Speed 2.5GT/s (downgraded), Width x1 (downgraded)
It feels like: GPU needs to copy some data -> freeze whole CPU and copy -> done
Attached the results, this time with 1ms period so I don't get overruns.
test10 with evl trace -eirq
test11 with evl trace -e
Quoted 44 lines · Hannes Diethelm
Am 27.07.26 um 14:54 schrieb Philippe Gerum:
Quoted 35 lines
Quoted 17 lines · Hannes Diethelm
Hello
This is not a new issue and also probably not an evl issue but I try it anyway here.
I have latency spikes as soon the GPU has something to do. The best way to reproduce it so far is watching YouTube in Firefox where it happens withing 5-10 min.
It is the same with Xenomai4 or
PREEMT_RTwhile with Xenomai4, the spikes are somewhat smaller (~100 us vs ~150 us).If the GPU stays idle, the latency is ~1us idle / ~2us with stress-ng, quite good. Moving windows around / open close increases it to ~3-4us.
My first theory was, that probably the copy CPU <> GPU is creating the issue with keeping memory or cache busy. So i cripple the PCI to Gen1x1 with:
Quoted 7 lines
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
Interestingly, the latency is way worse, up to 500us just moving some windows around, so it might be something locking up the EVL core while copying. However, as much as I understand how dovetail works, this should be impossible?
Do you have any hints how to debug / fix this issue?
Looking at the ftrace logs (thanks for this btw, that's exactly what we
need to chase such kind of issues), I see some unexplained ~140 µs latency bump right after programming the LAPIC deadline timer.test2_all:<idle>-0 [003] *.~1. 834.920082: lapic_next_deadline <-evl_program_proxy_tick <idle>-0 [003] *.~1. 834.920083: do_trace_write_msr <-lapic_next_deadline <idle>-0 [003] *.~1. 834.920083: write_msr: 6e0, value 278dc7d4cab <idle>-0 [003] *.~1. 834.920222: evl_timer_shot: latmus_pulse_handler at 834.920317 (delay: 94 us, 37780 cycles)Quoted 7 lines
Since there is not reason for such MSR update to cause such latency peak
and no smoking gun is visible from any CPU around this spot either, I'd suspect an issue with some kind of power management activity. AMD GPUs have pstates, any luck with any tweak mentioned by [1]?
[1] https://docs.kernel.org/admin-guide/pm/amd-pstate.html
Quoted 2 lines
[1] is for amd cpu's. [2] would be the GPU
Yep, confusing typo. The idea was that we might have some pstate shenanigan occurring as the CPU stalls, waiting for the GPU to complete some batch.
Quoted 3 lines
By using intel_idle.max_cstate=1 cpufreq.off=1, most CPU power saving should be disabled. But I might have missed a flag. powertop shows constant frequency and only C0/C1 activity.
Ok, so the pstate assumption does not hold.
Quoted 3 lines
However, I would expect that CPU power saving generates spikes depending on CPU activity. But I have spikes depending on the GPU activity.
IMHO, the way GPUs and CPUs may interact via the interconnect makes it difficult to precisely assess which is to be charged for the latency.
Quoted 9 lines
Even moving the mouse around on the desktop is immediately visible in the latency. Just only increasing it by ~1-2us while stress-ng stressing the CPU has less influence.
I did some more tests with
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
This cap's the PCIE speed for the GPU. Interestingly, if I add these flags, latency is way worse. Moving the mouse can generate ~200us delays. Watching YouTube, its up to 500us.
Quoted 8 lines
Without these options:
LnkSta: Speed 8GT/s, Width x8With them:
LnkSta: Speed 2.5GT/s (downgraded), Width x1 (downgraded)It feels like: GPU needs to copy some data -> freeze whole CPU and copy -> done
This seems to point to a CPU stall, waiting for the GPU to complete some task.
Quoted 9 lines
Attached the results, this time with 1ms period so I don't get overruns.
test10 with evl trace -eirq
test11 with evl trace -e[2] https://www.kernel.org/doc/html/v4.20/gpu/amdgpu.html
[2. application/x-xz; testresults2.tar.xz]...
<idle>-0 [003] *.~1. 513.339298: evl_timer_shot: latmus_pulse_handler at 513.340060 (delay: 763 us, 304611 cycles)
...
/* CPU3 enters idle state, so hard irqs are on */
<idle>-0 [003] *..1. 513.338085: cpu_idle: state=1 cpu_id=3
...
<idle>-0 [003] *..1. 513.339197: handle_irq_pipelined_prepare <-arch_pipeline_entry
<idle>-0 [003] *.~1. 513.339239: arch_handle_irq <-arch_pipeline_entry
<idle>-0 [003] *.~1. 513.339269: irq_to_desc <-arch_handle_irqYep, at any rate, the traces clearly point at an hardware related stall.
Signature · 1 line
Philippe.
Am 28.07.26 um 12:09 schrieb Philippe Gerum:
Quoted 57 lines
Quoted 44 lines · Hannes Diethelm
Am 27.07.26 um 14:54 schrieb Philippe Gerum:
Quoted 35 lines
Quoted 17 lines · Hannes Diethelm
Hello
This is not a new issue and also probably not an evl issue but I try it anyway here.
I have latency spikes as soon the GPU has something to do. The best way to reproduce it so far is watching YouTube in Firefox where it happens withing 5-10 min.
It is the same with Xenomai4 or
PREEMT_RTwhile with Xenomai4, the spikes are somewhat smaller (~100 us vs ~150 us).If the GPU stays idle, the latency is ~1us idle / ~2us with stress-ng, quite good. Moving windows around / open close increases it to ~3-4us.
My first theory was, that probably the copy CPU <> GPU is creating the issue with keeping memory or cache busy. So i cripple the PCI to Gen1x1 with:
Quoted 7 lines
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
Interestingly, the latency is way worse, up to 500us just moving some windows around, so it might be something locking up the EVL core while copying. However, as much as I understand how dovetail works, this should be impossible?
Do you have any hints how to debug / fix this issue?
Looking at the ftrace logs (thanks for this btw, that's exactly what we
need to chase such kind of issues), I see some unexplained ~140 µs latency bump right after programming the LAPIC deadline timer.test2_all:<idle>-0 [003] *.~1. 834.920082: lapic_next_deadline <-evl_program_proxy_tick <idle>-0 [003] *.~1. 834.920083: do_trace_write_msr <-lapic_next_deadline <idle>-0 [003] *.~1. 834.920083: write_msr: 6e0, value 278dc7d4cab <idle>-0 [003] *.~1. 834.920222: evl_timer_shot: latmus_pulse_handler at 834.920317 (delay: 94 us, 37780 cycles)Quoted 7 lines
Since there is not reason for such MSR update to cause such latency peak
and no smoking gun is visible from any CPU around this spot either, I'd suspect an issue with some kind of power management activity. AMD GPUs have pstates, any luck with any tweak mentioned by [1]?
[1] https://docs.kernel.org/admin-guide/pm/amd-pstate.htmlQuoted 2 lines
[1] is for amd cpu's. [2] would be the GPU
Yep, confusing typo. The idea was that we might have some pstate shenanigan occurring as the CPU stalls, waiting for the GPU to complete some batch.
Quoted 3 lines
By using intel_idle.max_cstate=1 cpufreq.off=1, most CPU power saving should be disabled. But I might have missed a flag. powertop shows constant frequency and only C0/C1 activity.
Quoted 8 lines
Ok, so the pstate assumption does not hold.
Quoted 3 lines
However, I would expect that CPU power saving generates spikes depending on CPU activity. But I have spikes depending on the GPU activity.
IMHO, the way GPUs and CPUs may interact via the interconnect makes it difficult to precisely assess which is to be charged for the latency.
It's a PCIe GPU. So there should be no special interconnect issue?
I tried the following with PREEMT_RT:
- CPU integrated Intel GPU: Really bad, wide spread latency around 40us
- NVidia GT 730 + nouveau: Many 180us spikes
- AMD Radeon RX 460 + amdgpu: Quite good, a few us max. Expect the issue with rare spikes connected to activity
I have still to test the Integrated GPU together with EVL.
Quoted 13 lines
Quoted 13 lines
Even moving the mouse around on the desktop is immediately visible in the latency. Just only increasing it by ~1-2us while stress-ng stressing the CPU has less influence.
I did some more tests with
amdgpu.pcie_gen_cap=0x00010000 amdgpu.pcie_lane_cap=0x00010000
This cap's the PCIE speed for the GPU. Interestingly, if I add these flags, latency is way worse. Moving the mouse can generate ~200us delays. Watching YouTube, its up to 500us.Without these options:
LnkSta: Speed 8GT/s, Width x8
Quoted 8 lines
Quoted 5 lines
With them:
LnkSta: Speed 2.5GT/s (downgraded), Width x1 (downgraded)It feels like: GPU needs to copy some data -> freeze whole CPU and copy -> done
This seems to point to a CPU stall, waiting for the GPU to complete some task.
Yes, looks like. But due to it is a PCIe GPU, I guess this is probably a driver issue? But all this hardware is quiet complex, might still be anything.
Quoted 20 lines
Quoted 10 lines
Attached the results, this time with 1ms period so I don't get overruns.
test10 with evl trace -eirq
test11 with evl trace -e[2] https://www.kernel.org/doc/html/v4.20/gpu/amdgpu.html
[2. application/x-xz; testresults2.tar.xz]...
<idle>-0 [003] *.~1. 513.339298: evl_timer_shot: latmus_pulse_handler at 513.340060 (delay: 763 us, 304611 cycles) ... /* CPU3 enters idle state, so hard irqs are on */ <idle>-0 [003] *..1. 513.338085: cpu_idle: state=1 cpu_id=3 ... <idle>-0 [003] *..1. 513.339197: handle_irq_pipelined_prepare <-arch_pipeline_entry <idle>-0 [003] *.~1. 513.339239: arch_handle_irq <-arch_pipeline_entry <idle>-0 [003] *.~1. 513.339269: irq_to_desc <-arch_handle_irq
Quoted 2 lines
Yep, at any rate, the traces clearly point at an hardware related stall.
intel_idle.max_cstate=1 allows cstate=1 but not lower. Getting rid of this cpu_idle is easy:
Add idle=poll to the cmdline. Now it is gone. However, the stall is still here. New test data attached.
Strangely, idle=poll resulted in slightly worse latency, the reason
why I removed it. Might be a power issue, so when the socket power gets to high, the CPU stalls?
I created an annotation script in python that shows the latency's directly from the trace, so no need to manually calculate the numbers based on timestamps. evl_annotate_trace.py also in the attached zip.
What it does: Remember the timestamp / at: value from evl_timer_shot and annotates the next irq / evl_timer_shot in color. There are some assumptions based on the data:
- evl_timer_shot: [proxy-timer/3]: I did not see any timestamp that triggers this one -> Ignore
- After irq_handler_entry: irq=121 name=proxy tick -> next evl_timer_shot: latmus_pulse_handler is not triggered by a evl_timer_shot. So don't annotate it but use it for next irq.
It is just a first draft but helps a lot interpreting the data. If you think this is useful, it could be improved by adding annotations to all functions that lead to irq_handler_entry. What are the functions leading irq_handler_entry after the hardware irq comes in? I see:
-- Last calls before sleep
<idle>-0 [003] #..1. 222.791641: sync_irq_stage <-handle_irq_pipelined_finish
<idle>-0 [003] #..1. 222.791641: synchronize_pipeline <-irqentry_exit
<idle>-0 [003] #..1. 222.791642: sync_irq_stage <-irqentry_exit
-- This seams to be the list before irq_handler_entry
<idle>-0 [003] *..1. 222.792623: handle_irq_pipelined_prepare <-arch_pipeline_entry
<idle>-0 [003] *.~1. 222.792623: arch_handle_irq <-arch_pipeline_entry
<idle>-0 [003] *.~1. 222.792623: irq_to_desc <-arch_handle_irq
<idle>-0 [003] *.~1. 222.792623: ma_read: mtree_load Node: 0000000000000000 (0 18446744073709551615) range: 524548-524548
<idle>-0 [003] *.~1. 222.792624: rcu_oob_prepare_lock <-mtree_load
<idle>-0 [003] *.~1. 222.792624: __rcu_read_lock <-mtree_load
<idle>-0 [003] *.~1. 222.792624: __rcu_read_unlock <-mtree_load
<idle>-0 [003] *.~1. 222.792624: rcu_oob_finish_lock <-mtree_load
<idle>-0 [003] *.~1. 222.792624: generic_pipeline_irq_desc <-arch_handle_irq
<idle>-0 [003] *.~1. 222.792624: irq_pipeline_entry: irq=524548
<idle>-0 [003] *.~1. 222.792624: handle_apic_irq <-generic_pipeline_irq_desc
<idle>-0 [003] *.~1. 222.792625: handle_oob_irq <-generic_pipeline_irq_desc
<idle>-0 [003] *.~1. 222.792625: do_oob_irq <-handle_oob_irq
<idle>-0 [003] *.~1. 222.792625: irq_handler_entry: irq=524548 name=Out-of-band LAPIC timer interruptAssuming it is a CPU stall: Do you have a good way to debug / get rid of it?
It is not absolutely necessary for my application, it is good enough. No need to watch you tube while milling. However, it would be nice to track it down and fix it, just out of interest how to do it and learn something.
Annotated traces. Looks like in a bad case, not only the wake up is late but all is just way slower.
From test11_c3.txt:
Good case:
<idle>-0 [003] *.~1. 513.337065: evl_timer_shot: latmus_pulse_handler at 513.338060 (delay: 995 us, 397114 cycles) ----- pulse delay 5.00us since last 999.00 next shot 513.338060
...
<idle>-0 [003] *..1. 513.337084: cpu_idle: state=1 cpu_id=3
<idle>-0 [003] *..1. 513.338061: handle_irq_pipelined_prepare <-arch_pipeline_entry
<idle>-0 [003] *.~1. 513.338061: arch_handle_irq <-arch_pipeline_entry
...
<idle>-0 [003] *.~1. 513.338063: irq_handler_entry: irq=524548 name=Out-of-band LAPIC timer interrupt ------------------ irq delay 3.00us
...
<idle>-0 [003] *.~1. 513.338065: lapic_next_deadline <-evl_program_proxy_tick
<idle>-0 [003] *.~1. 513.338065: do_trace_write_msr <-lapic_next_deadline
<idle>-0 [003] *.~1. 513.338066: write_msr: 6e0, value 18e8a9902f1
<idle>-0 [003] *.~1. 513.338066: evl_timer_shot: latmus_pulse_handler at 513.339060 (delay: 995 us, 397018 cycles) ----- pulse delay 6.00us since last 1001.00 next shot 513.339060Bad case, limited GPU bandwidth:
<idle>-0 [003] *.~1. 513.338066: evl_timer_shot: latmus_pulse_handler at 513.339060 (delay: 995 us, 397018 cycles) ----- pulse delay 6.00us since last 1001.00 next shot 513.339060
...
<idle>-0 [003] *..1. 513.338085: cpu_idle: state=1 cpu_id=3
Just did not wake up?! 137us to late
<idle>-0 [003] *..1. 513.339197: handle_irq_pipelined_prepare <-arch_pipeline_entry
Another delay of 42us...
<idle>-0 [003] *.~1. 513.339239: arch_handle_irq <-arch_pipeline_entry
...
<idle>-0 [003] *.~1. 513.339293: irq_handler_entry: irq=524548 name=Out-of-band LAPIC timer interrupt ------------------ irq delay 233.00us LONG_DELAY
...
<idle>-0 [003] *.~1. 513.339297: lapic_next_deadline <-evl_program_proxy_tick
<idle>-0 [003] *.~1. 513.339297: do_trace_write_msr <-lapic_next_deadline
<idle>-0 [003] *.~1. 513.339297: write_msr: 6e0, value 18e8ac9b7b5
<idle>-0 [003] *.~1. 513.339298: evl_timer_shot: latmus_pulse_handler at 513.340060 (delay: 763 us, 304611 cycles) ----- pulse delay 238.00us since last 1232.00 next shot 513.340060 LONG_DELAYFrom test test22_c3.txt (new data, idle=poll)
Good case:
<idle>-0 [003] *.~1. 222.791627: evl_timer_shot: latmus_pulse_handler at 222.792622 (delay: 994 us, 396972 cycles) ----- pulse delay 5.00us since last 117.00 next shot 222.792622
... no cpu_idle
<idle>-0 [003] #..1. 222.791642: sync_irq_stage <-irqentry_exit
<idle>-0 [003] *..1. 222.792623: handle_irq_pipelined_prepare <-arch_pipeline_entry
<idle>-0 [003] *.~1. 222.792623: arch_handle_irq <-arch_pipeline_entry
...
<idle>-0 [003] *.~1. 222.792625: irq_handler_entry: irq=524548 name=Out-of-band LAPIC timer interrupt ------------------ irq delay 3.00us
...
<idle>-0 [003] *.~1. 222.792628: lapic_next_deadline <-evl_program_proxy_tick
<idle>-0 [003] *.~1. 222.792628: do_trace_write_msr <-lapic_next_deadline
<idle>-0 [003] *.~1. 222.792628: write_msr: 6e0, value bdaff33fa2
<idle>-0 [003] *.~1. 222.792629: evl_timer_shot: latmus_pulse_handler at 222.793622 (delay: 993 us, 396557 cycles) ----- pulse delay 7.00us since last 1002.00 next shot 222.793622Bad case, limited GPU bandwidth:
<idle>-0 [003] *.~1. 222.792629: evl_timer_shot: latmus_pulse_handler at 222.793622 (delay: 993 us, 396557 cycles) ----- pulse delay 7.00us since last 1002.00 next shot 222.793622
...
<idle>-0 [003] #..1. 222.792642: sync_irq_stage <-irqentry_exit
Just did not wake up?! 117us to late
<idle>-0 [003] *..1. 222.793739: handle_irq_pipelined_prepare <-arch_pipeline_entry
Another delay of 272us...
<idle>-0 [003] *.~1. 222.794011: arch_handle_irq <-arch_pipeline_entry
<idle>-0 [003] *.~1. 222.794011: irq_to_desc <-arch_handle_irq
And again 130us
<idle>-0 [003] *.~1. 222.794141: ma_read: mtree_load Node: 0000000000000000 (0 18446744073709551615) range: 524548-524548
<idle>-0 [003] *.~1. 222.794157: rcu_oob_prepare_lock <-mtree_load
<idle>-0 [003] *.~1. 222.794157: __rcu_read_lock <-mtree_load
<idle>-0 [003] *.~1. 222.794158: __rcu_read_unlock <-mtree_load
<idle>-0 [003] *.~1. 222.794158: rcu_oob_finish_lock <-mtree_load
<idle>-0 [003] *.~1. 222.794158: generic_pipeline_irq_desc <-arch_handle_irq
<idle>-0 [003] *.~1. 222.794158: irq_pipeline_entry: irq=524548
<idle>-0 [003] *.~1. 222.794159: handle_apic_irq <-generic_pipeline_irq_desc
<idle>-0 [003] *.~1. 222.794159: handle_oob_irq <-generic_pipeline_irq_desc
<idle>-0 [003] *.~1. 222.794159: do_oob_irq <-handle_oob_irq
<idle>-0 [003] *.~1. 222.794159: irq_handler_entry: irq=524548 name=Out-of-band LAPIC timer interrupt ------------------ irq delay 537.00us LONG_DELAY
...
<idle>-0 [003] *.~1. 222.794163: lapic_next_deadline <-evl_program_proxy_tick
<idle>-0 [003] *.~1. 222.794163: do_trace_write_msr <-lapic_next_deadline
<idle>-0 [003] *.~1. 222.794164: write_msr: 6e0, value bdb023f51d
<idle>-0 [003] *.~1. 222.794164: evl_timer_shot: latmus_pulse_handler at 222.794622 (delay: 458 us, 183034 cycles) ----- pulse delay 542.00us since last 1535.00 next shot 222.794622 LONG_DELAY