CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Optimize loading performance for cri recover #6680
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
Conversation
Hi @linxiulei. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
cc: @Random-Liu |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Looks like the restart test doesn't like your changes to the reload/recover flow? |
Silly me. The errgroup is supposed to not be reused after Wait() |
This comment was marked as outdated.
This comment was marked as outdated.
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebase might fix the CI issue.
Build succeeded.
|
Build succeeded.
|
Parallelizing them decreases loading duration. Time to complete recover(): * Without competing IOs + without opt: 21s * Without competing IOs + with opt: 14s * Competing IOs + without opt: 3m44s * Competing IOs + with opt: 33s Signed-off-by: Eric Lin <linxiulei@gmail.com>
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR tries to decrease time duration to recover when cri service is restarted. Time needed for cri service to load db/sandboxes/containers/images is significantly high when under IO pressure.
Time to complete recover():
Test environment:
fio --filename=file --size=100MB --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=3600 --numjobs=4 --time_based --group_reporting --name=iops-test-job --eta-newline=1