Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by loup-vaillant on Friday October 31, 2014 @09:03AM
(#8538492)
I want a Coq kernel!
But seriously, I'm not sure writing the stuff in assembly can also optimise simplicity and manageability. Though we are talking about the obsolete X86 architecture here. More reasonable hardware[1] will likely be easier to compile to.
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by m_eiman on Friday October 31, 2014 @05:27AM
(#8537953)
It seems like a strange match to use LwIP (which is optimzed for small size to run on embedded systems) with a kernel optimized for speed. I'm guessing that a different IP stack would perform better, given the different constraints on a x64 system. Maybe there aren't many to choose from though, that aren't tied to a specific kernel?
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by errordeveloper on Friday October 31, 2014 @06:44AM
(#8538114)
Yeah, exactly. NetBSD's implementation makes sense to use, as it's a rather solid one and very portable. Plus it's probably very general-purpose, while lwIP had never been. Not to say that general-purposeness is the best thing, so that's why I pointed at mTCP, which is actually optimised for multicore systems... Anyhow, I don't think these guys even get their point across. Why have they chosen lwIP in this particular instance actually?
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by justincormack on Friday October 31, 2014 @07:36AM
(#8538240)
Yes, lwIP only has smallness as a benefit, at the expense of a lot. If we knew what the idea behind the thing was it might be clearer, performance does seem to be an aim.
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by k0ngo on Friday October 31, 2014 @05:46AM
(#8537990)
Is it just me, or isn't "BareMetal OS" an oxymoron? I guess it sounds cool, but taking an established term and use it as a name for the exactly opposite seems confusing to me. Please be responsible when choosing names for your projects :)
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by loup-vaillant on Friday October 31, 2014 @08:59AM
(#8538475)
Exokernels don't, actually, abstract over hardware. They merely manage resource allocation.[1] So, "BareMetal", is not such an oxymoron, provided you're talking about the kernel itself.
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by danbruc on Friday October 31, 2014 @07:22AM
(#8538204)
I love minimal things. But if this is supposed to be more than a because-we-can-thing, tell me if it is worth the trouble - how fast is it, how many requests can it stand? Numbers! Ten times a stock Linux setup? More? Less?
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by xorcist on Friday October 31, 2014 @07:57AM
(#8538287)
Speed does not matter much. Does it work in the wild? A TCP/IP stack developed from specifications would work very well if you dropped it on the Internet.
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by PinguTS on Friday October 31, 2014 @10:33AM
(#8538932)
Not really for embedded systems. Because the majority of the embedded systems is either ARM or proprietary Freescale, Renesas, you-name-it architecture. But BareMetal OS seems to be exclusively for 64-bit x86. It is also proud to not be generic. So: no, not for embedded.
Re:LwIP on BareMetal: Lightweight TCP/IP stack running on ul...
by deadgrey19 on Friday October 31, 2014 @07:21AM
(#8538201)
I wonder how it compares with seL4 (http://sel4.systems/) which is verified, open source, "bare metal" and designed for minimality, security and performance.
So not optimized for safety.
But seriously, I'm not sure writing the stuff in assembly can also optimise simplicity and manageability. Though we are talking about the obsolete X86 architecture here. More reasonable hardware[1] will likely be easier to compile to.
[1]: http://millcomputing.com/
http://sel4.systems/
[1] http://rumpkernel.org/
[1]: https://github.com/eunyoung14/mtcp
[1]: http://c2.com/cgi/wiki?ExoKernel
[1]: http://osv.io/
I love it !!!