Steven Seeger wrote: > I used the idle=poll option so I’m running the tsc now, and irq0 handler > still has a lot of overhead. > > > > CPU PID MSW CSW PF STAT %CPU NAME > > 0 0 0 2 0 00500080 94.2 ROOT > > 0 0 0 1 0 00100082 0.0 sound task > > 0 0 0 1 0 00100082 0.0 tone task > > 0 0 0 775585 0 00000000 5.6 IRQ0: [timer] > > > > I’m seeing about 17,000 context switches a second for IRQ0. Sound task > and tone task are doing nothing. They’re just blocked. >
The number of context switches reported for an IRQ is actually the number of invocations for the associated IRQ handler, IOW, the exact count of interrupts received. So you get one timer tick each ~59us. What's the highest periodic task frequency used in your app? -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
