In defense of embedded Linux’s TCO
Wednesday, January 28th, 2009Mike Hall (Windows Embedded Blog, of Microsoft) posted that Linux use in embedded systems is declining based on a whitepaper from an RTOS vendor and a study from Jerry Krasner of Embedded Market Forecasters. Mike writes a great blog… you should subscribe to it and read it regularly. Microsoft makes a compelling set of products that service true market needs. Nothing but respect for what the do… but I can’t let this slide.
Claim: 48% developers not considering Linux for their next embedded project
This is based on an unreferenced CMP survey cited in a whitepaper by RTOS vendor Express Logic. I sure wish they had a URL to the study because the chart they cite gives me pause. The little footnote that states that they question that supports this claim was changed in 2007 to be more specific about time frame was intriguing. Perhaps they asked a more specific question and got more specific answers? One might feel more freedom to answer liberally about what you hope to do in the future if there is no time frame to it.
Claim: New or modified lines of code on Windows CE 47,000 (ave) compared with 193,000 industry average
The Krasner report which supports this claim is far more interesting. Lets dig in!
A bit about EMF and Jerry Krasner: Jerry’s had years of experience watching this embedded systems market in particular. He’s said both positive and negative statements about embedded Linux. Back in 2003 he was unfairly vilified by many for his report “Total Cost of Development: A comprehensive cost estimation framework for evaluating embedded development platforms” that dinged embedded Linux for a high TCO and propped up Windows CE .NET and Windows XP Embedded. Linux Devices has a good historical summary.
In a December 2007 study “Embedded Linux Total Cost of Development Analyzed” he revisited this topic… this time with his own data collection and apparently free of any vendor funding or direction.
Some quotes from the December 2007 study that I find compelling:
In summary, Linux not only continues to gain market share across the embedded spectrum, but the definitive EMF data set forth herein demonstrates that developers using Linux have the same design outcomes compared with traditional RTOSes.
Uh… sorry Mike. Looks like you’ve reversed the polarity on what the LOC metric means. You’ve got to look at both the lines of code written and the design outcome data in the Krasner study. Just because a project is big in terms of lines of code doesn’t mean the underlying platform is a failure. Krasner mentions that “out analysis showed that the in-house developers wrote fewer lines of code and fared poorly when it came to final design outcomes as compared with their pre-design expectations.” He is using lines of code as a metric of developer contribution to product design requirements, not as a measure of project burden.
Consider what we get when we mash-up both the RTOS and Linux Krasner studies that were published in 2007:
| Platform | Total design time | % projects behind schedule | Avg. months behind |
| RTOSs in general | 15.5 | 43% | 3.8 |
| Windows CE | 12.2 | 36.8% | 3.4 |
| Linux in general | 14.4 | 35.8% | 3.9 |
| Wind River Linux | 13.9 | 37.3% | 7.7 |
| MontaVista Linux | 11.2 | 36.4% | 4.1 |
So it looks like if you want to get quicker time to market you’ve got a fairly obvious choice. I also like how this data supports something I’ve felt empirically for 10 years now: Working with a commercial Linux vendor will result in a better project outcome:
Final design results within 30% of pre-design expectation for features and schedule:
Commercial Linux = 70.2%
Other Linux = 59.0%
I’m not bashing Windows CE/XP Embedded, Microsoft, or Mike. I just think that if you are going to go cite a market research study that you’ve got to take into account the overall dataset. The data indicates, to me, that:
- in-house RTOS or Linux projects are painful
- not all RTOS or Linux commercial vendors will support the same project outcome


