Industry


Ads by TechWords

See your link here


Linux 2.6.30's best five features

Windows and Mac OS updates every few years. Windows 7 arrives on October 22nd and Apple's Snow Leopard will show up in September. The Linux kernel, the heart of Linux distributions, however, gets updated every few months.

What this means for you is that Windows and Mac OS are taking large, slow steps, while Linux is constantly evolving. Thus, Linux's changes may not be as big from version to version, but they tend to be more thoroughly tested and stable. What most users will like in this distribution starts with a faster boot-up for Linux.

1. Fast boot. Older versions of Linux spend a lot of time scanning for hard drives and other storage devices and then partitions on each of them. This eats up a lot of milliseconds because it looks for them one at a time. With the 2.6.30 boot-up, however, instead of waiting for this to get done the rest of the kernel continues to boot-up. At the same time, the storage devices are being checked in parallel, two or more at a time, to further improve the system's boot speed.

There are other efforts afoot to speed up Linux's boot times. The upshot of all this work will be to keep Linux the fastest booting operating system well into the future.

2. Storage improvements. Speaking of storage devices, there's a long, laundry list of file system improvements. I won't go into most of those in detail. Suffice it to say that no matter what file system you use either locally or on a network, chances are that it's performance and stability has been improved. For a high-level view of these changes see the Linux Kernel Newbie 2.6.30 reference page.

I will mention one issue though simply because, as Jonathan Corbet, Linux kernel developer and journalist put it, "Long, highly-technical, and animated discussion threads are certainly not unheard of on the linux-kernel mailing list. Even by linux-kernel standards, though, the thread that followed the 2.6.29 announcement was impressive." You can say that again.

The argument... ah discussion was over how file systems and block I/O (input/output) using the fsync() function in Linux should work. The really simple version of this discussion is that fsync has defaulted to forcing a system to write file system journal and related file data to be written immediately. Most I/O schedulers though push reads over writes. On a non-journaling file system, that's not a big deal. But, a journal write has to go through immediately and it can take up a lot of time while it's doing it.

On Ext3, probably the most widely used Linux file system, the result is that Ext3 is very stable, because it makes sure those journal writes go through, but at the same time it's very slow, once more because of those journal writes. You can argue almost endlessly over how to handle this problem, or even that Ext3 fsync function runs perfectly fine. Linus Torvalds, however, finally came down on the side of making the writes faster.

The arguments continue though on how to handle fsync(). And, in addition, side discussions on how to handle file reads, writes and creation continue on. For users most of this doesn't matter, developers who get down and dirty with file-systems though should continue to pay close attention.

3) Ext4 tuning. Linux's new Ext4 file system has been in the works for several years now. It's now being used in major Linux distributions like Ubuntu 9.04, and it's working well. That said, Ext4 has gotten numerous minor changes to improve its stability and performance.

I've been switching my Linux systems to Ext4 over the last few months. If you've been considering making the switch, wait until your distribution adopts the 2.6.30 kernel, and give it a try. I think you'll be pleased.

4) Kernel Integrity Management. Linux is more secure than most other operating systems. Notice, though, that I say it's more secure. I don't say, and I'd be an idiot if I did, that it's completely secure. Nothing is in this world. The operating system took a big step forward in making it harder for any would be cracker to break it though with the introduction of Integrity Management.

This is an old idea that's finally made it into the kernel. What it boils down to is that checks the integrity of files and their metadata when they're called by the operating system using an EVM (extended verification module) code. If a file appears to have been tampered with, the system can lock down the its use and notify the administrator that mischief is afoot.

While SE-Linux (Security Enhanced Linux) is far more useful for protecting most users, I can see Integrity Management being very handy for Linux devices that don't get a lot of maintenance such as Wi-Fi routers. Attacks on devices are begining to happen and a simple way to lock them down if their files have been changed strikes me as a really handy feature.

5) Network file system caching. How do you speed up a hard drive, or anything else with a file system on it for that matter? You use a cache. Now, with the adoption of FS-Cache, you can use caching with networked file systems.

Right now it only works with NFS (Network File System) and AFS (Andrew File System). These network file systems tend to be used in Unix and Linux-only shops, but there's no reason why you can't use FS-Cache on top of any file system that's network accessible.

