* Kernel RT questions
@ 2016-04-25 11:44 helix250
2016-04-25 12:37 ` Ralf Mardorf
0 siblings, 1 reply; 2+ messages in thread
From: helix250 @ 2016-04-25 11:44 UTC (permalink / raw)
To: linux-rt-users
Hello,
I do not know if this is the right mailing list to ask this question,
if this is not, please apologize and tell me where I could ask for this
information.
I am trying to do my first tests with PREEMPT_RT on my BeagleBoneBlack board.
I am testing it with cyclictest and in the meanwhile I am copying a big file
from /home/roor to /tmp to stress the system.
I have two options at the moment, a standard kernel and a PREEMPT one.
I've got the kernels from https://github.com/beagleboard/linux.git using two
different branch/tag as described below.
The result of my tests seems to indicate a not RT kernel and any RT
performance.
My questions are:
- How can I detect during runtime that my kernel was properly configured for
RT performances?
- Should I see any message in dmesg or at boot related to "Ingo Molnar"?
- Are the performances detected above with cyclictest the correct way to
measure RT performances?
* Standard version
---------------------
root@beaglebone:~# uname -a
Linux beaglebone 4.1.6-yocto-standard #2 PREEMPT Thu Dec 3 16:13:24 CET 2015
armv7l GNU/Linux
root@beaglebone:~# cat /proc/config.gz | gunzip | grep PREEMPT
CONFIG_PREEMPT_RCU=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_PREEMPT_TRACER is not set
root@beaglebone:~# ./cyclictest -t1 -p 80 -n -i 10000 -l 10000
T: 0 ( 384) P:80 I:10000 C: 1141 Min: 14 Act: 16 Avg: 239 Max:
42402
* RT version
--------------------
(git checkout tags/4.4.7-ti-rt-r19 -b 4.4.7-ti-rt-r19)
root@beaglebone:~# uname -a
Linux beaglebone 4.4.7 #2 SMP PREEMPT RT Thu Apr 21 14:48:58 CEST 2016 armv7l
GNU/Linux
root@beaglebone:~# cat /proc/config.gz | gunzip | grep PREEMPT
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_BASE=y
CONFIG_HAVE_PREEMPT_LAZY=y
CONFIG_PREEMPT_LAZY=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT__LL is not set
# CONFIG_PREEMPT_RTB is not set
CONFIG_PREEMPT_RT_FULL=y
CONFIG_PREEMPT_COUNT=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_PREEMPT_TRACER is not set
root@beaglebone:~# ./cyclictest -t1 -p 80 -n -i 10000 -l 10000
T: 0 ( 302) P:80 I:10000 C: 6297 Min: 13 Act: 19 Avg: 159 Max:
40226
Thank you in advance for your help.
--
Mauri
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Kernel RT questions
2016-04-25 11:44 Kernel RT questions helix250
@ 2016-04-25 12:37 ` Ralf Mardorf
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Mardorf @ 2016-04-25 12:37 UTC (permalink / raw)
To: linux-rt-users
On Mon, 25 Apr 2016 13:44:37 +0200 (CEST), helix250@libero.it wrote:
>root@beaglebone:~# uname -a
>Linux beaglebone 4.4.7 #2 SMP PREEMPT RT Thu Apr 21 14:48:58 CEST 2016 armv7l GNU/Linux
^^
^^
You are using a RT patched kernel. A kernel without the RT patch doesn't
include "RT", either for uname, nor for CONFIG_PREEMPT, but by using
"threadirqs" as boot option, a standard kernel has some RT abilities too.
As a side note, "cat /proc/config.gz | gunzip | grep PREEMPT" could be replaced
by "zgrep PREEMPT /proc/config.gz".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-25 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 11:44 Kernel RT questions helix250
2016-04-25 12:37 ` Ralf Mardorf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).