Re: 100% RT load on 2 processor SMP machine

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

 



On 2018-10-15 17:44:42 [+0200], Tim Sander wrote:
> Hi
Hi,

> I just disovered a bug in my playground realtime application which led to 100% 
> load on one core. This was the non normal case when the system was waiting for 
> a network client to connect and i had a fifo buffer overflow which led 
> accidentially to a busy wait loop with 98 fifo priority. This in turn lead to 
> a system which did not accept any new network connections.
> 
> The expected behaviour for a SMP system which still has one processor lightly 
> loaded should be that it still works "normal" even if one core is overloaded 
> with hard realtime work. Are there any explanations for this behavior?
> 
You should figure what blocked you from working in the end. So if you
had an interrupt pinned to the CPU that was blocked by RT task then this
would explain why it did not make any progress.
If you disable RT_RUNTIME_SHARE then the RT (that went wild) will be
throttled.

	echo NO_RT_RUNTIME_SHARE > /sys/kernel/debug/sched_features
> 
> Best regards
> Tim

Sebastian



[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