I tend to be suspicious of network caching since it's all too easy to lose a network connection, which means you can be left with a real mess between what the server thinks has been changed, added, and saved and what your local cache thinks has been saved. FS-Cache addresses this problem of cache coherency by using journaling on the cache so you can bring the local and remote file systems back into agreement.

While 2.6.30 may not be the most exciting Linux kernel release, it does include several very solid and important improvements. Personally, I plan on switching my servers over to 2.6.30-based distributions as soon as they become available. If your concerns are mostly with the Linux desktop though I wouldn't be in that much of a hurry, most of the updates are more important for server administrators than desktop users.

What People Are Saying

Linux 2.6.X best five features

You don't change because kernel a has a new feature.
If you do that your either a developer or a stupid administrator.
You upgrade when all features you need work together in that version. That's the main reason for upgrading.
And the older version is obsolete/you bougth new hardware.
And with the new version you can be save for another 5-10 year depending on your needs & budget.

Anything else is a waste of money and time.

I use ATI and I am pleased with the color rendering it gives: more natural & brilliant & accurate colors than any Nvidea card i ever owned.

You have to look out for which version of X and the kernel it is, but with a wait it will come.

With m$ : maybe it will work once in a special case but you never know for how long.

With Linux you know once it works it will work until you videocard goes to heaven...

I prefer the last one.

Deja vu all over again?

Some of the comments have dealt with the lack of Linux availability pre-installed. I'm wondering if an incident I was told about some years ago might shed some light. (I'm deliberately obscuring the details to protect the source, who at the time was an engineer for the company.)

According to this "insider" (who I knew through a hobby we both enjoyed), this (fairly large) computer company offered an alternative (and in my opinion, superior) OS as a pre-installed option to Windows. It was showing signs of taking off in the marketplace. According to my source (who I have no reason to doubt) a MS rep went in to what was probably a VP of sales or similar and told them to dump the other OS if they wanted to be able to continue offering Windows.

That's all I will say. I will let the reader draw their own conclusions.

Typical Linux accusations and crap

I always love, "A friend of a friend told me" stories. you always know exactly how true they are. NOT.

Get some real evidence.

microsoft a history of anticompatitive behaviour and consumer ha

www.ecis.eu/documents/Finalversion_Consumerchoicepaper.pdf

good enough for you?

Don't mistake constant

Don't mistake constant changes to mean constant progress. Despite these constant changes, Linux distributions remain largely broken, and fragile pieces of software. Anyone who has owned an ATI card can attest to the hours spent mucking with XOrg and fglrx.

OS X releases updates frequently as well. Every few years, they release a major revision. The linux kernel gets an update from 2.6.29 to 2.6.30 simply doesn't mean a whole lot in that context.

As much as I am a proponent of Free Software, give credit where it's due. Microsoft releases updates and hotfixes all the time too, but this doesn't mean they are adding features all the time.

ATI

The developers aren't going backwards with each release. Constant changes = constant progress, even if it's not obvious. ATI's fglrx driver is closed source and proprietary. The Linux kernel developers cannot possibly address stability issues with it, as it simply 'appears' on an FTP site without any reference documentation on how it works on the inside. ATI are responsible for its stability.

Open Source Vs Closed Source:
Apple and Microsoft release updates to their products within the product lifecycle. Once the product reaches end of life, you have to purchase a new product. With Linux, you can upgrade the kernel independently of the rest of the OS, for free. And if they ditch the 2.6 kernel in the next two years, you've got the code. You can patch it yourself if you want.

Anyway, you are comparing a kernel update on Linux to entire OS update in Mac OS X / Windows. If you're going to do that, then you also have to think about new developments outside the Linux Kernel. Example: Amazon EC2 compatible technology allowing you to create a private cloud in your own datacenter. For free.

How can you blame Linux for

How can you blame Linux for third party driver problems...

Bookmarked and emailed your

Bookmarked and emailed your post it to a few friends your post was that great keep it upincrease and building pagerank service

Linux is different with

Linux is different with Microsoft's product. In every technical comparation, Linux have some majority points, the only way to more socialize linux, spread the information about linux and its ability.ventrilo server

The ATI problem is an

The ATI problem is an special case, and far than enough to say that the Linux distributions are fragile and broken. You can't blame Linux for third-party drivers either. Blame ATI and switch to other brand.

There are linux distros more solid than others, but if you wish, you can have a really robust Linux distribution (For instance, I have never reinstalled my distribution, which I have been using from 4 years ago).