Re: [PATCH 0/1] improve brd performance with blk-mq

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

 



On Mon, Feb 13, 2023 at 11:26:22AM +0530, Pankaj Raghav wrote:
> On 2023-02-07 07:13, Ming Lei wrote:
> > On Fri, Feb 03, 2023 at 04:00:05PM +0530, Pankaj Raghav wrote:
> >> Hi Jens,
> >>  brd is one of the few block drivers that still uses submit_bio instead
> >>  of blk-mq framework. The following patch converts brd to start using
> >>  blk-mq framework. Performance gains are pretty evident for read workloads.
> >>  The performance numbers are also attached as a part of
> >>  the commit log.
> >>
> >>  Performance (WD=[read|randread|write|randwrite]):
> >>  $ modprobe brd rd_size=1048576 rd_nr=1
> >>  $ echo "none" > /sys/block/ram0/queue/scheduler
> >>  $ fio --name=<WD>  --ioengine=io_uring --iodepth=64 --rw=<WD> --size=1G \
> >>    --io_size=20G --loop=4 --cpus_allowed=1 --filename=/dev/ram0 --iodepth=64
> >>    --direct=[0/1]
> >>
> >>   --direct=0
> > 
> > Can you share perf data on other non-io_uring engine often used? The
> > thing is that we still have lots of non-io_uring workloads, which can't
> > be hurt now.
> > 
> Sounds good. Does psync and libaio along with io_uring suffice?

Yeah, it should be enough.


Thanks,
Ming




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux