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.

  1. i assume nanosleep function won't work without interrupts too?
  2. what more elegant way disable scheduler keep timers running?
  3. 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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -