Linux-Watch
      . . . keeping an eye on the penguin   
Home  |  News  |  Forum  |  Blogs  |  Videos  |  ITLink

Keywords: Match:
Linux releases a cleaner, tighter kernel 2.6.22
Jul. 09, 2007

Analysis--Master Linux developer, Linus Torvalds, announced on July 8 that the new Linux kernel 2.6.22 is now available. While this new kernel has many new features, it's really more of a bug-fix release.

At the Linux Foundation Collaboration Summit a few weeks ago, Jon Corbett, a Linux developer, asked a panel of Linux kernel developers, "Is the quality of the current kernel Linux 2.6.21 horrific?" Andrew Morton, leading Linux kernel programmer and coordinator, replied that some people felt that 2.6.21 contained "not ready for prime time" features and so "2.6.21 was perhaps a bit more buggy than it should be."

So it is that the just released 2.6.22, as Linux kernel developer James Bottomley put it, is dealing with the "tension between new features and stabilizing those features." In practice this means that 2.6.22 has made improvements in Linux's new and somewhat troubled tickless timer system and many minor bug fixes.

The new Linux kernel is far from just a collection of patches to cranky new features. The full changelog reveals a host of new and improved features. These include new and much better wireless and FireWire stacks, LVM (Logical Volume Management) for flash storage devices, improvements to TCP/IP networking congestion, IPV6 Optimistic Duplicate Address Detection, relocatable x86-64 kernel support, various new drivers and many other improvements.

The biggest change for most users will be the new software stack. As Torvalds writes in the changelog, "For too many years, Linux wireless support has worked, but not very well. 2.6.22 has a completely new, better wireless stack included. This new wireless stack has been donated by the known Wi-Fi specialist company Devicescape.

This new wireless stack includes a complete software MAC (Media Access Control ) implementation, WEP (Wired Equivalent Privacy), WPA (Wi-Fi Protected Access), a 'link-layer' bridging module, hostapd, QoS (Quality of Service) support to prioritize things like VOIP (voice over IP), 802.11g support and full debug capabilities.

"All of this comes in a single implementation that drivers can use without rewriting those features themselves, which sadly has been done multiple times in the Linux Wi-Fi world," Torvalds wrote.

This new stack also has a completely new user interface. "The old stacks have an ugly ioctl-based interface, which was standardized under the name of "wireless extensions" (wext). The new interface uses a netlink-based interface, suited for the needs of desktop-based configuration interfaces, but retaining at the same time userspace compatibility with the old interface," wrote Torvalds .

The problem with all this is that there's a lack of older Wi-Fi device drivers that aren't compatible with this stack. The good news is that Torvalds thinks it shouldn't be much trouble porting older device drivers "since the new stack is actually a much better ground to build drivers upon than the current mess. There are quite a lot of new and ported drivers that are already using the new stack which have not been merged in this release, but will get merged in future releases, like the RT2x00 drivers, the bcm43xx driver, zd1211rw, adm8211, rtl818x, Intel iwlwifi (ipw3945 and ipw4965). Distributions like Ubuntu and Fedora already are using them."

In the long run, of course, the big advantage is that it will be much easier to port Wi-Fi devices to Linux, and they'll be much full-featured since the new stack already has so much functionality already built into it.

FireWire support is also getting reworked. The main reason for this is to get a small, maintainable and supportable stack, which also maintains backwards compatibility.

Torvalds wrote: "This stack has many advantages: Considerably leaner codebase (less than 8k lines of code compared to 30k lines of code in the old stack, and a similar size reduction in the sizes of the binary files); cleaned up and improved in-stack APIs (with the side effect of getting rid of a bunch of old bugs) and design (no kernel threads, compared to one subsystem thread and one thread per FireWire controller in the old stack); and consolidation of the currently four userspace ABIs (application binary interface) into one improved ABI.

The userspace ABI is changed, but compatibility is kept stable at library level (libraw1394 and libdc1394) and per-device device files, letting userspace set up more fine-grained access control, such as preventing direct access to FireWire storage devices."

2.6.22 includes an optional, more SMP (symmetric multiprocessing)-friendly SLUB allocator. As Corbett explains in his article on SLUB, Linux has long used slab allocator as the heart of its kernel's memory management. This allocator, which sits on top of the low-level page allocator, manages caches of objects of a specific size, allowing for fast and memory space-efficient allocations.

Linux developer Christoph Lameter, however, has been pointing out for some time that on very large computer systems with multiple CPUs, or simply CPUs with multiple cores, the "number of objects that may be caught in [slab] queues grows exponentially." Thus he "fears that the whole memory of the machine could one day be consumed by those queues."

Lameter's answer is SLUB, which does a far better job of trash collecting thus freeing up more memory. It is also claimed that it will improve memory allocation performance by 5 to 10 percent. For users, this means systems with multiple core processors—such as Intel's late 2008-generation Itanium, code-named Tukwila, a quad-core processor—will run efficiently with the next generation of Linux.

Also with this release, Linux is adding support for Intel and ADI's (Analog Devices Inc) Blackfin DSP (digital signal processor) architecture. While Blackfin has had its own uClinux Linux port since 2004, this is the first official port of a Linux 2.6 kernel added to this embedded system architecture.

With bug fixes galore, and major Wi-Fi, FireWire and memory management improvements, Linux 2.6.22 looks like it has every chance of becoming the foundation of many commercial Linux distributions. In the meantime, developers and early adopters are already putting this new kernel to the test.

--Steven J. Vaughan Nichols



Do you have comments on this story?


Talkback here

NOTE: Please post your comments regarding our articles using the above link. Be sure to use this article's title as the "Subject" in your posts. Before you create a new thread, please check to see if a discussion thread is already running on the article you plan to comment on. Thanks!



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!

ADVERTISEMENT
(Advertise here)

Also visit:
• eWEEK's Linux center
• Dev Shed
  and, our 'evil twin'...
• Microsoft-Watch.com


Latest Linux-Watch Posts

• Linux switch vendor sued over GPL
• Judge Kimball rules -- the sequel!
• Microsoft tactics push India toward Linux
• Bell, SuperMicro sued over GPL
• "Business intelligence" software goes GPL
• Will Atom bomb?
• LF Summit videos posted
• Linux gains "embedded" maintainers
• Virtualization on tap in SLES and RHEL upgrades
• Linux gets security black eye
More Linux-Watch posts

DesktopLinux headlines:
• Moblin switching from Ubuntu to Fedora
• Debian looks to launch lenny in Sept.
• Fedora adds collaboration tools
• Linux mini-PC takes two Watts to tango
• Judge Kimball rules. Ho, hum.
• Writer tells Penguinistas to chill on closed source
• Linux 2.6.26 enhances desktop Linux
• BeOS-like distro focused on content creation
• OpenSUSE rolls out auto-build service
• Best Buy, Amazon selling Ubuntu for $20
More DesktopLinux news

LinuxDevices headlines:
• Debian maintainer calls for embedded input
• Via contracts open source leader as liaison
• "Handheld recording studio" mixes with Linux
• Pentium M SoC takes wing
• Mobile Linux conference keynotes announced
• Debian Linux installer for NAS devices goes beta
• Industrial PCs support real-time Linux extensions
• Free webinar to unlock secrets of the Atom
• Cortex-A8 runs Linux-friendly hypervisor
• Linux mini-PC takes two Watts to tango
More LinuxDevices news

Dev Shed Dev Shed
Powered By Dev Shed


Linux vs. Windows?
•  in the enterprise
•  in gadgets & devices

Linux conquers smartphones!

...read all about 'em




news feed

Home  |  News  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

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.