Solved

secondary kernel in linux

Posted on 2003-10-30
7
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Gns
ID: 9651677
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
ID: 9657673
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
ID: 9662590
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
ID: 10182756
I think I've answered in enough detail.

-- Glenn
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10231585
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

717 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