-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
I/O throttles content-init and maybe backups #9276
Comments
First of all, The custom limitation of the cgroup depends on the life cycle of the pod, making it difficult to control the timing. But we have some cgroup group, <container-cgorup> drwxr-xr-x 3 root root
└── workspace drwxr-xr-x 5 gitpodUid gitpodGid
└── user drwxr-xr-x 5 gitpodUid gitpodGid We are currently applying restrictions to container cgroups. It means all processes in the workspace are limited. I know timing is difficult to control but thought it might be smart to separate by the process. A user-run process should be sufficient to apply the restrictions. Other |
Relates codes. gitpod/components/ws-daemon/pkg/iws/iws.go Lines 372 to 379 in 70d832b
|
I still don't see how this should be the case. |
Since IO limits were not working, do we still believe content-init and backups IO was throttled? |
Bug description
Workspace start is slow when using iolimits, we think this is because
content-init
is being i/o limited.We're unsure if backups are being limited.
Steps to reproduce
Try starting a workspace in a cluster where iolimit is defined in the configmap for ws-daemon.
Workspace affected
n/a
Expected behavior
Ideally we would not throttle workspaces on content-init or backup.
Example repository
n/a
Anything else?
I/O limiting was introduced here.
The text was updated successfully, but these errors were encountered: