From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20180621011656.GA15427@ming.t460p> References: <20180609123014.8861-1-ming.lei@redhat.com> <20180621011656.GA15427@ming.t460p> From: Gi-Oh Kim Date: Thu, 21 Jun 2018 10:40:37 +0200 Message-ID: Subject: Re: [PATCH V6 00/30] block: support multipage bvec To: Ming Lei Cc: Jens Axboe , hch@infradead.org, Al Viro , Kent Overstreet , dsterba@suse.cz, ying.huang@intel.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, "Theodore Ts'o" , darrick.wong@oracle.com, colyli@suse.de, Filipe Manana , rdunlap@infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: On Thu, Jun 21, 2018 at 3:17 AM, Ming Lei wrote: > On Fri, Jun 15, 2018 at 02:59:19PM +0200, Gi-Oh Kim wrote: >> > >> > - bio size can be increased and it should improve some high-bandwidth = IO >> > case in theory[4]. >> > >> >> Hi, >> >> I would like to report your patch set works well on my system based on v= 4.14.48. >> I thought the multipage bvec could improve the performance of my system. >> (FYI, my system has v4.14.48 and provides KVM-base virtualization servic= e.) > > Thanks for your test! > >> >> So I did back-porting your patches to v4.14.48. >> It has done without any serious problem. >> I only needed to cherry-pick "blk-merge: compute >> bio->bi_seg_front_size efficiently" and >> "block: move bio_alloc_pages() to bcache" patches before back-porting >> to prevent conflicts. > > Not sure I understand your point, you have to backport all patches. Never mind. I just meant I did backporting for myself and it is still working well. > > At least now, BIO_MAX_PAGES can be fixed as 256 in case of CONFIG_THP_SWA= P, > otherwise 2 pages may be allocated for holding the bvec table, so tests > in case of THP_SWAP may be improved. > > Also filesystem may support IO to/from THP, and multipage bvec should > improve this case too. OK, I got it. I will find something to use THP_SWAP and run the performance test with it. Thank you ;-) --=20 GIOH KIM Linux Kernel Entwickler ProfitBricks GmbH Greifswalder Str. 207 D - 10405 Berlin Tel: +49 176 2697 8962 Fax: +49 30 577 008 299 Email: gi-oh.kim@profitbricks.com URL: https://www.profitbricks.de Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg, HRB 125506 B Gesch=C3=A4ftsf=C3=BChrer: Achim Weiss, Matthias Steinberg, Christoph Steff= ens