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

Hyperkit: use raw disk format instead of qcow2 #1341

Open
2 tasks
guillaumerose opened this issue Jun 26, 2020 · 2 comments
Open
2 tasks

Hyperkit: use raw disk format instead of qcow2 #1341

guillaumerose opened this issue Jun 26, 2020 · 2 comments
Labels
kind/enhancement New feature or request os/macos status/pinned Prevents the stale bot from closing the issue

Comments

@guillaumerose
Copy link
Contributor

guillaumerose commented Jun 26, 2020

Few years ago, Apple started to ship macOS with APFS. It supports sparse files allowing us to use raw file format.

According to Docker Desktop release notes, we can expect a factor 2 for disk performance:

For systems running APFS on SSD on High Sierra, use raw format VM disks by default. This improves disk throughput (from 320MiB/sec to 600MiB/sec in dd on a 2015 MacBook Pro) and disk space handling.

Needed changes:

@cfergeau
Copy link
Contributor

There was a short attempt in snc which was then reverted crc-org/snc@34ca27c
Apart from minor snc/machine-driver-hyperkit bugs, there were issues with crc not dealing correctly with sparseness, in particular during the VM image copy we do on start, which made startup much longer than before, in addition to losing sparseness benefits.

@gbraad
Copy link
Contributor

gbraad commented Jul 15, 2020

The PR and revert is recorded as: crc-org/snc#206 an crc-org/snc#208. I mentioned them in the previous snc related issue. It was unfortunate to see an optmistic merge which then gets reverted without clearly recording the cause and what is needed in future to solve this. This is why I added this notes and issues.

@anjannath anjannath added kind/enhancement New feature or request os/macos labels Aug 4, 2020
@praveenkumar praveenkumar added the status/pinned Prevents the stale bot from closing the issue label Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request os/macos status/pinned Prevents the stale bot from closing the issue
Projects
None yet
Development

No branches or pull requests

5 participants