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

Keywords: Match:
Linux 2.6 real-time podcast series concludes
Aug. 31, 2007

TimeSys has published the final installment in its podcast series devoted to real-time capabilities in the Linux 2.6 kernel. Probably the most informative and well-organized episode yet, the new podcast provides fascinating insight and perspective on seven new real-time capabilities added to Linux between the 2.6.0 and 2.6.22.2 releases.

Spread the word:
digg this story
In their two prior episodes devoted to real-time Linux, co-hosts Gene Sally and Maciej Halasz defined some terms and identified sources of latency in Linux. In the final installment, they begin with an organized list of real-time innovations since 2.6 development began, and then return to discuss each innovation in order.

Topics broached include:
  • The 0(1) scheduler

  • Improved POSIX compliancy, including Linux's first implementation of message queues and of priority inheritance, as well as an improved implementation of signals less apt to disregard multiple inputs

  • Three levels of real-time preemptibility, configurable at compile time according to the user's preference for throughput or real-time predictability:

    • Voluntary preemption -- adds voluntary preemption points to the kernel, re-using the "my_sleep" function for minimum disruption; allows more opportunities for the scheduler to run high-priority tasks, with little effect on total throughput

    • Preemptible kernel -- adds involuntary kernel preemption points, with the goal of achieving 1ms of latency on a fairly fast Pentium processor

    • Full real-time preemption -- adds even more preemption points, with the goal of achieving microsecond-level latency; all but "kernel-critical" portions of kernel code become preemptible involuntarily at any time

  • Hard IRQs executed in thread context -- allows developers to better insulate systems from external events, by moving hardware interrupts into kernel thread context (where differing priority levels can be assigned)

  • Priority inheritance available in both kernel and user space mutexes -- prevents "priority inversions," where contentions between multiple tasks for the same resource might otherwise cause a lower-priority but sooner-arriving task to be allocated first

  • High-resolution timers -- added in 2.6.21, this allows the kernel to actually use the high-resolution timers built into most processors, enabling, for example, POSIX timers and nano_sleep calls to be "as accurate as hardware allows," Halasz said. "The kernel's entire time management gets to the level of microseconds, and you can schedule timer interrupts at that granularity. Before, time management was not that great. But now, the timer actually gets woken up when you ask for it."

  • Various kernel config options for monitoring real-time behavior of kernel, including:

    • CONFIG_LATENCY_TRACE -- allows end-user to "track the full trace of maximum latency." The kernel gets a little bigger, and throughput might worsen, but the kernel will keep a text file-like log of latency

    • CONFIG_WAKEUP_TIMING -- "Allows the tracking of the maximum recorded time between waking up for a high-priority task, and executing on the CPU, shown in microseconds" Halacz said, adding, "It's available under the /proc filesystem, where you can also reset values."
As usual, this episode can be found here. Although intended to be a half-hour in length, it runs about 45 minutes, proving that real-time can indeed affect throughput.


--Henry Kingman




Related Stories:


(Click here for further information)


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...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Hacker-friendly karaoke PMP runs Linux
• Maemo gains KOffice port
• OLPC partners with Amazon, ITU
• "cJTAG" debuts
• First $100 laptop runs Linux
• First Linux on Everest
• Dell ships Ubuntu- and Atom-based netbook
• Smallest x86 board ever?
• MontaVista Vision gains focus
• "Olympics" phone runs Linux
• Android Challenge winners push location awareness
• Atmel-based industrial SBC runs Linux
• Atom squeezes onto Pico-ITX board
• Via frees Chrome graphics driver source
• Webinar dissects Linux multicore migration


Most popular stories -- past 90 days:
• Open source phone goes mass-market
• Updated! Linux Mobile Phones Showcase
• World's cheapest Linux-based laptop?
• Garmin Nav devices run Gnome Linux
• First Atom-based notebook runs Linux
• ARM9 board boots Debian in 0.69 seconds
• Open source camera records geotagged video to SATA HDD
• Linux-friendly Beagle fetches $150
• "PDA phone" runs Linux
• Intel offers $80 "Little Falls" Atom mobo
• Netflix Player runs Linux


DesktopLinux headlines:
• OSCON 2008 presentations, videos posted
• Debian distro named for little green man
• Google spins web browser
• Summit debuts for Linux end users
• "UbuntuLite" reviewed
• Linux in the SME
• Linux: not yet photo-friendly
• Linux to gain anti-virus software
• Linux gains backup utility
• Testing Lenny


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  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.