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

Father’s Day Gift Guide

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

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.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?