Closed cocalele closed 1 year ago
Any document about batch mode? intrested
Any document about batch mode? intrested
This depends on PfEventQueue::get_events
, via this function you can get all events on event queue.
Then, SSD thread process IO request one by one, but not call AIO io_submit
on each one. Only after all events have been processed , io_submit
is called in function submit_batch
for all IOs. See: https://github.com/cocalele/PureFlash/commit/a731bfeee92a5cb21fb9b063475f06fd3afef469
currently AIO engine submit IO one bye one. This makes a lot of sys call and heavy performance overhead.
Submit in batch mode may improve performance.