ocurrent / obuilder

Experimental "docker build" alternative using btrfs/zfs snapshots
Apache License 2.0
60 stars 17 forks source link

Extend macOS obuilder to support multi-user #135

Open tmcgilchrist opened 1 year ago

tmcgilchrist commented 1 year ago

Currently obuilder on macOS only supports a single user account, limiting the throughput on the macOS workers. Extending macOS obuilder to support multiple users should improve throughput and resource usage.

Things to consider:

Mark tried putting OPAMROOT on an obuilderfs mounted file system, unfortunately we see issues with opam installing software such as opam install dune and in some cases even opam init. He tested the macOS file system using https://github.com/pjd/pjdfstest and compared the results to a fuse-mounted file system. macOS directly failed 82 of the 8720 tests. When mounted through obuilderfs/macFuse approximately 3500 tests failed. https://ocamllabs.slack.com/archives/D02LTUAT74K/p1665657002246979

As macFuse doesn’t seem to be good enough other alternatives need to be investigated.

tmcgilchrist commented 1 year ago

This needs to be re-investigated based on using ZFS filesystem.