LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2009, 09:34 PM   #1
chaitukanna
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
About process scheduler


Hi,
i am new to linux, i am curious to find out which part of the operating system is responsible for the scheduling?
How is the interface done, so as the scheduler gets the process as inputs?
Looking forward for the reply,thank you
 
Old 01-31-2009, 07:08 AM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
The kernel, if that's what you mean.

http://oreilly.com/catalog/linuxkern...pter/ch10.html
http://www.iamexwi.unibe.ch/studente...cheduling.html
 
Old 01-31-2009, 09:33 AM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by chaitukanna View Post
Hi,
i am new to linux, i am curious to find out which part of the operating system is responsible for the scheduling?
How is the interface done, so as the scheduler gets the process as inputs?
Looking forward for the reply,thank you
Well I am not sure exactly what you mean but here goes. You have a daemon running in the background usually crond that will read its config file and then execute the scripts based on the time conditions given. There is another command known as AT that will let you schedule a one time task. I am not sure about an interface though. It really is just a config file.
 
Old 01-31-2009, 11:22 AM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by chaitukanna View Post
Hi,
i am new to linux, i am curious to find out which part of the operating system is responsible for the scheduling?
How is the interface done, so as the scheduler gets the process as inputs?
Looking forward for the reply,thank you
The answer to this question is probably beyond the scope of this forum. Large volumes of research and numerous publications have gone into this topic over the years. A good place to start learning about the scheduler would be in sections of one of the following two introductory books:

Modern Operating Systems, by Andrew Tanenbaum
http://www.pearsonhighered.com/educa...USS_01DBC.html. This is now in 3E, but not a lot changed. This book contains a general discussion of schedulers and scheduling algorithms.

Linux Kernel Development, by Robert Love
http://www.amazon.com/Linux-Kernel-D.../dp/0672327201
This contains sections specifically on the Linux O(1) scheduler in 2.6+ kernels. The 1E version of this book deals with 2.4 prior, as I recall, so be sure to get the 2006 version.

Both of these texts are near canon, and should be available at public libraries, on the internet -- as handouts at any undergraduate computer science department welcoming session.

Hope this helps
 
Old 01-31-2009, 12:14 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Wow I must have been really off on what I thought he was asking for. I think I need to quit answering questions as soon as I wake up. I thought he was refering to things like task scheduling.
 
Old 02-01-2009, 08:58 AM   #6
chaitukanna
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
@Jameson Williams

Thank you, i will check out
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
scheduler invocation, process selected, process entry and exit linuxdoniv Programming 1 03-14-2008 08:37 AM
scheduler invocation, process selected, process entry and exit linuxdoniv Programming 1 03-14-2008 03:48 AM
scheduler -a process??? mojozoox Linux - General 1 08-25-2003 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 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
Open Source Consulting | Domain Registration