4 ms·
This is really interesting. I wasn't aware that interrupts were handled differently on NVMe disks. The falling back to polling during busy times is similar to t
by bogomipz 4y ago
This is really interesting. I wasn't aware that interrupts were handled differently on NVMe disks. The falling back to polling during busy times is similar to the way network device drivers do NAPI then?
- wtallis 4y agoPolling is optional. The Linux driver defaults to using interrupts only, but the nvme driver can be passed an option to allocate one or more queues with interrupts disabled to be used for polled IO. (You can also configure it to use separate queues for reads and writes, instead of just trying to allocate one queue per CPU core.)