JensenBreck Petit Joueur
Inscrit le : 29 Août 2017 Messages: 65
Tribu's: 0
|
Posté le : Jeudi 21 Septembre 2017 13:12 |
|
Hi,
When multiple containers are launched simultaneously, the startup time for containers increases with the number of containers being launched. For example, if I try to launch 70 containers, it takes ~20 seconds for all containers to be running. After some performance debugging using pprof and perf, it was observed that docker spends majority its time connecting each container to the network (possibly spinning on iptable lock). If I disable the network (–network=none), the startup time for 70 containers is ~8 seconds. Is this an expected behavior? Does docker not scale well due to network bottleneck? Is there a workaround?
I didn't find the right solution from the Internet.
References: https://forums.docker.com/t/large-startup-time-for-docker-containers-due-to-network/38415
Promotional video examples |
|
|