New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
untar cpu usage #31765
Comments
Out of curiosity, what kind of tarball is it extracting on which kind of machines? Also, on what kind of storage media is the machine writing to (is this a regular disk or NFS or ...)? |
a simple rails docker image, of course a little big around 1~ GB, but not too much.
single core very limited cpu vpses. bottleneck was the cpu.
how the provider is abstracting disks is not known to us. but for the "machine", they're just plain disks. but. to make it simple to understand, our situation is;
as a double check. we have run Possible solutions or improvements for this -in my opinion- are;
|
Looks like no one cared. I did not try with latest versions, but this is a serious issue with possibly easy solutions. Wouldn't it be better if this is fixed for 17.03, or at least just fixed for any version? |
ping @unclejack - perhaps something of interest to you? |
checking after another year. no one cared. even though its a very simple and good improvement. |
@furkanmustafa you're welcome to work on it if you want |
I'd love to. as I am utilizing docker everyday on my work. But that will take a huge warming up / study time to dive into the code. I'll see if someone in our company can dedicate some time into this. |
Just note that "no one cared" doesn't sound nice 😅 . It's usually not that people "don't care" but there's a finite amount of engineering time so priorities have to be made; community participation can definitely help in that respect though. For this enhancement, it would also be worth checking if |
Didn't meant to. Thanks for insight, that's helpful and makes sense. |
Hi, I seem to be facing this scenario, perhaps? Docker is showing that docker-tar is taking up all my CPU, pushing load levels up to 14 on a dual core cpu.
|
Description
When pulling images, docker's untar is utilizing 100% cpu, which should have definitely been
nice
'd IMHO. Have this been considered and is there any reason not tonice
untar
operations?Additional Reasoning:
Not limited to this, but; when using docker swarm mode, if the manager node also scheduling containers on itself, it's losing it's leadership almost immediately, if the cpu is not fast enough to satisfy both untar and mysteriously too much cpu consuming swarm mode (for 3 managers, total 5 hosts).
Output of
docker version
:not sure if this qualifies as a bug or feature request.
The text was updated successfully, but these errors were encountered: