Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend macOS obuilder to support multi-user #135

Open
tmcgilchrist opened this issue Dec 13, 2022 · 1 comment
Open

Extend macOS obuilder to support multi-user #135

tmcgilchrist opened this issue Dec 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@tmcgilchrist
Copy link
Member

tmcgilchrist commented Dec 13, 2022

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:

  • homebrew assumes a single user install, extend the File system redirection to handle multiple users
  • macOS base images might need to be relocatable so they can be shared between users
  • opam root also needs to be sharable

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 tmcgilchrist added the enhancement New feature or request label Jun 4, 2023
@tmcgilchrist
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant