struct xio_mempool_config mempool_config = {
6,
{
- {1024, 0, 4096, 262144},
- {4096, 0, 4096, 262144},
- {16384, 0, 4096, 262144},
- {65536, 0, 1024, 65536},
- {262144, 0, 512, 16384},
- {1048576, 0, 128, 8192}
+ {1024, 0, cct->_conf->xio_queue_depth, 262144},
+ {4096, 0, cct->_conf->xio_queue_depth, 262144},
+ {16384, 0, cct->_conf->xio_queue_depth, 262144},
+ {65536, 0, 128, 65536},
+ {262144, 0, 32, 16384},
+ {1048576, 0, 8, 8192}
}
};
xio_set_opt(NULL,