c - How to call make kernel module calls or disable interrupts? -
i have low latency server/client audio application running on seperate cores. (via cpuset) no xruns detected, suspect scheduler interrupt critical routine. since disabling interrupts not possible in user space idea create kernel module , write wrapper functions local_irq_disable()/local_irq_enable(). security not issue. rt linux preemptible kernel in use.
- i assume nanosleep function won't work without interrupts too?
- what more elegant way disable scheduler keep timers running?
- how call these wrapper functions user space?
edit: smp affinity keyword here: smp irq affinity
i recommend first try trace kernels scheduling using lttng , tracecompass find out happening on system , other process, ressource lock or interrupt forcing process out of cpu.
do need process run without cpu time gaps? if not: need response time in micoroseconds or milliseconds?
Comments
Post a Comment