26 lines
957 B
Diff
26 lines
957 B
Diff
From 08d11019f3924f192e1a68d7d2007f8ec7bdf889 Mon Sep 17 00:00:00 2001
|
|
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
|
Date: Sun, 3 Aug 2025 15:27:26 +0200
|
|
Subject: squash! ZEN: INTERACTIVE: Use Kyber as the elevator for MQ devices
|
|
|
|
Fall back straight to none instead of mq-deadline. Some benchmarks in a
|
|
[recent paper][1] suggest that mq-deadline has too much lock contention,
|
|
hurting throughput and eating CPU waiting for spinlocks.
|
|
|
|
[1]: https://research.spec.org/icpe_proceedings/2024/proceedings/p154.pdf
|
|
---
|
|
block/elevator.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/block/elevator.c
|
|
+++ b/block/elevator.c
|
|
@@ -764,8 +764,6 @@ void elevator_set_default(struct request
|
|
if (q->nr_hw_queues != 1 && !blk_mq_is_shared_tags(q->tag_set->flags))
|
|
#if defined(CONFIG_ZEN_INTERACTIVE) && defined(CONFIG_MQ_IOSCHED_KYBER)
|
|
ctx.name = "kyber";
|
|
-#elif defined(CONFIG_ZEN_INTERACTIVE)
|
|
- ctx.name = "mq-deadline";
|
|
#else
|
|
return;
|
|
#endif
|