|
|
A comparison of real-time Linux approaches
2005-06-10
Foreword -- Paul McKenney recently summarized seven approaches to real-time Linux, in an epic 6,000-word post to the Linux Kernel Mailing List (lkml). McKenney's original post is reproduced below; curious readers are invited to consult the lkml archives, and follow up in the TalkBack at the end of this story.
Enjoy . . . ! Date Tue, 7 Jun 2005 19:26:46 -0700 From "Paul E. McKenney" Subject Attempted summary of "RT patch acceptance" thread Hello! Midway through the recent "RT patch acceptance" thread, someone mentioned that it might be good to summarize the various approaches. The following is an attempt to do just this, with an eye to providing a reasonable framework for future discussion. Thoughts? Errors? Omissions? [Quickly donning the asbestos suit with tungsten pinstripes...] Thanx, Paul CONTENTS Search for a line beginning with the corresponding capital letter followed by a period to jump to the corresponding section. A. INTRODUCTION Common wisdom dictates that realtime operating systems, particularly hard-realtime operating systems, must be designed from ground up; that serious realtime support cannot be simply grafted onto an existing general-purpose operating system. Although this common wisdom was not arrived at lightly, it is often worthwhile to look for important exceptions to this sort of general rule of thumb. Candidate exceptions include:
Nevertheless, it is clear that Linux can support significant realtime requirements, as it is already being used heavily in the realtime arena. But how far should Linux extend its realtime support, and what is the best way to extend Linux in this direction? Can one approach to realtime satisfy all reasonable requirements, or would it be better to support multiple approaches, each with its area of applicability? The answers to these questions are not yet clear, and have been the subject of much spirited discussion, for example, see the more than 300 messages in the following LKML thread: http://lkml.org/lkml/2005/5/23/156 http://marc.theaimsgroup.com/?l=linux-kernel&m=111689227213061&w=2 This document looks at some strategies that have been proposed for realtime Linux, comparing and contrasting their capabilities. But, to evaluate these strategies, it is first necessary to determine what exactly one might want in a realtime Linux. If you would rather skip straight to the comparing and contrasting, click to "LINUX REALTIME APPROACHES". Otherwise, continue HERE . . .
|