Tiny Linux Kernel patch delivers huge speed boost
- 18 November, 2010 06:47
- Comments
What a difference 233 lines of code can make.
That's the size of a small new patch to the Linux kernel's scheduler that has been found to reduce the average latency of the desktop by about 60 times. It's a small patch with a really, really big gain for desktop users of the open source operating system, in other words.
Though not yet merged into the mainline kernel, the new patch -- written by Linux kernel developer Mike Galbraith -- has already received high praise from Linux creator Linus Torvalds himself.
"I have to say that I'm (very happily) surprised by just how small that patch really ends up being, and how it's not intrusive or ugly either," Torvalds wrote Monday in an e-mail. "I'm also very happy with just what it does to interactive performance.... It is a _huge_ improvement."
Web pages, in particular, load "a lot faster" following the patch, Torvalds noted. "I think this is firmly one of those 'real improvement' patches. Good job. Group scheduling goes from 'useful for some specific server loads' to 'that's a killer feature'."
60 Times Faster
Essentially, the patch works by automatically creating task groups per TTY -- or input/output device -- so as to improve desktop interactivity under heavy loads. The feature is enabled from boot by default, but it can be turned on or off on the fly.
In tests by Galbraith, the patch reportedly produced a drop in the maximum latency of more than 10 times and in the average latency of the desktop by about 60 times. Though the merge window is now closed for the Linux 2.6.37 kernel, the new patch should make it into version 2.6.38.
Two contrasting videos on Phoronix demonstrate the difference the patch makes.
The New Speed Demon
Linux has just recently made a round of fresh headlines for its stellar performance on supercomputers -- the current leader in that race runs the open source operating system, for example, as do the majority of the top 500.
But it's especially exciting to see such speed advantages coming to the desktop. Soon, not only will Linux deliver superior security, reliability and numerous other advantages, but it will be a speed demon as well. For businesses, in particular, that's a combination that will be hard to beat.
Follow Katherine Noyes on Twitter: @Noyesk.
Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.
- Bookmark this page
- Share this article
- Got more on this story? Email CIO
- Follow CIO on twitter
- Linux Kernel Update Adds Brawn Without Bulk - PCWorld Business Center
- Reports of Linux’s Desktop Death Are Premature - PCWorld Business Center
- 'Re: [RFC/RFT PATCH v3] sched: automated per tty task groups' - MARC
- LKML: Mike Galbraith: [RFC/RFT PATCH] sched: automated per tty task groups
- [Phoronix] The ~200 Line Linux Kernel Patch That Does Wonders
- Tianhe-1A : TOP500 Supercomputing Sites
- Home : TOP500 Supercomputing Sites
- Why Linux Is More Secure Than Windows - PCWorld Business Center
- Five Reasons Linux Beats Windows for Servers - PCWorld Business Center
- 10 Reasons Open Source Is Good for Business - PCWorld Business Center
- Linux Is on the Rise For Business - PCWorld Business Center
- @Noyesk
- In Pictures: Google I/O 2013's coolest products and services
- Report: Yahoo board approves deal to buy Tumblr for $US1.1bn
- Dell's thumb PC, Project Ophelia, to ship in July
- IT doesn’t see much value in making Windows 8 enterprise standard: Forrester
- BT Financial embraces BI to better understand customers
-
Spiceworks' free management software gets integrated MDM
-
Opinion: Why national e-health is not for everyone
-
Opinion: Why national e-health is not for everyone
-
Opinion: Why national e-health is not for everyone
-
Opinion: Why national e-health is not for everyone
-
Hybrid IT Service Management: A Requirement for Virtualisation and Cloud Computing
When competition is tough and resources are limited, corporate leaders are depending on growing their existing capabilities in order to grow their business. Information technology can be a unique catalyst for business growth, delivering a competitive advantage when creatively applied to established and emerging problems. Read more on what trends are accelerating the value of IT. -
Governance For All - Empowering IT and Business Content Owners
Governance for all is more than an IT initiative or a goal written in a plan document; it’s a strategy that unites IT and business content owners to achieve their SharePoint goals. At its best, governance means empowering self-governance, with tools like delegated access, effective reporting, and automated policy enforcement. This white paper explains how to create a “governance for all” strategy that will enhance SharePoint adoption and its benefits to the organization. Read now. -
Leading Through Connections – Insights from the Global Chief Executive Officer Study
IBM’s 2012 Global CEO study follows face-to-face discussions with more than 1,700 CEOs and senior public sector leaders from around the globe. The findings examine how CEOs are responding to the complexity of increasingly interconnected organisations, markets, societies and governments. For example, almost one-quarter of CEOs say their organisations operate below par in terms of driving value from data. CEOs have expressed frustration about their inability to capitalise on available information. This is because: “The time available to capture, interpret and act on information is getting shorter and shorter.” CEO, Chemicals and Petroleum, United States Given the need for deeper business insight, the best performing organisations are more adept at converting complex data into insights, and insights into action. Download Entire Report Now.
















