Re: Calculating latency using high resolution timer

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

 



>
> Not a lot of information about your test (kernel version, kernel config, -rt patch, your code, etc) in your mail, but I would expect a 2 millisecond deadline to be easy to meet.  At 5 milliseconds, I'd say you aren't using RT scheduling at all.
>

Thank you for the response and for the code. I haven't seen your code
in detail, but will do that soon. I am running 2.6.29 with board
specific patches and patched with 2.6.29-rt3. ARMv5 running at about
700 bogo-mips. When the system is completely in use, the CPU usage
goes and stays at 99%+ for most of the time.

> The output below is from a pretty crude/simple chunk of test code that was run on kernel 2.6.26.8-rt16 (yes, it's old, but it's a box thats up and reachable by me right now). Times are in microseconds.  The code sleeps for 100 microseconds, then checks how long it actually slept, outputting some stats once a second.
>
> crappy test code is at:
> http://www.rato.us/ltest.c
> Compile with "gcc ltest.c -lrt -oltest".
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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