Docker provider performance #5599
Replies: 2 comments 5 replies
-
Thanks! I also have 2TB, but MBA 2020. It does seem that OrbStack has its own adjustments for resources. SSHFS has traditionally been much faster than other mount types, but now that VirtioFS is maturing, it will probably be OK to suggest it in the future. But as you know... it just can't work without mutagen. Thanks for looking at this! The assumption is that a d10 site is set up and running before using the ddev-puppeteer. Improvements to that are very welcome. |
Beta Was this translation helpful? Give feedback.
-
Just dropping in here to note this update from OrbStack: https://orbstack.dev/blog/fast-filesystem. I haven’t conducted any proper benchmarking like you have above, but apachebench runs against my PHP app’s homepage with |
Beta Was this translation helpful? Give feedback.
-
Thanks for the writeup at https://ddev.com/blog/docker-performance-2023/ - it's great to see the improvements everywhere in this area.
I was surprised to see such a gap between colima and everything else and wanted to see more. I ran some tests on my M2 Max.
On reproducibility:
hyperfine --export-csv out.csv ./bench.sh
to easily include in spreadsheets.I didn't isolate my system from running other processes, but I did have backups and the like paused.
I wonder if something is up with your colima benchmark results when not using mutagen. There shouldn't be such a stark difference between our systems.
A 30% improvement over stock virtiofs is pretty good for OrbStack. It will be worth watching to see if their
custom dynamic caching and optimizations
(from https://docs.orbstack.dev/architecture#file-sharing) are subject to any consistency bugs in the long term.I was having other troubles... until I realized I was running colima with sshfs instead of virtiofs. I wonder, could ddev detect when sshfs is used and the performance node is none, and warn about it? It may save some support requests in the future.
Beta Was this translation helpful? Give feedback.
All reactions