-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Performance drop after >19.03.1 updates #1405
Comments
I'd have to guess something in the kernel change from 4.14.134 to 4.14.141, but if you're doing IO on the shared folders from VirtualBox, it could very easily be something in those VirtualBox changes (which would be a shame, because we have to drop support for VirtualBox 5 entirely to go with 6.x guest additions, which is why that revert is in there). |
Regarding building locally, I just do this: $ docker build -t boot2docker/boot2docker --pull --force-rm .
$ docker run --rm boot2docker/boot2docker > boot2docker.iso |
@tianon i doubt it, im using the same 6.0.x version of vbox on all machines and b2d versions. Thanks for the info, i’ll do a couple of builds and see if i can pinpoint the exact change that replicates the issue. and report back ofc. the newer versions are unfortunately unusable. the pageload performance of symfony is on par with docker for mac if not worse. (which means real real bad. like 40 sec bad) |
Hmm, this does not seem to work, a clean checkout of 19.03.1 does not build properly:
|
Correct, that older tag will not build as-is because the TCL artifacts have been updated. I'd recommend instead tweaking the knobs ( |
Same problem here, sadly found this issue only after spending hours reinstalling everything. UPD: Built v19.03.5 with the only change being LINUX_VERSION=4.14.134, got the same performance problem. UPD: Built v19.03.5 with LINUX_VERSION=4.14.154 and DOCKER_VERSION 19.03.1, the performance problem is still there. Then I tried the v19.03.1 release of boot2docker without any changes to it and there is no performance problem. UPD: Tried the v19.03.2 release of boot2docker without any changes to it and got the performance problem again. All above tests were performed using VirtualBox 6.0.2 on the host system. UPD: Some other things I tried: Seems like I'm out of options currently. The only working way is to use the v19.03.1 release of boot2docker. No matter what LINUX_VERSION, DOCKER_VERSION or VBOX_VERSION I use to build boot2docker on the v19.03.5 branch and no matter what the host VirtualBox version is - I get unusable performance. |
Thank you for the reply @sspat I am very sory that i havent done what you did, but i simply had no time in the previous months. What i did do with my testing is very similar to results you've got. All of my 30 developers still use 19.03.1 and we are stuck with it for good it seems, especially since Docker itself would be discontinuing the docker-machine project. We will literally have to spin up a CND cluster or something similar. Which is a complete overkill for this kind of development. I would hope @tianon has some idea of what we may have missed? |
Hey guys and girls,
i've had a weird disk IO performance drop (60%) with bound volumes since update to anything larger than 19.03.01.
I have successfully replicated the issue numerous times, on at least 5 comupters in my team. We all use macos catalinas or mojaves, with fully updated virtualboxes, multiple different processors and years of computers. I have mitigated the issue by forcing everyone to use 19.03.01, but am really interested in what exact change could have caused this drop? Especially since i went through the changelog, and saw nothing in particular...
v19.03.1...v19.03.5
Currently i am testing all the releases in between to try and pinpoint exactly which one introduced this huge drop.
Once i pinpoint the release, i would like to test out individual commits. How can i compile the iso locally in order to checkout a commit and compile the iso and get the vm running?
If anyone has any details that might help me in researching further, please... :)
UPDATE 22.11.2019: I've tested all mentioned versions with the same synthetic test (yarn build on node latest image) and the issue clearly appears only after update to 19.03.2. @tianon Since all commits come from you, do you have any viable idea what might have caused this slowdown? v19.03.1...v19.03.2
By looking at activity monitor i am not 100% sure what is the bottleneck. Yes, the slowness comes from slow IO speeds, but it might be that the CPU is throttling everything, which causes slow io. I am saying this because CPU is dying on newer b2d versions.
If not, could you please explain to me how to build the iso locally so that i can test both changes individually?
The text was updated successfully, but these errors were encountered: