Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87C69C10F27 for ; Tue, 10 Mar 2020 12:34:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 657682467D for ; Tue, 10 Mar 2020 12:34:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726436AbgCJMe3 (ORCPT ); Tue, 10 Mar 2020 08:34:29 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11205 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726269AbgCJMe2 (ORCPT ); Tue, 10 Mar 2020 08:34:28 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 5156D9D3176ACC83AB8A for ; Tue, 10 Mar 2020 20:34:27 +0800 (CST) Received: from [10.173.111.60] (10.173.111.60) by smtp.huawei.com (10.3.19.212) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 10 Mar 2020 20:34:26 +0800 Subject: Re: [RFC][QUESTION] fuse: how to enlarge the max pages per request To: References: <6149dfe9-1389-ada6-05db-eb71b989dcb2@huawei.com> CC: From: piaojun Message-ID: Date: Tue, 10 Mar 2020 20:34:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <6149dfe9-1389-ada6-05db-eb71b989dcb2@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.173.111.60] X-CFilter-Loop: Reflected Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org ping? On 2020/3/10 18:03, piaojun wrote: > Hi Miklos, > >>From my test, a fuse write req can only contain 128KB which seems > limited by FUSE_DEFAULT_MAX_PAGES_PER_REQ in kernel. I wonder if I > could enlarge this macro to get more bandwidth, or some other adaption > should be done? > > Up to now, many userspace filesystem is designed for big data which > needs big bandwidth, such as 2MB or more. So could we add a feature to > let the user config the max pages per request? Looking forward for your > reply. > > Thanks, > Jun >