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
rgw/beast: add max_header_size option with 16k default, up from 4k #44029
Conversation
in f13c691, we switched to a static 64k parse buffer. this gives us a lot of room to raise the header_limit above 4k adds a "max_header_size" frontend option with default 16k and maximum value equal to the 64k parse buffer size Signed-off-by: Casey Bodley <cbodley@redhat.com>
62cfd83
to
d9f4940
Compare
|
jenkins render docs |
| @@ -533,15 +533,32 @@ int AsioFrontend::init() | |||
| // Setting global timeout | |||
| auto timeout = config.find("request_timeout_ms"); | |||
| if (timeout != config.end()) { | |||
| auto timeout_number = ceph::parse<uint64_t>(timeout->second.data()); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did timeout->second's type change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a just a cosmetic cleanup. timeout->second is a std::string, and ceph::parse() takes std::string_view. std::string_view is happy to convert from std::string, so the extra conversion to char* data() wasn't necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, ok; thanks for explaining
|
jenkins render docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked, increased header_limit from 4096 to 16384 & did not affect hsbench PUT performance
|
Created an upstream tracker - https://tracker.ceph.com/issues/53546 for backports. |
in f13c691, we switched to a static 64k parse buffer. this gives us a lot of room to raise the header_limit above 4k
adds a "max_header_size" frontend option with default 16k and maximum value equal to the 64k parse buffer size
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox