Linux Kernel Reaps the Fruits of Real-Time Technology

April 24, 2007

More than half of the 1.2 million lines of code for the real-time kernel technology have been moved into the mainline Linux kernel over the past year.

More than half of the 1.2 million lines of code for the real-time kernel technology have been moved into the mainline Linux kernel over the past year, Tim Burke, the director of emerging technologies at Red Hat, said at the Linux/Open Source on Wall Street conference here on April 23.

"The real-time upstream kernel work is a mainstream community initiative and is all about determinism and latency, about being able to have guarantees that transactions will complete within finite periods of time and that the highest priority processes and applications will be able to run without being pre-empted by lower priority applications or low level system services," he said.

Red Hat had decided to drive this initiative forward some two years ago, and has been working on it since then. At its peak, this involved some 1.2 million lines of change and, over the past year, almost 50 percent of those patches have moved to the mainline kernel, Burke said.

Asked if all this code could create instability in the Linux kernel, Burke said "possibly," but added that the code was robustly tested by Red Hat and the community before being added into the kernel incrementally, and had been extremely reliable so far.

After asking the small number of attendees if any of them were kernel developers - none were - Burke showed a performance chart that compared the standard Red Hat Enterprise Linux 5 (RHEL 5) kernel and replacing that with real-time RHEL 5, which is still under development by the company and designed to target financial services firms.

Most of the projects that drive real-time requirements involve messaging, and the goal of these real-time capabilities is to create predictability in response time and to ensure that the highest priority processes run first.

"The key challenge of getting this done is to remove 'black holes' in the Linux kernel," Burke said, noting that RHEL 5 real time showed a decrease in network latency compared to RHEL 5.

No application changes will be required to benefit from the real-time enhancements, and those applications which are latency bottlenecked due to kernel scheduling and interrupt handling, will see a benefit from this, he said.

But latencies introduced entirely in user space such as sub-optimal application codes and unbounded Java garbage collection were not eliminated, he said.

"There can also be downsides to real time, one of which is that average throughput might decrease. Real-time capabilities do not solve all the world's problems. But, on the positive side, recompilation is not required," Burke said.

John O'Hara, an executive director and distinguished engineer of investment bank technology at JP Morgan and the chairman of the AMQP (Advanced Message Queuing Protocol) working group, then took the stage to talk about the AMQP open standard for middleware.

"This open standard is different from others as it is a straightforward and complete solution for business messaging. It is cost effective for pervasive deployment, totally open, and created by users and technologists working together to satisfy real needs," he said.

AMQP had been in development for more than three years before going public on June 20, 2006. Messaging middleware should provide event notification, message file transfer, meet real-world requirements of mission-critical systems, be trustworthy and provide a common infrastructure so that the enterprise AMQP can meet these requirements in one protocol, O'Hara said.

He added that AMQP protocol layering is network friendly; the infrastructure data is binary; it is independent of JMS (Java Message Service) and multivendor interoperable; and the "exchanges" define flexible routing rules.

"The AMQP model also provides common semantics: an exchange routes messages to a destination based on a set of rules," O'Hara said.

Copyright 2007 by Ziff Davis Media, Distributed by United Press International


print this article email this article download pdf blog this article bookmark this article     Stumble it Digg this share on Facebook retweet share on Reddit add to delicious
Rate this story - 4.3 /5 (6 votes)


April 24, 2007 all stories

Comments: 0

4.3 /5 (6 votes)
  • Stumble this up

  • Digg this

  • share this

  • hide
  • Related Stories




  • hide
  • Relevant PhysicsForums posts

Other News

A system of space solar power system (SSPS)

Japan eyes solar station in space as new energy source

Technology / Energy

created 13 hours ago | popularity 4.6 / 5 (11) | comments 9

It may sound like a sci-fi vision, but Japan's space agency is dead serious: by 2030 it wants to collect solar power in space and zap it down to Earth, using laser beams or microwaves.


Campaigners are stepping up efforts to curb online tracking

Advertisers face resistance to on-line tracking

Technology / Internet

created 12 hours ago | popularity 5 / 5 (2) | comments 0

Campaigners are stepping up efforts to curb online tracking of Internet use by firms that deliver adverts tailored to the specific interests of consumers, as polls reveal widespread unease with the practice.


Software cos. eye key patent case in Supreme Court (AP)

Software cos. eye key patent case in Supreme Court

Technology / Business

created 14 hours ago | popularity 5 / 5 (4) | comments 1

(AP) -- With the technology industry looking on, the Supreme Court on Monday will explore what types of inventions should be eligible for a patent in a pivotal case that could undermine such legal protections ...


Framed for child porn -- by a PC virus

Framed for child porn -- by a PC virus

Technology / Internet

created 5 hours ago | popularity 5 / 5 (4) | comments 1

(AP) -- Of all the sinister things that Internet viruses do, this might be the worst: They can make you an unsuspecting collector of child pornography.


Sony offers 'Cloudy' early to people with its TVs

Technology / Business

created 5 hours ago | popularity not rated yet | comments 0

(AP) -- In a bid to sell living room electronics and spur buzz for "Cloudy with A Chance of Meatballs," Sony Corp. is offering the movie for free to U.S. buyers of its Internet-connected TVs and Blu-ray players starting ...