perf: 性能优化
* io_uring使用buffer pool避免内存分配与释放
* packet io thread与worker thread无锁访问cmsg
* 为解密流量的fd设置默认的TTL
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#define TFE_PATH_MAX 256
|
||||
#define TFE_SYMBOL_MAX 64
|
||||
#define TFE_THREAD_MAX 128
|
||||
#define TFE_FAKE_C_DEFAULT_TTL 60
|
||||
#define TFE_FAKE_S_DEFAULT_TTL 65
|
||||
|
||||
#ifndef TFE_CONFIG_BACKLOG_DEFAULT
|
||||
#define TFE_CONFIG_BACKLOG_DEFAULT 20
|
||||
|
||||
Reference in New Issue
Block a user