-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Add logging of flow control variables, (mostly) fix flow control #10720
Conversation
Added a small tweak to how eagerly we initiate writes, which seems to improve our trickle benchmarks significantly. |
… bloat spiral of death)
I ran a bm_diff on trickle manually (since it doesn't usually run... since it takes a looooong time)
|
(take note of that svr_stream_stalls_per_iteration column!) |
|
|
Jenkins: test this please |
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.
Why does this have a zlib update? Otherwise, everything else looks good.
/* for each grpc_chttp2_stream that's become writable, frame it's data | ||
(according to available window sizes) and add to the output buffer */ | ||
while (grpc_chttp2_list_pop_writable_stream(t, &s)) { | ||
while (true) { | ||
if (t->outbuf.length > 1024 * 1024) { |
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.
Since this will eventually be a tuned parameter, how about at least making it a #define or something now so that it's identifiable in the future?
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.
Done
|
Jenkins: test this please |
Failures seem in line with master... merging |
No description provided.