-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
ssmemstorage: nearly 5% of allocation in YCSB come from this package #89918
Comments
Moving to Bugs. From triage, this may be related to the following issue: #89495. @matthewtodd, do you mind confirming? If so, we can close this issue. If not, we'll need a follow-up investigation. |
Andrew's work tuning insights changed the shape of the graph, but there's still a lot of low-hanging sqlstats fruit here: I've looked through the callsites, and the work seems pretty straightforward. I'll start sending a bunch of little PRs to fix, prioritized by impact. |
Part Of cockroachdb#89918 Previously, the functions `CombineUniqueString` and `CombineUniqueInt64` were always allocating a new object. This change makes improvements on both functions. Release note: None
Part Of cockroachdb#89918 Previously, the functions `CombineUniqueString` and `CombineUniqueInt64` were always allocating a new object. This change makes improvements on both functions. Release note: None
92396: util: improve allocation of combine functions r=maryliag a=maryliag Part Of #89918 Previously, the functions `CombineUniqueString` and `CombineUniqueInt64` were always allocating a new object. This change makes improvements on both functions. Results after running YCSB for a 10 minutes on each implementation: https://www.loom.com/share/0073101092ae4dffacb254c0363f2132 Before <img width="1604" alt="Screen Shot 2022-11-23 at 6 17 20 PM" src="https://user-images.githubusercontent.com/1017486/203662183-fcf74b13-a986-45df-b49c-ada82ab7231a.png"> After <img width="1616" alt="Screen Shot 2022-11-23 at 6 17 01 PM" src="https://user-images.githubusercontent.com/1017486/203662242-744d49a2-234d-47d4-87ee-a304d21c1534.png"> Release note: None Co-authored-by: maryliag <[email protected]>
Part Of #89918 Previously, the functions `CombineUniqueString` and `CombineUniqueInt64` were always allocating a new object. This change makes improvements on both functions. Release note: None
Part Of #89918 Previously, the functions `CombineUniqueString` and `CombineUniqueInt64` were always allocating a new object. This change makes improvements on both functions. Release note: None
A user in the cockroachdb slack channel shared a heap profile from 22.2.0 which is very interesting if we look at |
@maryliag let me hand this back over to you for re-triage. There's some clear low-hanging fruit, just needs a little attention. |
Describe the problem
profile (32).pb.gz
Jira issue: CRDB-20500
The text was updated successfully, but these errors were encountered: