By default the internal NVME SSD gets the "mq-deadline" IO scheduler applied to it.
According to Ubuntu's documentation, choosing "none" as the IO scheduler provides "minimal overhead" and is "Ideal for fast random I/O devices such as NVME".
According to benchmarks compiled by Phoronix, "overall though, using 'none' as your I/O scheduler option will still generally offer the best performance for speedy NVMe SSD storage with a few exceptions".
By default the internal NVME SSD gets the "mq-deadline" IO scheduler applied to it.
According to Ubuntu's documentation, choosing "none" as the IO scheduler provides "minimal overhead" and is "Ideal for fast random I/O devices such as NVME".
https://wiki.ubuntu.com/Kernel/Reference/IOSchedulers
According to benchmarks compiled by Phoronix, "overall though, using 'none' as your I/O scheduler option will still generally offer the best performance for speedy NVMe SSD storage with a few exceptions".
https://www.phoronix.com/review/linux-56-nvme/4
This commit changes the IO scheduler for NVME devices from mq-deadline to none. Successfully tested on my MacBook Air M1.