-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
unexpected window size impact on tls conncetions with h2 large uploads #797
Comments
Could you say a little more? HTTP/2 is defined by sending and receiving frames, so any communication will always use them. Do you mean using smaller frames? Or something else? What are you comparing? |
Thanks for the reply, @seanmonstar Yes, H2 is being used always. The difference between the 2 cases is simply the size of the frames and I am perplexed why there is such a big difference as a result. To give you even more context, we are using H2 as our bulk data transmission protocol and benchmarking on the new ENA enabled EC2 hosts. What we are seeing there is that using large H2 frames is causing the overall b/w to be capped at 2 Gpbs independent of the amount of parallelism: this is in stark contrast to using smaller frames where we can transmit upto 15 Gbps. The microbenchmark in the sample repo is my attempt to recreate the issue in a local manner. |
An update on this, I made a modification to end_to_end.rs with the attached patch file. When you apply the path, please run
I think this shows the issue clearly because there is a significant drop in upload bandwidth with the introduction of tls, and tls seems to negatively impact the |
We are using H2 to transfer 16 MB payloads. During our benchmarking, we are noticing a significant difference in b/w when we are using streaming frames.
I have put together a small benchmark repo where I am sending that payload 100 times, and I see an approximately 2x difference locally as well as when I run the client and servers separately on EC2 boxes.
This is not a functionality issue, but I am wondering if there is a performance guideline around the use of frames for performance.
The text was updated successfully, but these errors were encountered: