<div dir="ltr">Very interesting.<div><br></div><div>How would this compare to Linux Containers and Docker in terms of memory efficiency and performance?</div><div><br></div><div>My team keeps looking for ways to improve the utilisation of our hardware for hundreds of Bamboo build agents, so this is the main context I'm asking this in. We currently use static KVM agents (Ubuntu 12.04 LTS) and just finished a successful spike to look at Docker.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>--Amos</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 September 2013 06:36, Nadav Har'El <span dir="ltr"><<a href="mailto:nyh@math.technion.ac.il" target="_blank">nyh@math.technion.ac.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, today we've made the first release of OSv, a new operating system for<br>
running applications on virtual machines.<br>
<br>
OSv is free software, released under the BSD license, and you can find it in<br>
<a href="https://github.com/cloudius-systems/osv" target="_blank">https://github.com/cloudius-systems/osv</a> and <a href="http://www.osv.io" target="_blank">http://www.osv.io</a>.<br>
There is also a mailing list: <a href="mailto:osv-dev@googlegroups.com">osv-dev@googlegroups.com</a>.<br>
<br>
These days, most applications running on virtual machines in the cloud run<br>
on top of Linux. We all love Linux, but as an all-encompassing operating<br>
system for everything from phones to supercomputers, Linux was never<br>
really designed for virtual machines; It is big and complex, and it<br>
offers features (such as multi-user and multi-process) which are today<br>
made redundant by the hypervisor and slow it down. Linux's APIs are many<br>
times set in stone by decades of legacy code.<br>
All these cost in application performance, and make it harder to innovate.<br>
<br>
This is why we developed OSv, a new operating system designed to run<br>
a single application on a virtual machine. As it runs a single application<br>
there is no need for kernel-userspace isolation, reducing context switch<br>
costs and unnecessary copying. A design from scratch allowed us to<br>
experiment with new ideas like lock-free mutexes (solving the Lock-Holder<br>
Preemption problem that plagues operating systems on virtual machines),<br>
extremely fast context switches, Van Jacobson's network channels (see<br>
<a href="http://www.lemis.com/grog/Documentation/vj/lca06vj.pdf" target="_blank">http://www.lemis.com/grog/Documentation/vj/lca06vj.pdf</a>), and more.<br>
Also, OSv is released under the more permissive BSD license (not GPL<br>
like Linux), is tiny compared to Linux, and takes less than one second<br>
to boot and start the user's application.<br>
<br>
OSv can run ordinary Linux shared objects, such as, for example, an<br>
unmodified JVM (e.g., OpenJDK) executable, and of course on that you can<br>
run any application written in Java, JRuby , Clojure, or any other JVM<br>
language. Even at this early stage of OSv's development, OSv can already<br>
successfully run several interesting workloads such as Netperf, Memcached,<br>
Cassandra and SpecJVM - and usually match or even beat Linux's performance.<br>
<br>
Another refreshing feature of OSv is that is written in C++.<br>
It's been 40 years since Unix was (re)written in C, and the time has<br>
come for something better.<br>
C++ is not about writing super-complex type hierarchies (as some people<br>
might have you believe). Rather, it allowed us to write shorter code<br>
with less boiler-plate repetition and less chances for bugs. It allowed<br>
us to more easily reuse quality code and data structures. And using<br>
newly standardized C++11 features, we were able to write safe concurrent<br>
code with standard language features instead of processor-specific<br>
hacks. And all of this with zero performance overheads - most of C++'s<br>
features, most notably templates, are compile-time features which result<br>
in no run-time overhead compared to C code.<br>
<br>
OSv was developed by Cloudius Systems, a small Israeli startup led by<br>
Dor Laor and Avi Kivity (of KVM fame) but it is an open-source project -<br>
developed since its inception on github<br>
(<a href="https://github.com/cloudius-systems/osv" target="_blank">https://github.com/cloudius-systems/osv</a>), and released under the BSD<br>
license. We would like to take this opportunity to invite everyone to use<br>
OSv, and to help drive its development forward. OSv is a fantastic<br>
playground for kernel developers, and also for people involved in cloud<br>
development, devops, and so on. Tell us what your dream VM operating<br>
system will do, and maybe your dream will come true :-) Maybe you can even<br>
help us make that dream come true.<br>
<br>
If you want to try OSv, check out the announcement and usage instructions<br>
on the OSv mailing list:<br>
<a href="https://groups.google.com/forum/#!topic/osv-dev/enqdqN2A0as" target="_blank">https://groups.google.com/forum/#!topic/osv-dev/enqdqN2A0as</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Nadav Har'El | Monday, Sep <a href="tel:16%202013" value="+61162013">16 2013</a>, 13 Tishri 5774<br>
<a href="mailto:nyh@math.technion.ac.il">nyh@math.technion.ac.il</a> |-----------------------------------------<br>
Phone <a href="tel:%2B972-523-790466" value="+972523790466">+972-523-790466</a>, ICQ 13349191 |A computer once beat me at chess, but it<br>
<a href="http://nadav.harel.org.il" target="_blank">http://nadav.harel.org.il</a> |was no match for me at kickboxing.<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<a href="http://www.linkedin.com/in/gliderflyer" target="_blank">
<span>
<img src="http://s4.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png" alt="View my profile on LinkedIn" height="25" width="160">
</span></a></div>
</div>