[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] MirageOS on more than 1 vCPU?

On 17 March 2017 at 08:32, Sundar Nadathur <ns1.sundar@xxxxxxxxx> wrote:
> Hi,
>    Is it correct to say that MirageOS executes as a single process on a
> single vCPU only?
>  I understand there is support for OCamL's LWT threads but they are 'user
> threads', and the documentation says OCamL "features a portable
> single-threaded runtime." IOW, a MirageOS unikernel cannot run on multiple
> vCPUs, correct?

At present this is the case. FWIW, one way to make use of multiple
vCPUs that we explored a little in the ASPLOS'13 paper was to run
multiple copies of the unikernel. How sensible that is will no doubt
be context dependent though.

Also worth noting that there is a very active strand of work in the
OCaml community at the moment to remove the requirement for the
runtime to be single-threaded. So this situation might change at some
point in the medium-term :)

Richard Mortier

MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.