So a major portion of the performance improvement can be attributed to the pre-allocation of the pages in DMS.
所以,性能提升的很大一部分要归功于 DMS 上页的预先分配。
This is due to the pre-allocation of Shared memory that was done for each of the tests and explained previously.
这是因为每个测试都预先分配了共享内存。
Mempool_alloc is for allocating objects; if the mempool allocator fails to provide memory, then the pre-allocation pool will be used.
mempool_alloc用来分配对象;如果内存池分配器无法提供内存,那么就可以用预分配的池。
应用推荐