需改ebpf程序探测内核,测试性能,验证想法,更新笔记。
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
|
||||
// #define MEMPOOL_PAGE_SIZE 4096
|
||||
#define MEMPOOL_PAGE_SIZE (256 * 1024)
|
||||
#define MEMPOOL_PAGE_SIZE 4096
|
||||
// #define MEMPOOL_PAGE_SIZE (256 * 1024)
|
||||
#define MEMPOOL_BLOCK_MAX_SIZE 512
|
||||
#define MEMPOOL_ALIGNMENT 8
|
||||
#define MEMPOOL_NUM_CLASSES (MEMPOOL_BLOCK_MAX_SIZE / MEMPOOL_ALIGNMENT)
|
||||
|
||||
Reference in New Issue
Block a user