sanfrancisconoob.blogg.se

Docker install mac performance
Docker install mac performance













docker install mac performance

The physical size matches the logical size.ĭtruss sudo dtruss -p $DOCKER_PID shows a large number of psynch_cvsignal and psynch_cvwait calls. According to What is Docker.qcow2?, Docker.qcow2 is a sparse file that's the persistent storage for all Docker containers. Iosnoop shows that performs about 50 writes per second totaling 500KB per second to the file Docker.qcow2.

docker install mac performance

In conclusion, if you plan to use Docker on Apple Silicon, I highly recommend selecting images that include native support for the ARM64 architecture.How do I diagnose the cause of Docker on MacOS, specifically using 100% of CPU?ĭocker stats shows all the running containers have low CPU, memory, net IO and block IO. I would love to see Apple offer the same capability, but this is very unlikely based on their tightly controlled ecosystem.

Docker install mac performance windows 10#

It is worth noting that Docker running via WSL 2 on Windows 10 still offers the best overall performance, thanks to the fact that Microsoft has included a native Linux Kernel as part of WSL 2. These are impressive numbers that are more in line with what I had expected from the Apple M1. Not only does the MacBook Air now outperform my 16-inch MacBook Pro, but also my Razer Blade 15 Advanced, when running Docker via virtualisation (no WSL). I ran the build multiple times to help identify any anomalies.Īs you can see from the table below, the MacBook Air receives a huge performance boost.

docker install mac performance

Therefore, like all x86 images running on Apple Silicon, the QEMU emulator is used, which I suspect is having a significant impact on performance.Īs a result, I set up an arm64 version of the official Jekyll Docker image, which should run natively on the Apple M1. The two articles linked below document my initial thoughts and findings.ĭocker compatibility is an important part of my workflow, therefore I was to see the release of the public preview earlier this month.Īs documented in the article “ Docker on Apple M1” all core functionality appears to be working as designed, however, as highlighted by the table below, performance is sub-optimal.Īs part of my testing, I used this blog ( LifeinTECH) as common workload, which installs and configures Ruby, Gems, Jekyll and Bundler, before building my Jekyll static site, which is approximately 400MB.Īlthough Docker supports multi-platform images, the official Jekyll Docker image does not include an ARM64 version. Over the past few weeks, I have been testing the new Apple MacBook Air, equipped with the Apple M1 System on a Chip (SoC).















Docker install mac performance