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

Re: next meeting: Monday Jan 13th 10:00 - 12:00 CET


  • To: mirageos-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Hannes Mehnert <hannes@xxxxxxxxxxx>
  • Date: Tue, 7 Jan 2025 12:02:41 +0100
  • Autocrypt: addr=hannes@xxxxxxxxxxx; keydata= xsFLBEIw1AoBEADAtXwEV8F1DBpE9lnBTbHDNeZwDVp84MhxxIT5GUexGgbOWGSEWHhC3rYe FfGRUxF4M9P4fwxpxCS5YCvxoijWHeEf8nG5IkztVv5cw63E443XWHcCMc80YAwglZ2cSP4U GTNeKb9rqVPckk/PL348BYRawhzvZK+Bc+bUvbtPCfUXT1BWIxAR1dzsfpAQVNZ4bA06xOoP QJYVNgl/lWOmQgnSgb0dE2zsgddKTOj05ru7Q7LobB7WAUTRJVkZcXnrvI1SOt/WbPTyqF8l RBh94xCqFhv4SlqZVOTXxo9gw3LpDv/cYXRl/m7+/7Wljl3ziQ9cawA6O1mbw8nm7Sfa+TZl qo+5lXEenXG+MCbH0XnnL2I4BO6HSGDtKX6htTG2xs6w4r9mVxTGJuJcGrC0dxuz5j4jylt/ KOVn9IaRKzhj8ga7kWffMp+JYdrn43732weoFFJxm78mD2ij4UbJtNkQIIcTv8IBJajHy2P3 h1NuBIwwb7RmBav4oo0CKWoasIHFwjMSBpCzJ8QOHeO/F3TY3DZp7FTwViUgSXVJoewO9yFG ctX7MC27/F1IonU9/SJW0j+F3Vz32SfxUBrDnLYpO7/vwA8w+xmWLnl0iJN/8injz5+CigsP e7O66t4MtC9BVCuLu7a/ikH5nW0q6RyTW8of9eZIsuEyqF1ZPwAGKc0jSGFubmVzIE1laG5l cnQgPGhhbm5lc0BtZWhuZXJ0Lm9yZz7CwXQEEwECAB4FAkIw1A0CGwMGCwkIBwMCAxUCAwMW AgECHgECF4AACgkQvIlliN98KO5HYg//UD6gk4sFcNop/EQivcnpfPnHrrUddsBl9bovQSXb zIh5HY/8x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p55pLm+Ua IVl3E/HpFY8kTaJBHP7jvLp+W4J9tP64Ijk5Y9F0z93JwMspG671xuomFsRxUtyO6vldd7qH 1yVzDX7Dd0fAzMDOPQJW6zLiixCmA0McaZdeBXapMJDDoZAPY4pCbRyJJXe0tfv9ufzJrM8Z JHylONdBiIKWw0JldXkUvIGafl1JDOHjP1XoDWrSDO8yFhBR3uWxJy9u1s7aKvonQb5IcYU1 nPu1Olg3doPugXyC0V05MIa68iKw+Kv8KtDDWyibndoTAAYpwsFfBBgBAgAJBQJCMNR1AhsM AAoJELyJZYjffCjuelUP/jlCsxLzu3fZpuORY2LsOQMd4nFHSZLUjauLxDUn8jE//32IIJ0v QV9ab4k7JCLOuYJTTd9aYD6rkITZIVhAcsR/FQZNgVOvGTj6tAmNyn385vMz0p4bLOOy5T0C KMLKzzS4Rt4XgtzvH2xDXSHfPsqS/t/5WFkO+aLgcPALldWGQPgRu5DNoCLr989gCGu5vmd4 XwMRBt/LmJGI0v0EypL3eRmlGaUw5k6N1hStu4EETzdikAzXP5KTuloEXq/caYeUs/SIb5zi XVC1ISW0CIwj5ATbMh8DMG4splXCsajtnJjsKJATBZIWV4XoNqtgV+pQn1ShmW36nUfVGqzX AQ+9i/M+CCkxBrb85Bk8I1CA1nBHNk5SQqER40VRp6vcmuxvIBGi6t8dDWsDQ2q3kd4RjjDZ kYjSie7176bb9t5MfUGjA9WckHuyi+vjy3+sC/nRzByhXf+8iZsO2no3xWZkGUWI8F2hhpzW VsXqvC27LZvJk53fJbpuSueN8a7JKfbKPDqoDSsRaEtcM7ig475tqA/ZCzv6mdqhEV5buoLu cpW7UgYzjNQQXeYZygGWc7FTV3dqLmF1MY2+RlydQbUDjcj1CJ+UmKyxgoLyf7ru0sznr7Tp K4WDnVeJdWX1mqoSupF/u5LON1vpzh3OIl5NNAuV68Hb5On/ALC+DwFX
  • Delivery-date: Tue, 07 Jan 2025 11:03:00 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>

