Fedora Linux Support Community & Resources Center
  #1  
Old 18th September 2007, 09:49 AM
rohitgupta14 Offline
Registered User
 
Join Date: Aug 2007
Posts: 11
Scheduler in Linux kernel

Which scheduler is currently in use in fedora.. or any recent linux kernel?
when will CFS be a default scheduler for linux [http://kerneltrap.org/node/8059 ]
Reply With Quote
  #2  
Old 18th September 2007, 09:56 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Its CFS


Code:
* Fri Jul 06 2007 Dave Jones <davej@redhat.com>
- 2.6.22-rc7-git6

* Fri Jul 06 2007 Dave Jones <davej@redhat.com>
- Remove another common wakeup (cursor blinking).

* Fri Jul 06 2007 Dave Jones <davej@redhat.com>
- Update CFS to v19.

* Fri Jul 06 2007 Jeremy Katz <katzj@redhat.com>
- Add minimal patch from markmc for ICH9 support in e1000 while the new
  driver works itself out upstream
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #3  
Old 18th September 2007, 10:02 AM
rohitgupta14 Offline
Registered User
 
Join Date: Aug 2007
Posts: 11
Which scheduler was in use before CFS?
CSF was released on this Date: Fri, 13 Apr 2007 22:21:00 +0200
Reply With Quote
  #4  
Old 18th September 2007, 11:38 AM
tekel Offline
Registered User
 
Join Date: Apr 2007
Location: Philadelphia, PA
Age: 29
Posts: 58
I am pretty sure CFS has been around longer, it was just put in the mainline on 13 Apr
Reply With Quote
  #5  
Old 18th September 2007, 12:03 PM
ibbo's Avatar
ibbo Offline
Registered User
 
Join Date: Jun 2005
Location: Leeds
Posts: 1,264
Basically

Preemptive scheduling is the normal Linux way to schedule. Its a time slice based schedule where each process is given (N) amount of time to perform its task. If it does not complete it must wait untill the schedule comes back around to continue its run (like when something hangs for a second, or a window jiters when moving it). Of course depending upon your system you may find different algorithms in play. For instance real time system would use perhaps a rate monotonic algorithm to do scheduling.

I have yet to look closely at CFS but the buzz is on so it cannot be worse than whats been before. Perhaps it will even lead to the death of the real time linux Kernel (who's goal was also to provide efficient scheduling).

Ibbo
__________________
A Hangover Lasts A Day, But Our Drunken Memories Last A Lifetime
--
Linux user #349545
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCfdjyzXscddzQvlhBedAcD7qfKmHo==zx0H
Reply With Quote
  #6  
Old 18th September 2007, 12:26 PM
tekel Offline
Registered User
 
Join Date: Apr 2007
Location: Philadelphia, PA
Age: 29
Posts: 58
When you say just dolling out time slices you are skipping the large and complicated matter of who get slices and how many they get. Linux does have a very good priotorization scheme, O(1) and the such in the current scheduler, You are really only getting foundational changes with CFS not real performance changes. It's been said CFS will preform just as good and the vanilla scheduler for now, but it should give the kernel devs some room to tweak things and hopefully get much better performance in the future.
Reply With Quote
  #7  
Old 18th September 2007, 02:25 PM
ibbo's Avatar
ibbo Offline
Registered User
 
Join Date: Jun 2005
Location: Leeds
Posts: 1,264
Oh my yes I did, but then I do not have the time the energy or the patience to delve into the intricacies of such algorithms or how the Kernel actually slices up its processes (old and new) and delegates a slice for each be it on priority for kernel space or user space apps or even new process's introduced.

But in my own defence I did say Basically!.

Of course a quick google can easily produce page after page of meaningless text and equations (unless you know whats what) that can give put you in geek heaven (or hell if you decide to write your own scheduling algo).

Ibbo
__________________
A Hangover Lasts A Day, But Our Drunken Memories Last A Lifetime
--
Linux user #349545
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCfdjyzXscddzQvlhBedAcD7qfKmHo==zx0H
Reply With Quote
  #8  
Old 22nd September 2007, 12:23 PM
rohitgupta14 Offline
Registered User
 
Join Date: Aug 2007
Posts: 11
http://kerneltrap.org/?q=node/341

This is the scheduler that was in use before CFS, known as O(1) scheduler...
Reply With Quote
Reply

Tags
kernel, linux, scheduler

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a calendar/scheduler pablos Using Fedora 5 17th November 2007 09:30 PM
FC5 cd install hangs io scheduler cfq SlickWill1675 EOL (End Of Life) Versions 0 9th April 2006 03:56 AM
Task Scheduler Gui twelvegates Using Fedora 2 2nd November 2005 09:35 PM


Current GMT-time: 16:38 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat