Speedy 'wonder patch' debuts in new Linux kernel

Additional speed boosters and a raft of new drivers promise breathtaking benefits for users.

Back in November I wrote about the 233-line patch that was expected to bring a huge speed boost to version 2.6.38 of the Linux kernel, and that's just what made its widely anticipated debut on Monday night.

Linux creator Linus Torvalds gave Linux 2.6.38 its official sendoff after just 10 weeks or so of development, noting that it brought several significant changes since the release of version 2.6.37 earlier this year.

"As to the 'big picture,' ie all the changes since 2.6.37, my personal favorite remains the VFS name lookup changes," Torvalds wrote, referring to tweaks made to Linux's Virtual File System (VFS), which acts as a buffer between applications and file systems. "On the whole I think it was surprisingly smooth."

'Some Seriously Good Stuff'

Specifically, VFS now taps the RCU (Read-Copy-Update) path name lookup mechanism to speed performance considerably in some cases.

"It's some seriously good stuff, and gets rid of the last main global lock that really tends to hurt some kernel loads," Torvalds explained in an email in January.

"What's really nice about it is that it actually improves performance a lot even for single-threaded loads (on an SMP kernel), because it gets rid of some of the most expensive parts of path component lookup, which was the d_lock on every component lookup," he added. "So I'm seeing improvements of 30-50 per cent on some seriously pathname-lookup intensive loads."

'It Can Be Very Noticeable'

Torvalds' other favorite addition -- and the one commonly referred to now as the 233-line "wonder patch" -- is the use of group scheduling to improve desktop interactivity under heavy loads.

"It really works very well for the kinds of things it is designed for," Torvalds wrote. "If you still do 'real work' in a terminal window, you're likely to appreciate it. Compile in parallel in one window, watch a movie in another, and the movie is really smooth. It can be very noticeable indeed."

Early tests found that the patch decreased the average latency of the desktop by about 60 times, as I noted last fall. Two videos on Phoronix demonstrate the difference.

'A Metric Ton of Other Features'

Rounding out version 2.6.38 of the kernel are "a metric ton of other features," as Torvalds put it, noting that drivers account for about half of the changes.

Indeed, both graphics and Wi-Fi are reportedly improved through better support for chips by AMD, Nvidia and Intel along with Atheros, Broadcom and Realtek, for example. More details can be found on the Linux Kernel Newbies Web site.

For users, Linux 2.6.38 is one more thing to look forward to in distributions including Ubuntu 11.04 and Fedora 15, both due this spring. What was that critics were saying about Linux being dead on the desktop?

Follow Katherine Noyes on Twitter: @Noyesk.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags unixopen sourceLinuxsoftwarenon-Windowsoperating systems

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Katherine Noyes

PC World (US online)
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?