opened
VMatrix1900
username_0
Environment setup:
Client sends a new stream every 100ms to server. stream size = 500KB.
Both client and server are running in the same machine.
The RTT printed by quiche trace can be as high as 60+ms. While the TCP running in same machine can keep the RTT as low as 20us. 
```
quiche::recovery: 04a8f6b83afe7a3b5ef959516b05efc0 timer=109.584411ms crypto=0 inflight=952666 cwnd=19135708 latest_rtt=68.657609ms srtt=Some(72.192584ms) min_rtt=546.442µs rttvar=3.136639ms probes=0
sent 1345 bytes
quiche: 04a8f6b83afe7a3b5ef959516b05efc0 tx pkt Short dcid=568e60d761e22d8887f6c95ccb4e893d token=7175696368651002dde97f00000100000000000000008b5209a67eff91b44364dc6c16395b43 key_phase=false len=1326 pn=14983
quiche: 04a8f6b83afe7a3b5ef959516b05efc0 tx frm STREAM id=156 off=421524 len=1301 fin=false
quiche::recovery: 04a8f6b83afe7a3b5ef959516b05efc0 timer=109.544382ms crypto=0 inflight=954011 cwnd=19135708 latest_rtt=68.657609ms srtt=Some(72.192584ms) min_rtt=546.442µs rttvar=3.136639ms probes=0
sent 1345 bytes
quiche: 04a8f6b83afe7a3b5ef959516b05efc0 tx pkt Short dcid=568e60d761e22d8887f6c95ccb4e893d token=7175696368651002dde97f00000100000000000000008b5209a67eff91b44364dc6c16395b43 key_phase=false len=1326 pn=14984
```
I wonder what leads to the big RTT inflation? Is it due to the splitting of state machine and IO overhead?
I put the test code on my branch [long RTT](https://github.com/username_0/quiche/tree/long-rtt). Feel free to do your own test.
[Bug] Long RTT when sending many streams.
issue
closed
VMatrix1900
username_0
issue