LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 06-03-2011, 12:11 PM   #1
hitman009
LQ Newbie
 
Registered: Jun 2011
Posts: 2

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


Hello,

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, 12:55 PM   #2
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 832

Rep: Reputation: 181Reputation: 181
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 12:57 PM.
 
  


Reply


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 03:46 PM
preemption vs preempt_rt as of 2.6.39 sammyb Linux - Kernel 1 05-03-2011 03:16 PM
PREEMPT_RT and Xenomai ranji Linux - General 1 09-11-2010 02:20 AM
Difference between chrt and nice with PREEMPT_RT kernel jaakkos Linux - Kernel 0 03-27-2009 08:33 AM


All times are GMT -5. The time now is 03:22 PM.

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