Re: [PATCH] md: add check for sleepers in md_wakeup_thread()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 27, 2024 at 4:40 AM Jack Wang <jinpu.wang@xxxxxxxxx> wrote:
>
> From: Florian-Ewald Mueller <florian-ewald.mueller@xxxxxxxxx>
>
> Check for sleeping thread before attempting its wake_up in
> md_wakeup_thread() to avoid unnecessary spinlock contention.
>
> With a 6.1 kernel, fio random read/write tests on many (>= 100)
> virtual volumes, of 100 GiB each, on 3 md-raid5s on 8 SSDs each
> (building a raid50), show by 3 to 4 % improved IOPS performance.
>
> Signed-off-by: Florian-Ewald Mueller <florian-ewald.mueller@xxxxxxxxx>
> Reviewed-by: Yu Kuai <yukuai3@xxxxxxxxxx>
> Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxx>

Applied to md-6.10. Thanks!

Song





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux