Disk performance with VZ
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Description
From https://github.com/ddev/ddev/issues/4466#issuecomment-1361261185:
> @75th I believe the poor performance in vz is related to how persistent disk are attached in lima. I will update this in lima once https://github.com/Code-Hex/vz/pull/117 is merged.
>
> Temporarily if you are interested you can do this workaround and then try importing.
>
> ```
> colima ssh
> sudo -i
> echo 'write through' > /sys/class/block/vda/queue/write_cache
> ```
>
> Check this for more https://github.com/docker/roadmap/issues/7#issuecomment-1044018513
@balajiv113 I don't find `write_cache` mentioned in Lima; has this been addressed in a different way, or is this still an open issue?
I've only copied the comment into a new issue here because the original comment was mentioned on Slack today.
Contributor guide
Assessment
This issue has not been assessed yet.