Re: Is it required to use RT priority in RT application?

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

 



On 2018-12-03, John Ogness <john.ogness@xxxxxxxxxxxxx> wrote:
>>>> I've found 2 examples for RT applications:
>>>> 1. https://wiki.linuxfoundation.org/realtime/documentation/howto/applications/application_base
>>>> 2. https://github.com/emagii/training-materials/blob/master/lab-data/realtime/rttest/data/rttest.c
>>
>> Still, about the 2nd example above, it is intended to use for testing
>> RT latency, but there is no priority setting in yet.
>> Do you think it was meant to be executed together with chrt, or is it
>> that it is not required to set priority because there are no threads
>> in that example ?
>
> The 2nd example is basically a minimal cyclictest(8) implementation. In
> my opinion, it probably only makes sense to run that application with
> chrt(1). For example:
>
>     sudo chrt -p 98 ./rttest

Yes, the correct syntax is:

   sudo chrt -f 98 ./rttest

Sorry.

> Choosing a lower priority might be useful if the tester is interested in
> latencies _at that priority_.
>
> John Ogness



[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