Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Forum

  Home arrow Linux For Devices Articles arrow A TimeSys response on Real-Time Linux

A TimeSys response on Real-Time Linux
By Linux Devices

Rate This Article: Add This Article To:

Foreword: In part three of an Embedded Linux Journal series of articles by Kevin Dankwardt on Real-time Linux, Dankwardt reviewed the sub-kernel approach as used in RTLinux and RTAI and provided some benchmark numbers. Following publication of Dankwardt's article .

. .
  • MontaVista Software's Kevin Morgan issued a response to Dankwardt's article in which he offered "a few clarifications (or points of view)".
  • Next, Victor Yodaiken and Matt Sherer (of FSMLabs) reacted to Kevin Morgan's response to Dankwardt's article, taking exception to Morgan's assertion that RTLinux is "not appropriate for the placement of comprehensive applications".
  • Then, Kevin Morgan (of MontaVista) clarified the status of MontaVista's kernel preemption enhancements and responded to several other issues raised in Yodaiken and Sherer's earlier comments.
  • Next, Karim Yaghmour provided the RTAI point-of-view -- drawing attention to the nature of the API, the usability of the methods, and distinctions in the overall openness of the specific approaches that are being compared.
In this latest installment of the continuing real-time Linux debate, Doug Locke, TimeSys VP of Technology, contrasts his company's preemptible Linux implementation with that of MontaVista, and comments on several aspects of the preceding debate.



A TimeSys response on Real-Time Linux
by Dr. Doug Locke
Vice President of Technology, TimeSys Corp.


Kevin Dankwardt's article compared three basic approaches to providing predictable support for Linux; the dual-kernel approach represented by RTAI and RTLinux, the standard Linux plus a partially preemptive patch represented by MontaVista, and the fully preemptible kernel approach from TimeSys. While Dankwardt's results are not exhaustive enough to fully clarify the differences between the three approaches, the subsequent comments by Kevin Morgan and Victor Yodaikin seem to have clouded both Dankwardt's results and the actual state of real-time Linux.

Contrary to Yodaiken's comments, a Linux distribution does exist today in which the performance of a real-time thread will not "degrade rapidly" when it is stressed. This is accomplished by providing not only full preemptibility (not disabling preemption whenever resources are shared as with the Love patch), but by providing a fully real-time Linux distribution. TimeSys Linux/Real-Time is far from being just a "proposal" for real-time Linux. TimeSys Linux/Real-Time is a full-featured RTOS being used today for performance-critical applications. Paraphrasing Yodaiken's claim, if you get TimeSys Linux/Real-Time today, you can have a 100-microsecond thread running this afternoon. But with TimeSys Linux/Real-Time, you get this with the standard Linux API; no need for two operating systems, two device driver interfaces, or heroic measures when real-time tasks need to use Linux services such as the file system or socket interfaces.

Additionally, using breakthrough reservations technology, TimeSys lets system engineers move beyond priorities to guaranteed CPU and network interface response, regardless of load levels -- also fully complete and available on EVERY board supported. This means that both real-time and non-real-time applications can get predictable performance with dynamic loads and especially overloads.

In other words, TimeSys has, indeed, converted Linux into a system that can be readily configured to provide worst-case response times well below 100 microseconds when needed, and broad performance capabilities when soft real-time response is the requirement, and it can support both of those environments in the same system. It provides this performance with the standard Linux and POSIX application interfaces, and timer resolutions to a few microseconds (depending on hardware available). These features are not restricted to the Pentium and PowerPC, but are available on EVERY board and processor architecture TimeSys supports (e.g., MIPS, SuperH, ARM, StrongARM, SPARC, XScale, Pentium, PowerPC). All of it is available TODAY.

Thus, the software engineering of real-time systems need not be artificially constrained by having two APIs. Configure the application to meet application needs, use the complete, standard Linux API, use the appropriate POSIX interfaces (e.g., SCHED-FIFO threads, mutexes with priority inheritance, nanosleep with microsecond precision), and mix hard, soft, and non-real-time components, meeting every kind of performance requirement.

Regarding Dankwardt's benchmarking efforts, his results are illustrative, but they do not provide a complete picture on the relative differences between the different solutions, because they measure only a few parameters under limited load conditions. In addition, his benchmark results use the TimeSys Linux/GPL version, so they do not show the significant additional performance capabilities available in TimeSys Linux/Real-Time. For additional reading on this subject, an interesting article that further illustrates the differences between the various approaches can be found in the Hourglass project page at University of Utah.


Dr. Doug Locke is Vice President of Technology at TimeSys Corp.



Talk back! Do you have comments or questions on this story? talkback here



Related stories:



Discuss A TimeSys response on Real-Time Linux
 
>>> Be the FIRST to comment on this article!
 
 
 
>>> More Linux For Devices Articles Articles          >>> More By Linux Devices
 



FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

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.

Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
PLATINUM SPONSORS

 
 

 
 

 
 

GOLD SPONSORS


(Become a sponsor)

(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

Mobile phones!

MIDs, UMPCs
& tablets

Mobile devices

Other cool
gadgets

Resource Library

• Unix, Linux Uptime and Reliability Increase: Patch Management Woes Plague Windows Yankee Group survey finds IBM AIX Unix is highest in ...
• Scalable, Fault-Tolerant NAS for Oracle - The Next Generation For several years NAS has been evolving as a storage ...
• Managing Software Intellectual Property in an Open Source World This whitepaper draws on the experiences of the Black Duck ...
• Open Source Security Myths Dispelled Is it risky to trust mission-critical infrastructure to open source ...
• Bringing IT Operations Management to Open Source & Beyond Download this IDC analyst report to learn how open source ...


BREAKING NEWS

• NAS system houses 2.5-inch drives for up to 6TB
• Atom SBC boasts special low-power mode
• Android leaps to rugged handheld, and more phones
• Simulator runs Android apps on Ubuntu
• Fanless industrial PC taps Atom
• Router platform runs OpenWRT Linux
• Feature-packed UMPC survives four-foot drops
• UMPC pioneer gives up the ghost
• Biodegradable, solar-powered netbook runs Linux
• Hypervisor rev'd for higher reliability
• Eurotech spins Atom development kits
• Home media server to demo on Intel Atom platform
• Atom boards feature fanless DC operation
• Low-cost pluggable NAS adds Linux support
• Taiwan open source conference sets agenda


Most popular stories -- past 90 days:
• Linux boots in 2.97 seconds
• Tiniest Linux system, yet?
• Linux powers "cloud" gaming console
• Report: T-Mobile sells out first 1.5 million G1s
• Open set-top box ships
• E17 adapted to Linux devices, demo'd on Treo650
• Android debuts
• First ALP Linux smartphone?
• Cortex-A8 gaming handheld runs Linux
• Ubuntu announces ARM port


DesktopLinux headlines:
• Simulator runs Android apps on Ubuntu
• Hypervisor rev'd for higher reliability
• Pluggable NAS now supports Linux desktops
• Moblin v2 beta targets netbooks
• Linux-ready netbook touted as "Student rugged"
• USB display technology heading for Linux
• Ubuntu One takes baby step to the cloud
• Game over for Linux netbooks?
• Linux Foundation relaunches Linux web site
• Dell spins lower-cost netbook


Also visit our sister site:


Sign up for LinuxForDevices.com's...

news feed


Or, follow us on Twitter...