Re: system() instruction creates latency peaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I have experienced similar symptoms in realtime programs (LinuxCNC).
We have a control thread which sometimes does operations like system(),
and one or more realtime threads.

There, we changed from using system() to using posix_spawn and it
appears to have resolved the problem.

However, I don't have any explanation as to why this is the case.  On
the specific version of glibc I have, posix_spawn uses vfork and system
uses clone; other syscalls like rt_sigaction are taken in the system
case but not the posix_spawn case.

Jeff



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux