Re: [PATCH] md/raid1: remove the unnecessary plug in raid1d()

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

 



On Sun, Jul 7, 2019 at 8:11 PM Yufen Yu <yuyufen@xxxxxxxxxx> wrote:
>
> When raid1d() submits a lot of IO, block plug can improve IO merge
> and increase IO throughput. But, after commit 18022a1bd37 ("md/raid1/10:
> add missed blk plug"), flush_pending_writes have added start/finish
> plug by itself.
>
> Except flush_pending_writes(), other processing in raid1d() would
> not submit a lot of IO. They may issue some IO, but these IOs are
> synchronous, i.e. submit bio and wait it finish. Plug can increase
> io latency, which is not expected.
>
> Thus, we may need to remove the unneceessary start/finish plug.

Could you please add some data showing the difference in performance?

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