Comment: Linux - the good, the bad and the ugly

Linux is widely used to support Web servers, but it may be even better suited for the desktop systems of corporates, says Roger Howorth

Linux is finally being touted as a desktop operating system, and Red hat Linux is leading the charge. But Linux has become best known as an operating system for front-end Web servers, a role that masks its real strengths and weaknesses.

It seems to me that Linux's main strength is its reliance on open-source software. Beyond that, its notable characteristics are a design that is architecturally resistant to viruses, and a kernel that is less than ideal as a platform for datacentre applications. In other words, it probably makes a better desktop than it does a server.

This last point has inadvertently been underlined by the Linux community. It is currently boasting about new task-scheduling and threading modules that should let Linux run faster on an eight-way server than it does on a four-way server. The vendors brush over past failings, but it's obvious that they are making so much noise about these updates precisely because earlier versions were so poor.

The biggest problem for Linux is its monolithic kernel architecture, considered by some to be unsuitable for high-end server systems. The problem is that lots of third-party software modules run at the same priority as the kernel. As the kernel and its modules have equal priority, the kernel has no method of bypassing faulty modules. Modules may include drivers for sound, storage and graphics adapters, some of which are open source, and some commercially developed. There's plenty of scope for vendors or open-sourcerers to abandon development of a driver, and for poorly written drivers to crash the kernel.

The unwieldy architecture makes it impossible to design truly fault-tolerant hardware. Consider hot plugging some hardware out of a system. Having a kernel that can bypass failed software modules enables the system to easily support hot plugging. Thus Solaris allows system boards containing processors and RAM to be removed from the chassis without causing applications, or even transactions, to fail. Persuading Linux or Windows to be so robust is quite another matter.

Security is also a critical consideration, and the absence of CodeRed- and Nimda-scale disasters on Linux shows that the operating system holds its own in this area. But when it comes to the security features within the architecture, Linux is as susceptible as any other server operating system to buffer overflow attacks and worms. After all, it's the nature of servers that they allow client systems to send data on specific ports, and unless the server software listening on that port is well designed and tested, it will almost certainly be possible to craft a buffer overflow attack.

This is in contrast to Linux's merits as a desktop system, where it has some features that make it less prone to attack by viruses. Given the huge amount of money firms must spend on antivirus software for their desktops, this would seem to be an important feature.

But the final twist in this tale of advances and setbacks is that Red Hat has a lot of catching up to do if it is to make a compelling desktop operating system. While other Linux vendors have been developing desktop products for years, Red Hat is an upstart in this area.For example, Suse Linux installs on my Dell OptiPlex without problem, Red Hat Professional does not.

Have your say: contact IT Week

More IT Week Comments