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

Re: MirageOS meeting 2024-03-25


  • To: mirageos-devel <mirageos-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Hannes Mehnert <hannes@xxxxxxxxxxx>
  • Date: Mon, 8 Apr 2024 08:16:42 +0000
  • 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/8xhO5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Lm+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: Mon, 08 Apr 2024 08:16:59 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>

Hello,

the meeting notes from two weeks ago:

Participants: Magnus, Pierre, Thomas, Vincent, Reynir, Samuel, Romain, Hannes, Shakthi

- What do we want Mirage5 to look like? And when do we want to make a release? (Thomas)
    - runtime args
- many changes in mirage tool, so should probably be in next release - Hannes: would be nice to release this early, could be part of ocaml5 - but could also release as 4.x
    - Ocaml 5 support
- need ocaml5 support, at least single core support in solo5 - could release multicore support later - Hannes: ocaml5 doesn't need changes in all of mirage? thomas: we could separate it, but could also make mirageos5 the ocaml5 release. Multicore support will probably require more tooling changes (e.g. if we add support for new runtime), could start with single core support in solo5
    - dune pkg?
        - support the new dune pkg system, alpha expected in may
- Hannes: has already been delayed, so suggest not waiting for this. Thomas: should be ready for may this time - Romain: dune pkg aims to resolve some of the issues we have with opam monorepo, where can we discuss the issues with dune team? Thomas: team building and testing packages now, blocker at the moment is that packages are required to be relocatable. - https://github.com/ocaml/dune/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Package+Management+MVP%22 - Romain: to clarify the story about cross-compilation, only few packages requires it actually and mainly packages with C stubs (Zarith, digestif, mirage-crypto). So, we don't systematically need to "dunify" all packages (like dbuenzli packages). So it's good that `dune pkg` considers packages as a black box package which does not need dune to build
        - hannes: Good package to test x-compilation is Zarith/GMP
- Romain: Zarith/GMP will still need an overlay however considering the status of the dunification of this package (https://github.com/ocaml/Zarith/pull/143)
    - No more Lwt?
- larger discussion, may not be able to resolve this now, but start discussion - Hannes: this could be a separate discussion and will require some evaluation as well. Not sure we're ready to move away from this by next release. Several alternative schedulers - Thomas: Agree it's early, we need to experiment. Currently we see that Lwt binds are very slow (see irmin benchmarks, where they allocate a lot) so we would like to experiment with alternate solutions for Mirage - Thomas: ocaml5 support single core + runtime args could be an ocaml5 release, then later in the year we could add support for dune pkg and multicore support - Thomas: will write a suggestion for release candidate and we can discuss in two weeks
- PRs:
- [mirage/mirage#1495](https://github.com/mirage/mirage/pull/1495): refactor Dune files - If you have tooling issues (e.g. merlin not working properly) please let Thomas know and this could be fixed in this PR - Two conflicting design issues; if you only build a single unikernel in a repo then the workflow is ok, but doesn't match mirage skeleton - where we build 10 unikernels in one go after configuring each of them. Do we want the ability to have multiple unikernels in a single repo? Hannes: Never used this, usually build from each directory - Building MirageOS Library packages on Alpine 3.19 [Summary](https://hackmd.io/_0QAwb0rS72wDx52hkegPA). Reference: https://ocaml.ci.dev/github/mirage CI builds - Shakthi: trying to build for alpine in CI, have some patches. Are some other distro failures as well. I could start with a subset and fix common failures. - Thomas: seems to be working in regular CI, should investigate what the difference is. Nice to have Alpine support, so upstreaming would be good
- MirageOS retreat in Marrakech (Hannes)
    - 18 people signed up!
- Cstruct.t vs bytes/string
- Hannes: working on removing cstruct in various repositories. E.g. mirage-crypto. Result is very nice, we see performance improvements. Plan is to remove cstruct in the whole network stack. Not planned in the tcp part of mirage-tcpip (as it's very big), but in the other packages in the stack. Also tools that use ocaml heap produce more interesting results, like statmemprof. - Thomas: what type of benchmarks? Hannes: micro benchmarks, performance measurements, throughput for symmetric ciphers. No improvement for large blocks, but for smaller there is (1024 and less)
- mirage-flow 4.x and shutdown
- Hannes: added shutdown function so you can close the connection, based on initial work from Dave. Have some PRs open, would be nice to have reviews. Thomas: Dave will take a look at mirage-tcpip
    - Romain: currently testing tls with shutdown. Works better with http
- Next meeting will be April 8th, same time



 


Rackspace

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