mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Add more fields to Qlog Transport Summary to track spurious retransmissions
Summary:
Add three new fields to the qlog transport summary to help analyze spurious transmissions and how they are affected by using adaptive loss thresholds.
Sample transport summary with added fields:
```
"transport_summary",
{
"current_conn_flow_control": 1068498609,
"current_writable_bytes": 106330,
"dsr_packet_count": 0,
"final_packet_loss_reordering_threshold": 77,
"final_packet_loss_time_reordering_threshold_dividend": 29,
"quic_version": 4207849474,
"sum_cur_stream_buffer_len": 0,
"sum_cur_write_offset": 5243215,
"sum_max_observed_offset": 67,
"total_bytes_cloned": 0,
"total_bytes_recvd": 38157,
"total_bytes_retransmitted": 244982,
"total_bytes_sent": 5605121,
"total_crypto_data_recvd": 342,
"total_crypto_data_written": 1548,
"total_packets_spuriously_marked_lost": 203,
"total_stream_bytes_cloned": 0,
"used_zero_rtt": false
}
```
Reviewed By: afrind, mjoras
Differential Revision: D33354583
fbshipit-source-id: 55d9880ef02f6914b74c1b6508863bea7807950b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
688d0ed31e
commit
a73eade468
@@ -290,6 +290,9 @@ void QuicTransportBase::closeImpl(
|
||||
? conn_->congestionController->getWritableBytes()
|
||||
: std::numeric_limits<uint64_t>::max(),
|
||||
getSendConnFlowControlBytesWire(*conn_),
|
||||
conn_->lossState.totalPacketsSpuriouslyMarkedLost,
|
||||
conn_->lossState.reorderingThreshold,
|
||||
uint64_t(conn_->transportSettings.timeReorderingThreshDividend),
|
||||
conn_->usedZeroRtt,
|
||||
conn_->version.value_or(QuicVersion::MVFST_INVALID),
|
||||
conn_->dsrPacketCount});
|
||||
|
||||
Reference in New Issue
Block a user