F
F
fso2017-12-15 15:52:29
virtual box
fso, 2017-12-15 15:52:29

Why is disk slow in VirtualBox/Docker?

I installed docker toolbox on win7 - on two laptops. One powerful, 12GB of memory, ssd. The second is simpler - 6GB of memory, hdd;
The debian + php (7.1) container is loaded into the docker, it works quite fast on the second (weak) laptop. On the first one, I see such a picture, immediately after the start of the container, the
27c1

processes hang in an uninterrupted sleep (D) for 10 minutes, everything works very slowly or does not work at all (for example, the web server - Gateway Timeout). After some time (10 minutes), the processes exit D to normal mode, but still the work is noticeably slower than on a "weak" laptop.

I tried different types of acceleration/virtualization with the doker virtual machine in virtualbox, changed the disk from dynamic to fixed, changed disk formats - vmdk/vdi. Moved disk file from ssd to hdd.
Nothing helps.

All processes that hang in D communicate with the fs of the host system, everything that does not write to the outside works well. That is why I sin on the disk, but perhaps the matter is different.

Perhaps someone overcame such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fso, 2017-12-15
@fso

On the telegram channel https://t.me/docker_ru they helped quickly, thanks to @twwlf for the tip.
The case turned out to be in HAXM , removing this software (and rebooting) solved the problem completely.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question