{"action":"created","issue":{"url":"https://api.github.com/repos/containers/buildah/issues/1140","repository_url":"https://api.github.com/repos/containers/buildah","labels_url":"https://api.github.com/repos/containers/buildah/issues/1140/labels{/name}","comments_url":"https://api.github.com/repos/containers/buildah/issues/1140/comments","events_url":"https://api.github.com/repos/containers/buildah/issues/1140/events","html_url":"https://github.com/containers/buildah/issues/1140","id":375672891,"node_id":"MDU6SXNzdWUzNzU2NzI4OTE=","number":1140,"title":"Slow speed pushing to private registry, even slower inside (privileged) container","user":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-30T20:12:49Z","updated_at":"2018-10-30T22:38:22Z","closed_at":null,"author_association":"NONE","body":"**Description**\r\n\r\n`buildah push` to a private registry is upto 2x slower then `docker push`\r\n`buildah push` inside a privileged docker container (using overlay) to a private registry is upto 4x slower then `docker push`\r\n\r\n**Steps to reproduce the issue:**\r\n1. Create a big image using docker or buildah, push to private registry\r\n2. Remove image locally from docker/buildah\r\n3. Time Docker pull image from private registry\r\n4. Time Buildah pull image from private registry\r\n5. Remove image from private registry\r\n6. Time docker push image to private registry\r\n7. Remove image from private registry\r\n8. Time buildah push image to private registry\r\n9. Run privileged docker container\r\n10. Time Buildah pull image from private registry\r\n11. Remove image from private registry\r\n12. Time Buildah push image to private registry\r\n\r\n**Describe the results you received:**\r\n\r\nNative:\r\n* docker pull: 35s\r\n* buildah pull: 49s\r\n* docker push: 1m5s\r\n* buildah push: 2m18s\r\n\r\nInside container (using overlay):\r\n* buildah pull: 1m14\r\n* buildah push: 4m27\r\n\r\n**Describe the results you expected:**\r\n\r\nSame or better speed\r\n\r\n**Output of `rpm -q buildah` or `apt list buildah`:**\r\n\r\n``` \r\nbuildah-1.4-1.gite9d18fc.el7.x86_64 \r\n```\r\n\r\n**Output of `buildah version`:**\r\n\r\n```\r\nVersion:         1.5-dev\r\nGo Version:      go1.9.4\r\nImage Spec:      1.0.0\r\nRuntime Spec:    1.0.0\r\nCNI Spec:        0.4.0\r\nlibcni Version:  v0.7.0-alpha1\r\nGit Commit:      e9d18fc\r\nBuilt:           Thu Oct 18 23:23:16 2018\r\nOS/Arch:         linux/amd64\r\n```\r\n\r\n\r\n**Output of `cat /etc/*release`:**\r\n\r\n```\r\nCentOS Linux release 7.5.1804 (Core) (same inside container)\r\n```\r\n\r\n**Output of `uname -a`:**\r\n\r\n```\r\nLinux kstest-1 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\n**Output of `cat /etc/containers/storage.conf`:**\r\n\r\n```\r\n[storage]\r\ndriver = \"overlay\"\r\nrunroot = \"/var/run/containers/storage\"\r\ngraphroot = \"/var/lib/containers/storage\"\r\n[storage.options]\r\nadditionalimagestores = [\r\n]\r\nsize = \"\"\r\noverride_kernel_check = \"true\"\r\n[storage.options.thinpool]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/containers/buildah/issues/comments/434495440","html_url":"https://github.com/containers/buildah/issues/1140#issuecomment-434495440","issue_url":"https://api.github.com/repos/containers/buildah/issues/1140","id":434495440,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQ5NTQ0MA==","user":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T22:38:22Z","updated_at":"2018-10-30T22:38:22Z","author_association":"NONE","body":"I've did some more tests and what I thought were identical servers are behaving differently.\r\nAt some servers I get almost the same speed as with docker. (inside/outside the container)\r\n(all those servers are actually vmware machines which should be identical)\r\n\r\nI'll have to check with our datacenter people tomorrow to see where the difference lies.\r\n\r\nSo this looks like an issue on my side, sorry for wasting your time."}}
{"actor":{"display_login":"42wim"}}