LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2005, 10:52 AM   #1
LinuxNewbieX
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Scheduler modification


hi guys,

According to my understanding, linux default scheduling policy is SCHED_OTHER. I just like to know how do we modify the scheduling so that it will exhibit the same behavior as the POSIX4 SCHED_FIFO scheduling policy.

I have spent too much time investigated on this area already but dont know where to start as you all know the size of sched.c is more than 1000 lines of code.

Please would you please give me a good direction on how to start? and which part of the code should i concentrate on? modify kernel require some careful thought before begin coding because it there is a bug the kernel can boot up
 
Old 04-28-2005, 11:48 AM   #2
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
You really don't need to be in the kernel...
man sched_setscheduler
Will let you set a process' scheduling policy.
 
Old 04-29-2005, 07:20 AM   #3
LinuxNewbieX
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Do you know any way to remove the default scheduler in linux? and implement a new scheduler ( SCHED_FIFO) so that it can support real time application?
 
Old 05-02-2005, 09:23 AM   #4
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
Ingo Molnar has been working on real time performance
The fruits of his labors are here

http://people.redhat.com/mingo/realtime-preempt/
 
  


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
Specifying IO scheduler at boot stonecrest Linux - General 3 11-28-2004 06:29 PM
scheduler... os2 Programming 0 07-24-2004 01:38 PM
Text calendar, scheduler Covel Linux - Software 4 01-12-2004 01:15 PM
task scheduler? is there any? bruno buys Linux - General 1 11-17-2003 04:09 PM
scheduler -a process??? mojozoox Linux - General 1 08-25-2003 01:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:37 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