Hello,

sorry for the late reply -- but we had some notes from the meeting below.

The next meeting is the upcoming Monday, January 13th 10:00 - 12:00 CET at https://meet.jit.si/MirageOS -- see our shared pad at https://pad.data.coop/To6IOSeNSOK9kFVlgo7XWw?both# for notes and agenda (add your talking points there) :)


Best,

Hannes


## Meeting Dec 9th 10:00 - 12:00 CET

- Participants: Sam, Hannes, Reynir, Pierre, Pixie

### OCaml 5
- ocaml-solo5 1.0.0 is released, now we can get MirageOS unikernels with OCaml 5.2.1
- TODO we should announce this on discuss.ocaml.org and on mirageos.org
- Romain opened a PR for ocaml-solo5 https://github.com/mirage/ocaml-solo5/pull/144 - Pierre: pthread_cond_init is a stub, so pthread_cond_destroy could as well be - Hannes: the second commit is to not use opam-monorepo -- let us briefly remind ourselves that a MirageOS unikernel has a custom libc, so we need to cross-compile all opam packages that include C stubs. The MirageOS 4 way of doing that is to download (using opam-monorepo all opam packages into a "duniverse" directory), and compile everything. - Hannes: it is not entirely clear to me how to detect opam packages that include C stubs (to cross-compile them), but removing the opam-monorepo dependency would be great - Sam: we all agree that if we're cross-compiling to a different architecture, this won't work - Reynir: does cross-compilation work at the moment? Sam: I have tested it, from x86_64 to aarch64 - running on Raspberry PI
  - Hannes: that cross-compilation is Linux-only so I never tested it
  - Sam: What do you mean it's Linux-only?
- Hannes: _ says it's Linux-only and I never bothered looking into the details. Actually, maybe it's not. -- Turns out the solo5-cross-aarch64 is Linux only - Reynir: maybe there should be an opam flag "this does not include C stubs", but that'd be incomplete and require some bookkeeping. If we mark common packages as such we can avoid some re-fetching. - Hannes: we would need to convince a lot of package maintainers to include this flag. - Hannes: META file includes information if we should link to external archives. Maybe a path forward. Feels a bit hairy, and only works with installed packages and not packages we don't have installed yet. - Hannes: If we separate pthread_cond_destroy() into another PR we can merge that now. For the rest of the PR we can discuss on the mailing list etc.
  - Sam: I agree.

### What is Mirage CI?
- https://github.com/ocurrent/mirage-ci
- Likely it has somewhere OCaml 4 hardcoded, and that needs to be changed

### OCaml 5 used on mirageos.org
- Sam: The OCaml 5 unikernel uses much more memory
- Sam talked with the OCaml GC people - they need more tests
- Sam: Now running with different space_overhead parameters - from 120 (default) to 60 - Sam: Currently OCaml pre-allocates lots of pools, it may be sensible to reduce the maximum size of the objects that pools are allocated for -- for MirageOS unikernels with a low memory footprint - Sam: On mirageos.org we have quite some memory available for the unikernels, would be interesting to see how such a unikernel behaves if it has not so much memory - Hannes: you could tweak the deployment shell scripts to give the unikernel less memory
- Hannes: is there an issue tracking this on the ocaml/ocaml repository?
- Sam: there have been discussions about frama-c and coq and their memory usages with OCaml 5

### Performance
- Pierre didn't have time to test VirtIO further (and won't for the next 3 weeks)



 


Rackspace

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