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

os/bluestore: fix a few memory utilization leaks and wasters #11011

Merged
merged 9 commits into from Sep 8, 2016

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Sep 7, 2016

No description provided.

Signed-off-by: Sage Weil <sage@redhat.com>
Otherwise we eat 4KB for every Onode.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Make sure we have N bytes of append_buffer reserved. On
a new or cleared list, this allocates exactly that much
runway, allowing us to control memory usage.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
@ifed01
Copy link
Contributor

ifed01 commented Sep 8, 2016

retest this please

@ifed01
Copy link
Contributor

ifed01 commented Sep 8, 2016

LGTM

@markhpc
Copy link
Member

markhpc commented Sep 8, 2016

I tested this last night. It dramatically improves things, though I haven't yet convinced myself that we've found everything yet. Assuming this is passing objectstore tests I'd merge it ASAP and we can keep working on any remaining stuff.

@ifed01
Copy link
Contributor

ifed01 commented Sep 8, 2016

+1 to Mark, I saw significant performance and memory use improvements as well.

@ifed01 ifed01 merged commit d1ab24b into ceph:master Sep 8, 2016
@liewegas liewegas deleted the wip-bluestore-inline-bl branch September 8, 2016 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants