Improve relationship between QOS timers and bucket sizes

This commit is contained in:
Joseph Henry 2022-04-15 09:55:00 -07:00
parent d0c68096df
commit 99df637aae
No known key found for this signature in database
GPG key ID: C45B33FF5EBC9344
2 changed files with 32 additions and 12 deletions

View file

@ -373,9 +373,9 @@
#define ZT_QOS_TABLE_SIZE ((ZT_QOS_MAX_PACKET_SIZE * 8) / (64 + 16))
/**
* Maximum number of outgoing packets we monitor for QoS information
* Maximum number of packets we monitor for QoS information at any given time
*/
#define ZT_QOS_MAX_OUTSTANDING_RECORDS (1024 * 16)
#define ZT_QOS_MAX_PENDING_RECORDS (ZT_QOS_TABLE_SIZE * 3)
/**
* Interval used for rate-limiting the computation of path quality estimates.