Basic concept: Slab,page,chunk.
Slab, is a logical concept. It is preprocessed at the start of the memcached instance, each slab corresponds to a chunk size, which means that different slab have different chunk size. The specific number of slab is determined by the parameter-F (growth factor) and-N (chunk minimum size).
page, which can be understood as memory pages. The size is fixed to 1m. Slab requests a page to the system when the request is stored and cuts the page by chunk size.
Chunk is the smallest unit for saving user data. The user data item (including Key,value) is eventually saved to the chunk. The chunk specification is fixed, and if the user data comes in and there is surplus, the remainder cannot be used for other purposes.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/tools/