Hi,

I'm getting nmi alarms about latency being > 100 us on a dual P-III 1GHz
(with and without CONFIG_SMP) once I start the latency test tool. But
the must be false positive. Can someone comment on this trace:

> :    *fn                 -109!  91.810  __ipipe_unstall_root+0x8 
> (default_idle+0x3f)
> :|    fn                  -18    0.220  __ipipe_handle_irq+0xe 
> (common_interrupt+0x18)
> :|    fn                  -17    0.228  __ipipe_ack_system_irq+0x8 
> (__ipipe_handle_irq+0x7f)
> :|    fn                  -17    0.191  __ipipe_dispatch_wired+0xb 
> (__ipipe_handle_irq+0x8a)
> :|  * fn                  -17    0.219  xnintr_clock_handler+0x8 
> (__ipipe_dispatch_wired+0x77)
> :|  * fn                  -17    0.198  rthal_nmi_disarm+0x8 
> (xnintr_clock_handler+0xd)
> :|  * fn                  -17    0.202  xnintr_irq_handler+0xb 
> (xnintr_clock_handler+0x1d)
> :|  * fn                  -16    0.197  xnpod_announce_tick+0x8 
> (xnintr_irq_handler+0x24)
> :|  * fn                  -16    0.256  xntimer_do_tick_aperiodic+0xe 
> (xnpod_announce_tick+0xf)
> :|  * fn                  -16    0.203  xnthread_periodic_handler+0x8 
> (xntimer_do_tick_aperiodic+0x7c)
> :|  * fn                  -16    0.590  xnpod_resume_thread+0xe 
> (xnthread_periodic_handler+0x1c)
> :|  * fn                  -15    0.315  rthal_nmi_arm+0xe 
> (xntimer_do_tick_aperiodic+0x1ed)
> :|  * (0x00) 0x000305fb   -15    0.223  rthal_nmi_arm+0xb5 
> (xntimer_do_tick_aperiodic+0x1ed)

[This is an ipipe_trace_special, reporting the delay (~200 us = 100 us
period + 100 us nmi-trigger).]

> :|  * fn                  -15    0.370  xnpod_schedule+0xe 
> (xnintr_irq_handler+0x5f)
> :|  * fn                  -14    0.694  __switch_to+0xe (xnpod_schedule+0x557)
> :|  * fn                  -13    0.826  __ipipe_restore_pipeline_head+0x8 
> (xnpod_wait_thread_period+0x1a1)
> :     fn                  -13    0.222  __ipipe_syscall_root+0x9 
> (system_call+0x20)
> :     fn                  -12    0.235  __ipipe_dispatch_event+0xe 
> (__ipipe_syscall_root+0x55)
> :     fn                  -12    0.223  hisyscall_event+0xe 
> (__ipipe_dispatch_event+0x5e)
> :     fn                  -12    0.188  __rt_task_wait_period+0xd 
> (hisyscall_event+0x220)
> :     fn                  -12    0.192  rt_task_wait_period+0x8 
> (__rt_task_wait_period+0x39)
> :     fn                  -12    0.250  xnpod_wait_thread_period+0xe 
> (rt_task_wait_period+0x32)
> :|  * fn                  -11    0.270  xnpod_suspend_thread+0xb 
> (xnpod_wait_thread_period+0x6b)
> :|  * fn                  -11    0.342  xnpod_schedule+0xe 
> (xnpod_suspend_thread+0xeb)
> :|  * fn                  -11    0.584  __switch_to+0xe (xnpod_schedule+0x557)
> :|    fn                  -10    0.264  __ipipe_walk_pipeline+0xe 
> (__ipipe_handle_irq+0x178)
> :|    fn                  -10    0.302  __ipipe_unstall_iret_root+0x8 
> (restore_raw+0x0)
> :     fn                  -10    0.191  __ipipe_stall_root+0x8 
> (default_idle+0x33)
> :    *fn                   -9+   6.641  __ipipe_unstall_root+0x8 
> (default_idle+0x3f)
> :|    fn                   -3    0.530  do_nmi+0xd (nmi_stack_correct+0x1d)
> :|    fn                   -2+   1.315  dummy_nmi_callback+0x8 (do_nmi+0x39)
> :|    fn                   -1    0.384  notifier_call_chain+0xb (do_nmi+0x7b)
> :|    fn                    0    0.612  rthal_nmi_watchdog_tick+0xe 
> (do_nmi+0x99)
> :|    fn                    0    0.373  rthal_latency_above_max+0x8 
> (rthal_nmi_watchdog_tick+0x21)
> <|    freeze 0x00000064     0    1.060  rthal_latency_above_max+0x13 
> (rthal_nmi_watchdog_tick+0x21)

[And this happens less than 15 us after the arming.]

>  |    fn                    1    0.628  __ipipe_handle_irq+0xe 
> (common_interrupt+0x18)
>  |    fn                    1    0.199  __ipipe_ack_common_irq+0xa 
> (__ipipe_handle_irq+0xeb)
>  |    fn                    1    0.242  
> ipipe_test_and_stall_pipeline_from+0x8 (__ipipe_ack_common_irq+0x17)

Is there something like spurious nmi? No real nmi-related problem is
reported otherwise by the kernel.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to