Search code examples
testingkernelubuntu-12.04real-time

Am I Really Using A Real-Time Kernel?


So I built my own Ubuntu 12.04.4 kernel from source code and applied a real-time patch to it. I want to be sure that I am indeed running a real-time kernel. I tried using ltp, but was getting confused about how to read the information. Is there an easy way to tell if my kernel really is real-time?

Any help is appreciated!

George


Solution

  • To see whether the currently running kernel has the RT_PREEMPT patch, use uname and look for PREEMPT and RT:

    ubuntu10:~$ uname -a
    Linux ubuntu10 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 12:28:53 UTC 2010 i686 GNU/Linux
    

    If you are asking for evidence or proof of RT_PREEMPT's real-time performance, search the Internet, there are a lot of options. Here is one place to start: http://elinux.org/Realtime_Testing_Best_Practices