Re: Why is real time pinging not possible with RT kernels?

Chris Friesen
2017-06-13T16:07:07Z

On 06/13/2017 05:58 AM, Sebastian Andrzej Siewior wrote:
> On 2017-06-12 07:57:18 [-0500], Corey Minyard wrote:
>> A few notes on what you have done:
>>
>> * ionice doesn't affect network I/O.
>> * renice does not set real-time priorities.
>> * You don't do anything with memory locking. What happens
>> if memory in your program gets paged out then is required?
>> * Something on the other end of the ping is running, too. It
>> also needs to be real-time, too, and it's not by default.
>
> You forgot to mention that the real-time kernel is not automatically
> overclocking the software in terms of performance (but providing
> determinism).

Pinging localhost *should* be reasonably quick. It's basically a test of the
scheduler and context switching (once all the memory is locked in place).

Chris