LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2006, 03:29 AM   #1
Scheduler
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Scheduler for Real Time Tasks


hi
we are working on project titled Scheduler for real time tasks. rite now we are working on the design phase. we want to have your opinions about how the data structure of the schedule look like. i mean particularly what is necessary to be present in a Schedule to query it.
 
Old 04-13-2006, 09:51 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You'll likely wind up replacing most of kernel/sched.c. I think that file has all of the base scheduling functions called by the rest of the kernel. The main guts of the algorithm are in the schedule function, which is pretty simple. To be honest, the source itself augmented by the Love book and the O'Reilly Linux Kernel Development, 3rd edition are probably your best sources of info. Writing an RT scheduler is fairly tough, though. I know there are some soft RT schedulers for Linux -- you might want to look at them.
 
Old 04-14-2006, 09:02 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i think most hard real time implementation use another small OS that then runs the Linux kernel as a low priority thread. handling realtime tasks directly before passing stuff on to the Linux kernel.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
real time recompiling kris273 Programming 3 08-09-2004 10:12 PM
Real Time Equalizer st00 Linux - Software 1 03-20-2004 06:00 PM
real-time OS h/w Programming 11 01-24-2004 08:28 PM
something on Linux like Scheduler Tasks on NT ashley75 Linux - General 4 09-26-2003 11:14 AM
Real-Time programming javpogon Programming 5 09-04-2003 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:00 AM.

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
Open Source Consulting | Domain Registration