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

mimic: rgw: increase beast parse buffer size to 64k #30450

merged 1 commit into from Oct 8, 2019


Copy link

smithfarm commented Sep 18, 2019

the flat_buffer starts very small and rarely grew above 512 bytes when
reading headers. this buffer's capacity() is what determines the size of
reads when when recv_body() calls boost::beast::http::async_read_some().
raising this buffer size to a static 64k greatly reduces the number of
socket reads

Reported-by: Marcus Watts <>
Signed-off-by: Casey Bodley <>
(cherry picked from commit f13c691)

@smithfarm smithfarm added this to the mimic milestone Sep 18, 2019
@smithfarm smithfarm added the rgw label Sep 18, 2019
@smithfarm smithfarm requested a review from cbodley Sep 18, 2019

This comment has been minimized.

Copy link

yuriw commented Oct 3, 2019

@yuriw yuriw merged commit c4d407e into ceph:mimic Oct 8, 2019
4 checks passed
4 checks passed
Docs: build check OK - docs built
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
make check make check succeeded
@smithfarm smithfarm deleted the smithfarm:wip-41847-mimic branch Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.