Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1756143imm; Thu, 21 Jun 2018 01:42:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJg1fy9MfspGhR588eDHawZ0owkvp+j3x0Mig1cq+lGTzRi+ZFQ17WQJNUnOkgkLTPHWMat X-Received: by 2002:a62:3994:: with SMTP id u20-v6mr26625763pfj.95.1529570550436; Thu, 21 Jun 2018 01:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529570550; cv=none; d=google.com; s=arc-20160816; b=Ynmc4HxHWmsxN+bfY76cixKwQi2EWzj1u/AZVXZA767xOB+9sPvp+MYYq4SImLDHFE 3lreTN5yBHRMrITHTkKN9qAkKGRqNx2NJzZuGyvxZ6rOCYW+1yz0ZfFVUedBQC8cWwxH r14NBLRzk8L95k8nQ2r3AI9a1b1ZjZHjygh8QtXh3DPE+vCvQw5+X9TL7fs8lKv79rTo 3uD5i1b1B6lNkQDi99Q3yscj2HvOxGMFnAWaLbeCTBKb4n6pwqI/I6p0Dtx3QU1lMfxn 5EmfWDSoXwzJWLrLS1wR6EQVYDww5+YCoH4ksbKqMoVv5zSMlRthqL49dzlxftFS9boI BjVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=MngMSYj/LUMoHDL8Hi+3HKaF/k/9jENECPPbHKOO+cU=; b=K1JUcFZYdTITK9SQmWHmUSNScprYzUq2f8FEjcs8StpUGPqRgCegDampN8CO0G/NqG N4ouNMLnXypAjGCRwWlA0xpwwRywtacwn8vipy4rng5gq/R1zPp3u5Or6a3m/rrnbjtb Rgq5QdE02/D1pxS/K1Cvufr0vFESJ/TjRGvIzDs6u7X8w5JW539ZK73ibveQ6bLIMet9 Z+eoQ7XJFjPJhp3J5AQH3MmWcoHWRTx1IzXr1wwZuM+ANmvUTIrYCohrgtlvItaCRH+j BTU5e+8fw8e3+Vcp+UOVTsupTH3b9XPQWqnyWmvTUMXKZnEs5SEyePmXK55vnx1qzRSg z4xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@profitbricks-com.20150623.gappssmtp.com header.s=20150623 header.b=VJAv8+ej; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v14-v6si4020304pfe.149.2018.06.21.01.42.16; Thu, 21 Jun 2018 01:42:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@profitbricks-com.20150623.gappssmtp.com header.s=20150623 header.b=VJAv8+ej; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754236AbeFUIlY (ORCPT + 99 others); Thu, 21 Jun 2018 04:41:24 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:50823 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbeFUIlT (ORCPT ); Thu, 21 Jun 2018 04:41:19 -0400 Received: by mail-wm0-f66.google.com with SMTP id e16-v6so3745874wmd.0 for ; Thu, 21 Jun 2018 01:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profitbricks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MngMSYj/LUMoHDL8Hi+3HKaF/k/9jENECPPbHKOO+cU=; b=VJAv8+ejMrXTo1ZnvakozkyT3BQRHwaDxp3AdwL8a6MSQ8nG4njgD0pctZP7J9fqXU oaFvN5arv8qYf46X/BlJZgnf8YSoWH3/rreOpwMrc8OvTdDti+bZr23TwwfxRlYLeDgn K5CZo4upbebNTux6XAikMs3aiYfWDRKji1zzXJrcvMHQt7FPwSypcIKSWoouNenBepEk UlDvDFXYBuDBPm0tfnWSPKsTUcCX8YG5HjKBSG4rE7VDGEnRbR4u6Ki8VFQrtc6iN3et HWnkWnxih6sOsDIfvkBjW5/9TNVDF3zmbTwQTyNzUa3r6PNqwnYZfTFNuOlstVrgWfEU 5CwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MngMSYj/LUMoHDL8Hi+3HKaF/k/9jENECPPbHKOO+cU=; b=HUIMOooMg74KV33Hakd2/QezAc3Ox+vcFrwq3PNRfdFbfBaLKx03AaepAI3dijJp/+ SVjmq0COw6VV9PQyqSWoBYP9/vzQoc+kThny8c6CBVQ3/v43+5W/p2Jdd9PO5/LX3+Ua TKu5xoJ0Wj5IWfs5mbVm77mKwVcROaUtMSp8PiwReL1KEj5ZPIbVMKtgZmcuCJMCc9XT HRtFOao2WNNbj7ce2XAnjmR6Ddyx/e7zZIRer3wJFJ/ZmkO7pHWwLGZE/994dTvhLANZ GU8jc6QKT+OX8PGspTtwq9dH8bwsPHshuQjBJtpdmjWvK/kFSG1hWhiPEBMbIpbmnmaE FCeA== X-Gm-Message-State: APt69E1jdLi5/fMFl4uJSlJajpn9MkODMWAMqhIXzQlOoB7tehsaTw0G vRpn7+2rQL+wVnMwos0gSYtWBY4PduUKZxOcTA5lwg== X-Received: by 2002:a50:8c41:: with SMTP id p59-v6mr21459347edp.207.1529570477920; Thu, 21 Jun 2018 01:41:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:de8e:0:0:0:0:0 with HTTP; Thu, 21 Jun 2018 01:40:37 -0700 (PDT) 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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