Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Desktop 2.2+ incredibly slow performance with host volume mounts

I've got a build which is quite intensive in terms of file io. It involves 70k loose files as well as a fair amount of zipping/unzipping.

The performance of this build plummets when run inside of a Docker Desktop 2.2+ container using host volume mounts.

12 minutes - Straight Windows 10

19 minutes - Docker Desktop 2.1.0.5 against host mounted volume (Windows /c drive)

71 minutes - Docker Desktop 2.3.0.2 against host mounted volume (Windows /c drive)

2 minutes - Docker Desktop 2.1.0.5 against container file system

2 minutes - Docker Desktop 2.3.0.2 against container file system

Even with Docker 2.1.0.5 against host volume mount the performance wasn't great. But with DD 2.3 going from ~19 minutes to ~71 minutes is mind numbing.

Anyone else seeing this kind of performance hit on file io intensive tasks?

like image 898
JimT Avatar asked Nov 06 '22 07:11

JimT


1 Answers

True story, x10 times slower in mixed load (reads/writes) according to my benchmarks.

Although they promise Linux subsystem to be way faster, it still looks to be a grey area.

like image 190
Nikolay Mitikov Avatar answered Nov 15 '22 06:11

Nikolay Mitikov