Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Linux to gain "completely fair scheduler"
Jul. 11, 2007

The next release of the Linux kernel will apparently gain an all-new scheduler said to deliver better desktop scheduling. Ingo Molnar's CFS ("completely fair scheduler") implements a fair scheduling approach long advocated by Con "Conman" Kolivas, a practicing Australian medical doctor specializing in anaesthesia.

Molnar, a Red Hat employee who maintains the kernel's scheduling subsystem, describes CFS as follows: "Eighty percent of CFS's design can be summed up in a single sentence: CFS basically models an 'ideal, precise multi-tasking CPU' on real hardware."

Molnar adds, "I'd like to give credit to Con Kolivas for the general approach here: he has proven via RSDL/SD [Staircase-Deadline] that 'fair scheduling' is possible and that it results in better desktop scheduling. Kudos Con!"

Kolivas, meanwhile, will apparently discontinue his "ck" Linux mirror and cease to maintain his RSDL/SD scheduler. In a note to his mailing list, the longtime Linux benchmarking specialist wrote, "If whatever performance advantage it has is all but abolished compared to mainline then there is no point maintaining alternate patches."

Kolivas is renowned for developing the "Contest" benchmark aimed at more realistically measuring Linux's responsiveness in the face of real-world (rather than only CPU) loads. In a 2002 KernelTrap interview, Kolivas reportedly commented, "The idea is that by [introducing various loads] for the duration of [a] kernel compile, [Contest] will increase the signal to noise ratio of the test and pick up slowdowns that we may momentarily notice when trying to do things on our machines. This was quite a departure from the 'throughput' approach to benchmarking, and appears to more realistically represent what happens in the real world."

Although not trained at all in computer programming, Kolivas became interested in Linux scheduling during the 2.4.18 development cycle. Armed only with an inexpensive laptop, he used a simple text editor, patch, and diff to arguably change the course of Linux's development. Unfortunately, Kolivas now appears to be disenchanted with Linux kernel development. A March, 2007 post to the Linux Kernel Mailing List suggests that his SD scheduler was trialed in Andrew Morton's mm kernel mirror, but may have failed to gain wide understanding from other kernel hackers.

The CFS scheduler is expected to replace the 0(1) scheduler that Molnar previously authored, and which was merged prior to the 2.6 kernel release. So far, Molnar has committed about 100 CFS-related patches to the 2.6.22-git2 tree. One patches adds "credits" acknowledging significant contributions from others, including:
  • Con Kolivas, for pioneering the fair-scheduling approach
  • Peter Williams, for smpnice
  • Mike Galbraith, for interactivity tuning of CFS
  • Srivatsa Vaddagiri, for group scheduling enhancements
Additionally, Molnar prefaces his patch committing "cfs core code" with "Thanks to Andrew Morton and Thomas Gleixner for lots of detailed review feedback and for fixlets."

The complete 2.6.22-git2 patchlog can be found here. The current version of Molnar's documentation file on CFS should be available here. KernelTrap's 2002 interview with Con Kolivas is archived here.



Related Stories:


(Click here for further information)


7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.

Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.

Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.

Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.

Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.

Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.

Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.

Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets
HOWTOs: from DevShed & IBM DeveloperWorks:



BREAKING NEWS

• Linux device monitors networks
• Linux gets security black eye
• Debian adding low-power NAS devices
• Microsoft frees poor children from Linux struggles
• Open source awards open for nominations
• Atom-based ECX board runs Linux
• Tiny boards gain Linux cross-tools support
• Cross-platform tools vendor announces awards, earnings
• Little thin client runs Linux
• $7 Soc runs Linux
• Linux wins big in financial trading
• Linux-based remote access equipment adds monitoring
• Dual-core ARM SoC clocks to 1.2GHz
• Verizon Wireless, seven others join Linux phone org
• Android Developer Challenge announces first-round winners


Most popular stories -- past 30 days:
• Ubuntu ported to ARM
• Linux still top embedded OS
• Linux gains new architecture support
• Linux 2.6.25 release bolsters ARM
• Linux-based diskless notebook costs under $300
• Low-cost MP3 player gains fancy Linux port
• Dutch UMPC runs Ubuntu Linux
• Mini-notebook boasts Linux, near-fullsize keyboard
• PC/104 module runs x86 Linux on 1.85 Watts
• Low-cost Linux-based NAS device supports RAID 1
• Free router distro gains wild WiFi features


Linux-Watch headlines:
• Verizon chooses Linux "platform of choice"
• Hats off to Fedora 9
• Running a small business on desktop Linux
• Sun launches OpenSolaris
• Via tiptoes toward openness
• Linux certification comes to Italy
• Installing Ubuntu Hardy Heron as a web hosting server
• Black Duck Buys Koders
• Open source conference co-locates with Ubuntu show
• Ubuntu 8.04 ready to challenge Windows


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 
Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.