functions icon indicating copy to clipboard operation
functions copied to clipboard

Contribute to Docker to decrease it's startup/teardown time

Open treeder opened this issue 9 years ago • 7 comments

See: “The Overhead of Docker Run” @treeder https://medium.com/travis-on-docker/the-overhead-of-docker-run-f2f06d47c9f3

treeder avatar Oct 13 '16 01:10 treeder

I believe @rdallman has some numbers on overlay vs btrfs (the latter being really slow).

On Wed, Oct 12, 2016 at 6:09 PM, Travis Reeder [email protected] wrote:

See: “The Overhead of Docker Run” @treeder https://github.com/treeder https://medium.com/travis-on-docker/the-overhead-of-docker- run-f2f06d47c9f3

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iron-io/functions/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEzWsBH5e4WRnNSS8-3JnmWLC3s7PM0ks5qzYS4gaJpZM4KVYWN .

nikhilm avatar Oct 13 '16 03:10 nikhilm

check it out, btrfs (left) vs overlay2 on our default cluster, each data point is the mean of 1 hour (ran for few hours):

screenshot_2016-10-12_15 15 59_720 screenshot_2016-10-12_15 11 05_720 screenshot_2016-10-12_15 12 09_720 screenshot_2016-10-12_15 11 18_720

rdallman avatar Oct 13 '16 03:10 rdallman

damn those images suck... redoing:

-xufk_l4ict_k6rbteyuhob_vpnp_9znytvfmblk-pw 1e14lpjzd2ewe74u7qwxpbvpnajjrpvt6cc4xy1o1rs br59zh6o_vxhpo_139dhibpzma0ho72zadhnot9bbbe gyxy8stp4_gvsq0r3-1xicvhxklmndew3ggsl8mhr6g

rdallman avatar Oct 13 '16 03:10 rdallman

stop container isn't a good data point really, the process inside can take a while, but there's still a large disparity due to docker being slow w/ btrfs

rdallman avatar Oct 13 '16 03:10 rdallman

Is that really 1.83 minutes?

treeder avatar Oct 17 '16 14:10 treeder

Well it ain't Photoshop

On Mon, Oct 17, 2016, 7:55 AM Travis Reeder [email protected] wrote:

Is that really 1.83 minutes?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/iron-io/functions/issues/156#issuecomment-254231342, or mute the thread https://github.com/notifications/unsubscribe-auth/ACzJR_TgAvSsqIr1ZImdzmrBPl2a3-zBks5q04xSgaJpZM4KVYWN .

rdallman avatar Oct 17 '16 15:10 rdallman

I wonder if Docker has a lock/mutex while doing these operations so only one can run at a time...?

treeder avatar Oct 18 '16 03:10 treeder