quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Reopen: 1712, How to optimize the transfer speed? #1727

Closed shiqifeng2000 closed 9 months ago

shiqifeng2000 commented 9 months ago

I saw issue 1712 closed, but my question is still there, is this configuration best bet for quinn transfer speed?

    transport_config.max_concurrent_uni_streams(0u8.into());
    let mut acks = quinn::AckFrequencyConfig::default();
    acks.ack_eliciting_threshold(10u32.into());
    transport_config.ack_frequency_config(Some(acks));
    transport_config.enable_segmentation_offload(true);
    transport_config.initial_mtu(1460);
    transport_config.min_mtu(1460);
djc commented 9 months ago

Let's keep this discussion in #1712, no need to open another issue.