Re: [PATCH 05/16] block: inline a part of bio_release_pages()

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

 



On Wed, Oct 20, 2021 at 08:15:25AM -0600, Jens Axboe wrote:
> I just want to be very clear that neither mine nor Pavel's work is
> trying to get into benchmarketing. There are very tangible performance
> benefits, and they are backed up by code analysis and testing. That
> said, the point is of course not to make this any harder to follow or
> maintain, but we are doing suboptimal things in various places and those
> should get cleaned up, particularly when they impact performance. Are
> some a big eager? Perhaps, but let's not that that cloud the perception
> of the effort as a whole.

A lot of it seems generally useful.  But optimizing for BIO_NO_PAGE_REF
is really special.  Besides a few in-kernel special cases this is all
about the io_uring pre-registered buffers, which are very much a
special case and not a normal workload at all.  In this case it is just
an extra conditional moved into a few callers so I think we're ok, but
I'm really worried about optimizing this benchmark fast path over the
code everyone actually uses.



[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