6 ms·
Linux is deployed all over the world in safety-critical applications .. if you take a train in Europe, parts of China, Brazil, some parts of the US .. Linux is
by fit2rule 11y ago
Linux is deployed all over the world in safety-critical applications .. if you take a train in Europe, parts of China, Brazil, some parts of the US .. Linux is running along, track-side, protectin' yo' ass.. Linux is used in systems that have SIL-4 and ISO 27001 up the wazoo, its just that in the commercial/industrial use, 'tis all extremely well documented. And tested. Tested, tested, tested. Onboard, offline, staged, etc. Test the hell out of all safety-critical software.
No goto un-tested. No branches not taken.
- TickleSteve 11y agoIn those systems, the Linux kernel tends to be compartmentalised, basically being run as a task under the control of the real RTOS while the safety critical & hard real-time portions are run in a proper RTOS. The other situation is that the actual control is deferred to a proper RTOS/micro combination which can do the correct thing when Linux goes off the rails. The Linux kernel is not a hard-real-time system, it doesn't have complete test coverage and its inclusion in highly-safety-critical systems is as a lower-safety-level subsystem. You will not find a Linux task controlling (for example) a GPIO enabling an X-Ray beam in human rated medical devices. BTW: I can promise you that there are many untested goto's in the Linux Kernel...
- deleted 11y ago[deleted]
- fit2rule 11y ago"proper" RTOS. What part of Linux precludes it from being a proper RT OS in the hands of industrial developers whose purpose it is to certify it as such? >BTW: I can promise you that there are many untested goto's in the Linux Kernel... Not in a development environment looking for SIL-4 certification, there isn't. Perhaps in the public sphere you may feel that is an adequate position, but in industrial computing a significant part of the value is in the testing and real certification of the Linux kernel for certain ratings. >The Linux kernel is not a hard-real-time system, it doesn't have complete test coverage and its inclusion in highly-safety-critical systems is as a lower-safety-level subsystem I assure you, I have found none of these statements to be truly true.
- TickleSteve 11y agoThe linux kernel is tuned for throughput, not latency and certainly not bounded-latency. My background is industrial/defense/medical s/w on hard real time systems. e.g. I've worked on train braking systems, high throughput radar systems, medical devices, lots hard real-time control stuff.... I personally have never seen any evidence of anything greater than SIL-2 certified Linux (https://www.osadl.org/SIL2LinuxMP.sil2-linux-project.0.html https://www.osadl.org/SIL2LinuxMP.sil2-linux-project.0.html) and that is only in very narrowly defined context. Like I said earlier, any higher certification, Linux would be run as a comparmentalised, lower-level subsystem. The real control would not be via a Linux controlled task. Until you can point me to the test-suite for a Linux kernel& driver set that gives me 100% code-coverage, then Linux will never get past this point. Dont get me wrong, I like Linux and it has a valuable place in embedded systems.... but hard-real-time control and safety-related systems is not it. As a final word on the subject, dont take my word for it: http://www.hse.gov.uk/research/rrhtm/rr011.htm http://www.hse.gov.uk/research/rrhtm/rr011.htm "it is not likely to be either suitable or certifiable for SIL 4 applications" "It is unlikely that Linux would be useful for SIL 4 applications and it would not be reasonably practicable to provide evidence that it meets a SIL 4 integrity requirement. " ...And in (https://www.osadl.org/fileadmin/dam/presentations/61508/61508_paper.pdf https://www.osadl.org/fileadmin/dam/presentations/61508/6150...) "One of the main conclusion: Linux is not suitable for SIL4."
- fit2rule 11y ago>Until you can point me to the test-suite for a Linux kernel& driver set that gives me 100% code-coverage, then Linux will never get past this point. Of course, this is proprietary to the whims of the companys' deploying SIL-4 Linux: THALES, et al. http://ti.tuwien.ac.at/ecs/teaching/courses/hwswcode_vu_WS_2011/hwsw-codesign-student-presentations/gv1-thales http://ti.tuwien.ac.at/ecs/teaching/courses/hwswcode_vu_WS_2... http://ercim-news.ercim.eu/en75/special/tas-control-platform-a-platform-for-safety-critical-railway-applications http://ercim-news.ercim.eu/en75/special/tas-control-platform... http://www.ibm.com/developerworks/library/l-real-time-linux/ http://www.ibm.com/developerworks/library/l-real-time-linux/ (BTW, HSE isn't exactly an industrial authority on much ..)
- deleted 11y ago[deleted]