[CP] [BUG.FIX] adjust normal tablet buffer pool size
This commit is contained in:
@ -120,8 +120,8 @@ class ObTenantMetaMemMgr final
|
||||
public:
|
||||
typedef ObMetaPointerHandle<ObTabletMapKey, ObTablet> ObTabletPointerHandle;
|
||||
static const int64_t THE_SIZE_OF_HEADERS = sizeof(ObFIFOAllocator::NormalPageHeader) + sizeof(ObMetaObjBufferNode);
|
||||
static const int64_t NORMAL_TABLET_POOL_SIZE = 4 * 1024L - THE_SIZE_OF_HEADERS; // 4KB
|
||||
static const int64_t LARGE_TABLET_POOL_SIZE = 64 * 1024L - THE_SIZE_OF_HEADERS; // 64KB
|
||||
static const int64_t NORMAL_TABLET_POOL_SIZE = (ABLOCK_SIZE - ABLOCK_HEADER_SIZE) / 2 - AOBJECT_META_SIZE - THE_SIZE_OF_HEADERS; // 3952B
|
||||
static const int64_t LARGE_TABLET_POOL_SIZE = 64 * 1024L - THE_SIZE_OF_HEADERS; // 65,480B
|
||||
|
||||
static const int64_t MIN_MODE_MAX_TABLET_CNT_IN_OBJ_POOL = 10000;
|
||||
static const int64_t MIN_MODE_MAX_MEMTABLE_CNT_IN_OBJ_POOL = 2 * MIN_MODE_MAX_TABLET_CNT_IN_OBJ_POOL;
|
||||
|
||||
Reference in New Issue
Block a user