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

osd: coalesce into single omap_setkeys for normal writes #3878

Merged
merged 3 commits into from
Mar 30, 2015

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Mar 5, 2015

No description provided.

@loic-bot
Copy link

loic-bot commented Mar 5, 2015

SUCCESS: the output of run-make-check.sh on centos-7 for 063180c is http://paste2.org/XgsJb0tb

:octocat: Sent from GH.

@dzafman dzafman self-assigned this Mar 13, 2015
@dzafman
Copy link
Contributor

dzafman commented Mar 13, 2015

LGTM...The ceph-objectstore-tool passed unit test too. merge?

@liewegas
Copy link
Member Author

liewegas commented Mar 13, 2015 via email

@andreas-bluemle
Copy link

Confirmation: I have integrated with 0.93 source and re-tested. For a random write test with 4KByte buffer size, the CPU consumption for the FileStore workers is reduced by 22% and the overall CPU consumption for the ceph-osd daemon is reduced by 10%.

No real change yet.

Signed-off-by: Sage Weil <sage@redhat.com>
This saves a surprising amount of CPU.

Signed-off-by: Sage Weil <sage@redhat.com>
The pg_log.add() call already dirties the log such that the later
write_log() call will write it.  There is no need to encode it separately
here and then explicitly omap_setkeys() it.

Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas liewegas changed the title DNM: osd: coalesce into single omap_setkeys for normal writes osd: coalesce into single omap_setkeys for normal writes Mar 25, 2015
@liewegas liewegas assigned liewegas and unassigned dzafman Mar 25, 2015
liewegas added a commit that referenced this pull request Mar 30, 2015
osd: coalesce into single omap_setkeys for normal writes

Tested-by: Andreas Bluemle <andreas.bluemle@itxperts.de>
Reviewed-by: David Zafman <dzafman@redhat.com>
@liewegas liewegas merged commit 2e908f1 into master Mar 30, 2015
@liewegas liewegas deleted the wip-dirty-pg-keys branch March 30, 2015 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants