RTOS Selection and Its Impact On Enhancing Time-To-Market and On-Time Design Outcomes
RTOS Selection and Its Impact On Enhancing Time-To-Market and On-Time Design Outcomes
New research from Embedded Market Forecasters (EMF) indicates that time
to market should be the key selection factor in picking a real time operating
system (RTOS). Although in the past RTOS selection was determined by an
assessment of the functional characteristics of the candidate systems, the
increased complexity and the changes in the embedded market means that
these factors are no longer sufficient to provide successful results. With the
emphasis on seizing windows of market opportunity, factors which affect time
to market have become much more important.
Without question, the traditional criteria still matter: the RTOS must also be
capable of meeting the functional requirements of the application. Notably,
however, the report observes that using an RTOS that is overqualified for the
application may have a negative impact on time-to-market. This is because
their additional capabilities, beyond what is required by the needs of the
application, make these RTOSes more complicated and harder to use.
Introduction
This paper reviews challenges in selecting an RTOS and the importance of the
RTOS in achievement of the fastest time to market. After comparing design
2
outcomes between various RTOS solutions, this paper looks at how selection
of an overqualified RTOS affects project timeliness. Problems of delays are
examined and practical suggestions of best practices for selecting an RTOS
are given.
When faced with all the traditional selection criteria, choosing an RTOS
appears to be a toss-up, with no RTOS standing head-and-shoulders above the
others in technical merit. For this reason, RTOS selection has been primarily a
matter of preference and convenience. Development teams tend to resist
change in the absence of perceived benefits of change. And, since many
RTOSes now offer similar technical capabilities and a broad range of software
and hardware ports, there are few technically compelling reasons to change.
However, if developers reach beyond the traditional criteria and look at time
to market and on-time design characteristics, then some RTOSes clearly rise
above others in keeping developers on time and within budget and even more
importantly, in getting the product to market faster.
3
Knowing that on average About the survey
42% of embedded designs are
Embedded development engineers were interviewed via
behind schedule by an a comprehensive survey designed to elicit information
average of 4.1 months, one regarding current and anticipated tool usage, design
can calculate the average starts, completions and cancellations, development
(host) and target platforms, microprocessors used,
expected loss due to design desirable and undesirable product features, vendor
delays per project as evaluation criteria and purchasing decision processes,
among other important information. Responses from 510
($321,250)*.42*4.1 = embedded developers comprised the EMF 2006
$553,200. comprehensive survey, which explored the attitudes,
preferences and values of embedded developers to the
current and projected use of embedded technologies.
Notably, these calculations The survey was constructed such that the responses
don’t take into account the could be evaluated from many perspectives, including
total response, specific job title of the respondent,
cost of lost revenues because architecture employed in embedded design, processor
the product was delivered family, and each of ten embedded vertical market
late. Time to market is application (e.g., telecom, industrial controls, etc.).
important in every industry The survey questionnaire was developed jointly by
segment, but in short product Embedded Market Forecasters (EMF) and Wilson
Research Group and programmed for a web-based
lifecycle segments such as survey deployment by Wilson Research Group. A base
consumer products, it often of nth-name selected subscribers to RTC magazine,
makes the difference between COTS Journal, and Military and Aerospace Electronics,
who indicated on a qualification card a professional area
profit and loss. of interest in embedded development, were used as the
sample. Starting on 6 March 15, 2006, each member of
this sample was sent an email explaining the purpose of
Clearly, a few tens of the study, that they were statistically selected, and that
thousands of dollars their participation would help embedded vendors better
difference in up-front costs to service the developers. The database was identifiable by
a PIN number that respondents used when they went on-
purchase a superior time-to- line. This served to insure that the appropriate individual
market RTOS is very small responded to the survey and that the response was one-
time only. Care was taken to insure that there was no
compared to the expenditures duplication between the two groups. One follow-up email
experienced as a consequence was sent to all non-responding members of the sample
of late design completion, and two weeks after the original mailing.
the benefits of getting to Five hundred and ten developers responded to the
market ahead of, rather than online survey, of which 55 were hardware engineers,
130 were software engineers, 97 were systems
behind, competitors. Given engineers, 52 were systems architects, 43 were firmware
such dramatic implications, it engineers, 36 were software engineering or development
makes sense that such managers and 35 were hardware engineering managers.
In addition 62 developers gave titles other than these
analysis should become part listed. This provided an excellent distribution of
of every company’s best experiences and viewpoints from which to draw
inferences and conclusions. Statistically, the response is
practices. at a 95% confidence level, plus or minus 3.6%.
4
Comparing design outcomes
The EMF survey showed that selection of the operating system has a direct
influence on time to market and that by selecting and using the right RTOS,
the percent of design completions that are on or ahead of schedule can be
maximized. We examined four popular RTOSes to illustrate this data:
Integrity (Green Hills), ThreadX (Express Logic), Nucleus (Accelerated
Technology), Windows CE (Microsoft), and in-house.
Table 1 presents design outcomes derived from the 2006 EMF survey of
embedded developers.
On or New or
ahead Behind Months Months from modified Total
of Start to
OS Schedule Schedule Behind shipment Lines of Code Lines of Code
ave x1000 ave x1000
It is clear from Table 1 that developers using some RTOSes complete their designs
in a more timely fashion and that even projects behind schedule are completed one
month earlier (on average) than those developers using other RTOSes. While there
are likely to be applications for which certain operating systems are more project
appropriate than others, the data makes it clear that there are compelling time-to-
market reasons to use certain RTOSes whenever possible.
5
Average Lines of Code per Project per OS
1200000
1000000
800000
New & Modified
600000
Total lines of Code
400000
200000
0
Integrity ThreadX Nucleus WinCE In- Industry
House Ave
It is clear from Figure 1 that RTOSes ranking high in fast time-to-market are
not limited to projects with fewer lines of code. So the ability of developers to
complete projects on or ahead of schedule does not appear to be solely related
to project size.
6
One factor that seems to promote ease of use is simple RTOS systems
services. This means that each system service provided by an RTOS offers a
specific functionality that can be used by the application whenever needed. If
the service API is simple, it’s more likely to be easily understood by the
developer and more likely to be easily learned and used. Just as important, a
simple service is more likely to be used correctly, avoiding the introduction of
bugs through misuse caused by overly complex services.
Many RTOSes use cryptic, complex names for their services that require a
reference guide for the developer to recall what the service actually does. An
RTOS with descriptive names for its service calls, organized in a separate
namespace apart from application function and variable names, will make
development easier, and also will assist in code-review by others who didn't
actually write the code.
For example:
(Good): rtos_message_send( p1,p2,p3)
(Bad): xyxConstructBridge_435(p1,p2,p3,p4,p5,p6)
EMF survey data also indicates that it is important to select an RTOS that
suits project requirements. To select an overqualified RTOS results in project
delays. For example, the perception exists that "hard real-time" interrupt
response requirements are difficult to achieve and that the fastest RTOS
should be selected to ensure meeting requirements. This leads developers to
demand the highest level of RTOS performance, and thereby leads RTOS
vendors to spend lots of time making their RTOS respond faster and faster.
Indeed, if such responsiveness were a measure of the benefits of an RTOS,
then "more is better."
But, at some point, "more" is not needed. Once response requirements are
met, faster response is of little additional value. For example, on a desktop
system, it's generally understood that keyboard response of about 10
milliseconds is sufficient to keep up with human typing. A faster response
provides no additional benefit, since the human doing the typing won't be able
to hit the next character for at least 10 milliseconds.
It’s no secret that selecting a processor that is faster than what is required—
sometimes called processor overkill—creates design overhead in processor cost,
7
power requirements, footprint, Suggested List of Best Practices for Selecting the
etc. Likewise, selecting an Most Appropriate OS
overly capable RTOS will 1. Calculate monthly project personnel
introduce greater costs in the expenses (engineers, managers plus
areas of system overhead, overhead) on a month-by-month basis – this
is your cost of project overruns per month.
memory footprint, training 2. Based on internal past history for similar
costs, learning curve, and projects, what was the average number of
months behind schedule? Multiply this by the
likelihood of misuse due to its result of Answer 1.
complexity. 3. What is your forecast revenues based on on-
time shipment of product? Realistically
estimate the cost of missing the target date
Problem of delays in (in terms of percentage of market share lost)
embedded applications as a function of the number of months late.
For example missing a Christmas delivery
schedule might result in the loss of 80%
The importance of these market share and associated revenues.
concerns is underlined by the 4. What are the costs of components, power
requirement and associated chip
fact that embedded designs requirements resulting from using a familiar
are notorious for experiencing but unnecessarily larger and more complex
operating system?
design delays and 5. These are the project “basis” costs which can
cancellations. The problem is be compared to the cost of using a different
expected to become operating system and perhaps new tools
sets.
exacerbated as design 6. What is the cost of development tools,
complexity increases, technical support and license fees? What
new costs would be incurred by switching OS
reliability requirements are and/or tools? Unfortunately this is often the
made more stringent and only cost consideration calculated by the
security concerns dominate purchasing agent – and it may be a small
fraction of costs incurred from 1, 2, 3 and 4
connectivity issues. Tables II- and totaled in 5.
2 and II-3 illustrate the 7. Work with engineering to establish the
operating system capabilities and the
divergence between early and microprocessor characteristics appropriate to
late design completions. successfully completing the project on-time.
Table II-2 represents 2006 8. Establish a periodic review advisory board to
look at advantages and disadvantages of
data while Table II-3 is 2005 alternative operating systems and tools
data presented for requirements.
9. Set up a methodology (or subscribe to a
comparison. It is interesting service) to benchmark your companies
to note the verticals in which performance against industry and vertical
design improvements have market normals.
10. Don’t be afraid of change – assign group
been achieved. responsibilities such that progress can be
made and measured without political games
or the blame game.
8
Enhance your time-to-market outcomes
We have set forth data that shows current design time-to-market outcomes. EMF
believes that the data also shows that by carefully analyzing design parameters
and requirements before the project begins that any OEM or systems integrator
can enhance their design prospects and achieve better project completion results
by following a series of recommended “best practices” which follows.
Indeed, rather than relying on traditional RTOS selection criteria that have
resulted in this declining rate of success, if developers select an OS appropriate
to design requirements (avoiding overkill) based on time-to-market, as shown
in the survey data, project completion results will be enhanced.
9
Conclusion
The data presented here can be used as a benchmark for establishing internal
controls and insuring design outcomes. It demonstrates that whether or not the
project is completed on schedule has a strong correlation to the RTOS that was
selected. As a general rule, selecting the simplest and most intuitive RTOS that
is capable of meeting the needs of the application will help ensure that project
deadlines are met. Time is money and developing an internal program to insure
on-time project completions and insure that you meet windows of opportunity
in a timely manner will pay huge dividends for your organization.
Jerry Krasner, Ph.D., MBA is Vice President and Chief Analyst of Embedded
Market Forecasters (a division of American Technology International, Inc.).
The company’s in-depth surveys of embedded developers are used by industry,
the government, and the military and prime contractors to benchmark developer
activities, usages and preferences for benchmarking their own processes and for
making decisions regarding software, tools and hardware purchases.
Copyright 2007 by Embedded Market Forecasters, a division of American Technology International, Inc,
1257 Worcester Road #500, Framingham, MA 01701. All rights reserved. No part of this document covered
by copyright hereon may be reproduced or copied without expressed permission. Every effort has been made
to provide accurate data. To the best of the editor’s knowledge, data is reliable and complete, but no
warranty is made for this.
10