LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 08-29-2012, 01:53 AM   #1
sam_android
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Rep: Reputation: Disabled
which scheduler is used in linux and why?


i want to know the sceduling mechanism in linux
 
Old 08-29-2012, 03:49 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Completely Fair Scheduler
 
Old 08-29-2012, 05:49 PM   #3
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 832

Rep: Reputation: 181Reputation: 181
Scheduling

There are several different things called Schedulers in Linux (the Kernel) and in the GNU applications, system, and utilities. At what level are you directing your question? Realize, if this is homework you are likely to get only a link to help you do the research you should have done before asking.
 
1 members found this post helpful.
Old 08-30-2012, 10:10 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,235

Rep: Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554Reputation: 1554
cron.
 
Old 09-12-2012, 05:48 AM   #5
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
Hi


Linux works on two type of scheduler 1.CRON 2.AT
 
Old 09-13-2012, 05:59 AM   #6
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 832

Rep: Reputation: 181Reputation: 181
@arun5002: Excuse me, cron and at are only applications. You can install Linux without them, and low-level process scheduling still takes place.

'cron' or 'at' can be installed and used with linux (or AIX, or HP-UX, or Solaris, etc) but they are options. You can install any Linux distribution without them, and Linux cannot be said to run on something that it runs just fine without. The only ones you can really say "linux runs on" are the ones internal to the kernel.

Application level is only one of several places where there are schedulers of different kinds. We still do not know the intent of the OP's question. It appears by the delay in receiving feedback from the OP that he has no intention of refining his question or providing feedback about his intent.

Last edited by wpeckham; 09-13-2012 at 06:04 AM.
 
Old 09-23-2012, 08:54 AM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,389

Rep: Reputation: 88
Quote:
Originally Posted by sam_android View Post
i want to know the sceduling mechanism in linux
crontab -e
to edit the scheduling.

$ crontab -l
Code:
# Edit this file to introduce tasks to be run by cron.
# 
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
# 
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').# 
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
# 
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
# 
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
# 
# For more information see the manual pages of crontab(5) and cron(8)
# 
# m h  dom mon dow   command


@reboot   echo "Reboot" 
0 7     *       *       *       sh myscript.sh
 
Old 09-23-2012, 03:46 PM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,919

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
I think the OP is probably asking about low-level task scheduling (but I could be very wrong).

If that's right, macemonta's answer is relevant, but not the only option (see also BFS, for example).

Of course, there is also an I/O scheduler, and there options there, too.

There are also, as has been mentioned, mechanisms for running tasks at particular times, but I don't think that is what the thread was intended to be about. We won't really find out what the OP wanted to know unless the OP makes some more contribution to this thread, and that currently looks as if it might not happen...
 
  


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
linux scheduler sunita Linux - Newbie 2 03-14-2011 11:07 AM
Scheduler available on Linux? NY-Ed Linux - Newbie 1 10-12-2010 11:13 AM
Linux Scheduler tbui57 Linux - Kernel 3 02-04-2007 01:37 PM
Linux Scheduler Scarlett_987 Linux - Kernel 1 01-23-2007 09:54 PM
linux 2.6 scheduler panandsapphire Linux - Kernel 1 08-26-2006 10:01 PM


All times are GMT -5. The time now is 05:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration