Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-03-2011, 11:11 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
PREEMPT_RT kernel (which linux distro ?)


I am planing to use a desktop computer as dedicated hardware.
I have the following time frame.

1) Trigger (some hardware outside)
2) Wait 4 ms
3) Interrupt (from hardware outside) and Data acqusition 1 ms
4) Data processing 7 ms
5) Give the result and wait 3 ms

It is a total of 15 ms period. This 15 ms task will be repeated.

I have done some research and find out PREEMPT_RT kernel.
My question is:
Does a computer with PREEMPT_RT kernel is suitable for this kind of job?

Interrupt should be served within around 100 us
No other process should interfere with data processing part (At least, other processes should not execute more than 300-500 us in data processing part)

As far as I know, PREEMPT_RT kernel can be obtained via debian distro. in precompiled form. Can I use another linux with PREEMPT_RT kernel? Since this will be a dedicated PC, linux should have minimal number of processes. Can I install Debian with minimum number of processes ?
Old 06-03-2011, 11:55 AM   #2
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,319

Rep: Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947
RT kernel

You MAY be able to make that work. IT might be better to use a determinant operating system instead of a multitasking one. (IE: a DOS variant rather than a LINUX variant.)

If you WILL use LINUX, the RT kernel is far more appropriate than the standard kernel.

Note: the latest processors (AMD in particular) have RT extensions. Enabling those in the bios when running the RT kernel helps a LOT!

Last edited by wpeckham; 06-03-2011 at 11:57 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is PREEMPT_RT already implemented? archieval Linux - Kernel 1 05-05-2011 02:46 PM
preemption vs preempt_rt as of 2.6.39 sammyb Linux - Kernel 1 05-03-2011 02:16 PM
PREEMPT_RT and Xenomai ranji Linux - General 1 09-11-2010 01:20 AM
Difference between chrt and nice with PREEMPT_RT kernel jaakkos Linux - Kernel 0 03-27-2009 07:33 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration