Skip to content
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

Run du with ionice #1939

Merged
merged 1 commit into from May 8, 2018
Merged

Run du with ionice #1939

merged 1 commit into from May 8, 2018

Conversation

dims
Copy link
Collaborator

@dims dims commented May 8, 2018

Let us run du with idle io priority

Will this help? mentioned by @meeee in kubernetes/kubernetes#61999 (comment)

Let us run du with idle io priority
@dims
Copy link
Collaborator Author

dims commented May 8, 2018

/assign @dashpole

Copy link
Collaborator

@dashpole dashpole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @dims!

@dashpole
Copy link
Collaborator

dashpole commented May 8, 2018

Should we do the same for find? Does this require any additional packages in our Dockerfile?

@dashpole dashpole merged commit 96b62ed into google:master May 8, 2018
@dims
Copy link
Collaborator Author

dims commented May 8, 2018

@dashpole i tried a few public latest images and they all seemed to have ionice

docker run -it ubuntu bash
docker run -it busybox sh
docker run -it fedora sh
docker run -it debian sh

Also tried our hyperkube

docker run -it k8s.gcr.io/hyperkube-amd64:v1.10.2 sh

@dims
Copy link
Collaborator Author

dims commented May 8, 2018

while looking at the various issues filed, i did not see find causing issue, so may be we should wait to do that?

@dashpole
Copy link
Collaborator

dashpole commented May 8, 2018

ok, great.

@dashpole
Copy link
Collaborator

dashpole commented May 8, 2018

They are usually lumped together. I did a performance analysis at one point and found that find used about 1/2 the CPU of du, but i'm not sure about the disk io usage of find.

@dims
Copy link
Collaborator Author

dims commented May 8, 2018

aha! so we could do at least "nice" on the find command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants