mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
Minor timer changes (~21 Mb/s local)
This commit is contained in:
parent
1bc33ae8d7
commit
bbfc9359e9
4 changed files with 15 additions and 8 deletions
|
@ -64,6 +64,10 @@
|
|||
|
||||
//#define PBUF_POOL_BUFSIZE 2048
|
||||
|
||||
|
||||
#define TCP_MSS 2048
|
||||
#define TCP_WND 512
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
---------------------------------- Timers --------------------------------------
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -71,7 +75,7 @@
|
|||
/* these are originally defined in tcp_impl.h */
|
||||
#ifndef TCP_TMR_INTERVAL
|
||||
/* The TCP timer interval in milliseconds. */
|
||||
#define TCP_TMR_INTERVAL 20
|
||||
#define TCP_TMR_INTERVAL 250
|
||||
#endif /* TCP_TMR_INTERVAL */
|
||||
|
||||
#ifndef TCP_FAST_INTERVAL
|
||||
|
@ -113,7 +117,7 @@
|
|||
------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#define LWIP_CHKSUM_ALGORITHM 0
|
||||
#define LWIP_CHKSUM_ALGORITHM 2
|
||||
|
||||
|
||||
/**
|
||||
|
@ -146,7 +150,7 @@
|
|||
* MEMP_NUM_RAW_PCB: Number of raw connection PCBs
|
||||
* (requires the LWIP_RAW option)
|
||||
*/
|
||||
#define MEMP_NUM_RAW_PCB 128
|
||||
#define MEMP_NUM_RAW_PCB 32
|
||||
|
||||
/**
|
||||
* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue