Solved

secondary kernel in linux

Posted on 2003-10-30
7
304 Views
Last Modified: 2010-04-21
Can I know the details and how the things really happen in

EMBEDDED LINUX READY FOR REAL TIME

Two main approaches exist for meeting real time response requirements in a linux system

1.Brute force(real_fast) application of processors power.

2.The insertion of secondary kernel’s that virtualize the cpu interrupt change and manage real time events and processing, leaving linux to run(or not)as a lower priority task under the second kernel.

0
Comment
Question by:vinil_nvk
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Gns
Comment Utility
First one need understand what "Real Time" means here (when referring to linux in conjunction to "real time operating system" (RTOS)).
Simply put Real Time is achieved when a (user) process can rely on certain system calls returniing within (given) hard timelimits, so that it can depend upon "things" not taking longer than this... Very important in timing critical embedded functions.

With this in mind, #1 would then achieve "Real-Time" by having so much raw CPU "power" that the timing constrints never come close to be exceeded. This might be constued as ... dicey... but in controlled environments should be able to work OK.

#2 would imply linux running as a "host OS" to some real-time-capable RTOS. Kind of like vmwareish...

"Famous" RTOSes would include OS9, QNX, OSE ... And RTLinux, patches etc to make linux be able to meet timing constraints... So a google search for RTLinux (also look at http://www.tldp.org/HOWTO/RTLinux-HOWTO-3.html ... More eloquent than litlle ol' me:-).

-- Glenn
0
 

Author Comment

by:vinil_nvk
Comment Utility
yeah, thanks for the answer, but still can I have what basically do I need to know if I want to program for a RTLinux? Considering me as a know nothing of RTLinux, What amount of time do I need to spend in days to get to it?
0
 
LVL 20

Accepted Solution

by:
Gns earned 100 total points
Comment Utility
http://www.tldp.org/HOWTO/RTLinux-HOWTO-4.html and http://www.tldp.org/HOWTO/RTLinux-HOWTO-5.html shoiuld show you some of what it would entail.
Assuming you're not a "knownothing" programmer this should show too that the effort is rather limited;-).

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
Comment Utility
I think I've answered in enough detail.

-- Glenn
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by Gns
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now