Created
June 25, 2019 11:00
-
-
Save aep/0d8e1f181d41fc29781576d5e5d8e353 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# carrier protocol tuning | |
# in ~/.devguard/carrier.toml under the [protocol] category | |
window_delay = 1 | |
# sets backoff push delay when the send window is full | |
# lowwer is faster. if increasing this helps, this is a bug | |
min_latency = 0 | |
# overwrite latency calculation and assume at least this amount of milliseconds of latency | |
# lower is better. increasing this may help if rtt widly fluctuates resulting in unrecoverable state | |
max_tlps = 2 | |
# maximum number of tail loss probes before retransmission. | |
# tlps recover idle connections. increasing this may help if a connection gets stuck after its done transmitting. | |
max_rtos = 4 | |
# maximum number of retransmission attempts before a connection is unrecoverable | |
# bigger number means it takes longer to discover dead connections. | |
reordering_threshold = 3 | |
# allow at least this many packets to be reordered by packet switches on the internet, before we assume a packet is lost | |
# bigger is better but requires more memory | |
time_loss_detection = false | |
# uses a weird algorithm similar to TCP to detect loss. has never been tested, but setting this to true fixes anything, it means the default algorythm has a bug | |
min_tlp_timeout = 10 | |
# increasing this may help | |
min_rto_timeout = 200 | |
# increasing this may help | |
stream_rx_queue = 100 | |
stream_tx_queue = 1000 | |
# these just regulate rx/tx buffer sizes. changing these _should_ have no influence, unless we have bugs. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment