LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
55 stars 6 forks source link

[administration][performance_tuning] IO Scheduler #1075

Open LukeShortCloud opened 5 months ago

LukeShortCloud commented 5 months ago

Benchmarks of schedulers do not show the real-world benefits.

https://access.redhat.com/solutions/5427

Best I/O schedulers to prevent stuttering when using the desktop:

https://www.reddit.com/r/pop_os/comments/vyaqt9/next_update_will_change_io_schedulers_to_kyber/ https://github.com/ublue-os/bazzite/tree/v2.2.0?tab=readme-ov-file#about--features

Despite benchmarks showing that "none" has the best performance (second being "kyber"), it does not showcase the latency or responsiveness of the system.

https://www.phoronix.com/review/linux-56-nvme/4

LukeShortCloud commented 5 months ago

Arch Linux also recommends BFQ for flash drives and slow devices for a more responsive system.

https://wiki.archlinux.org/title/Install_Arch_Linux_on_a_removable_medium

LukeShortCloud commented 4 months ago

I've been doing some testing and benchmarking for this. Kyber is best for NVMe drives specifically. Everything else (SSDs, HDDs, flash drives, SD cards, etc.) should use BFQ.