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

restore: slows down over time #15205

Closed
danhhz opened this issue Apr 20, 2017 · 4 comments
Closed

restore: slows down over time #15205

danhhz opened this issue Apr 20, 2017 · 4 comments
Milestone

Comments

@danhhz
Copy link
Contributor

danhhz commented Apr 20, 2017

This 2tb restore finished the first 1tb at more or less a consistent pace, but obviously slows down over time. Unclear if there's anything to do here, but opening this for discussion

This was a restore on a 10 node cluster with no other traffic. Ignore everything after the drop, one of the nodes ran out of disk

image

@danhhz danhhz added this to the 1.1 milestone Apr 20, 2017
@danhhz
Copy link
Contributor Author

danhhz commented Apr 20, 2017

My current theory is that the naive rate limiting is at fault here. We allow num_nodes outstanding Import requests at any given time, so it's possible that some nodes weren't doing any work. Dunno why this would be more likely over time. We do start the restore by scattering leaseholders, but it's hard to see if this becomes less balanced over time because of quiescence.

Alternatively, rocksdb compactions are more expensive as we get more data. Maybe this has something to do with it.

@petermattis
Copy link
Collaborator

This could be related to #14108. We could take a look at the node statistics page to see if anything is increasing appreciably over time (e.g. disk I/O).

@danhhz
Copy link
Contributor Author

danhhz commented Apr 20, 2017

It's a terraform cluster, so unfortunately I don't have grafana

@danhhz
Copy link
Contributor Author

danhhz commented Jul 19, 2017

This seems to have been fixed sometime in the last few months

image

@danhhz danhhz closed this as completed Jul 19, 2017
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

No branches or pull requests

2 participants