Bug 1419508

Summary: docker push to local Docker v2 Registry eats lots of CPU
Product: Red Hat Enterprise Linux 7 Reporter: Marko Myllynen <myllynen>
Component: docker-distributionAssignee: Jindrich Novy <jnovy>
Status: CLOSED WONTFIX QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3Keywords: Extras
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-15 07:31:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marko Myllynen 2017-02-06 11:34:07 UTC
Description of problem:
When pushing an image of ~500 MB I see with Docker v1 Registry something like:

 4646 root	20   0 3820600  79076  14608 S 141.7  0.1  21:07.32 dockerd-current
12979 root	20   0  287152  37744   3828 S  17.5  0.1   0:07.93 gunicorn

However, with Docker v2 Registry I see:

 4646 root	20   0 3821912  82784  14644 S 408.6  0.1  21:48.41 dockerd-current
13919 root	20   0 1397492  24076   6368 S  50.3  0.0   0:06.47 registry

This looks unexpectedly high CPU usage, would it be possible to optimize this?

Thanks.

Version-Release number of selected component (if applicable):
docker-distribution-2.5.1-1.el7.x86_64

Comment 3 RHEL Program Management 2021-01-15 07:31:26 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.