[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7a4a39f0-2694-42a0-b26d-b1e337eb3afc@geekplace.eu>
Date: Fri, 15 Nov 2024 09:26:56 +0100
From: Florian Schmaus <flo@...kplace.eu>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: linux-bcachefs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] bcachefs: Set rebalance thread to SCHED_BATCH and
nice 19
On 15/11/2024 06.43, Kent Overstreet wrote:
> On Thu, Nov 14, 2024 at 10:06:48PM +0100, Florian Schmaus wrote:
>> Set the rebalance thread's scheduling class to BATCH, which means it
>> could experience a higher scheduling latency. However, it reduces
>> preemption events of running threads.
>>
>> And while the rebalance thread is ually not compute bound, it does
>> cause a considerable amount of I/O. By increasing its nice level from
>> 0 to 19 we also implicitly reduce the thread's best-effort I/O
>> scheduling class level from 4 to 7. Therefore, the rebalance thread's
>> I/O operations will be deprioritized over standard I/O operations.
>
> Is there a patch 1/2?
Sorry, patch 1/2 was unfortunately not send to linux-bcachefs@. You can
find it at
https://lore.kernel.org/lkml/20241114210649.71377-1-flo@geekplace.eu/
- Florian
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (619 bytes)
Powered by blists - more mailing lists