Built from source, can't get past "Using POSIX non-realtime" with Preempt_RT

More
17 May 2020 02:08 #168019 by jhandel
Howdy,
I am working on getting a local build going (so far so good--ish) Everything builds, all 230 tests pass.. However when I run the latency test I keep seeing "Using POSIX non-realtime" despite having an RT kernel..

here are the details on the setup:
OS: lubuntu 19.10
uname -a 
Linux cnc-pc 5.6.10-rt5 #1 SMP PREEMPT_RT Sat May 16 14:17:03 CDT 2020 x86_64 x86_64 x86_64 GNU/Linux
Processor: J3455
Machine: AWOW mini PC with 6gb memory and 128gb SSD (www.amazon.com/Computer-AWOW-AK34-Ethern...d=1589680391&sr=8-18)

I have attached a histogram from running rt-tests package cyclictest... I am no expert but that seems to be showing some pretty real-time type latency (to be fare I am a touch confused about the second peak... but way better than the 1,000,000 + I get from the latency-test running in POSIX non-realtime

Any help would be great, thanks all!
Attachments:

Please Log in or Create an account to join the conversation.

More
17 May 2020 02:26 - 17 May 2020 02:32 #168020 by jhandel
Forgot to mention I was building the 2.8 branch..

Looks like a bug/choice on line 332 of uspace_common.h
uname(&u);
    crit1 = strcasestr (u.version, "PREEMPT RT") != 0;

PREEMPT_RT is actually the signature used..

Looks like it is fixed in 2.9... Any reason not to fix it in 2.8?
Last edit: 17 May 2020 02:32 by jhandel.

Please Log in or Create an account to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum