From mboxrd@z Thu Jan 1 00:00:00 1970 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=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 4DA18C3A5A6 for ; Thu, 19 Sep 2019 15:58:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21B6B21848 for ; Thu, 19 Sep 2019 15:58:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NxF95xW+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388941AbfISP6N (ORCPT ); Thu, 19 Sep 2019 11:58:13 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:50685 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388678AbfISP6N (ORCPT ); Thu, 19 Sep 2019 11:58:13 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5so5243052wmg.0 for ; Thu, 19 Sep 2019 08:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=G/yQGaWFflwzIYL3VFsL82DIXmpvWhog4+z/HObYJ5c=; b=NxF95xW+gfy2lINSJOlejzwXxfTAjNzp4hj5xkbg8C8oXgIDkkvKENP3OX/KBh3ANr nOkbbGyHVo53FCnpxWwycERVJWb07z4r8w6xWiUQ906NJr13298YLV6RNv42RrHVq5PD FNrM4/QLNJ2zteEFTHLTuu1YniC4wnsTg9gL+WePWXUGTN9GDkEA4uFvtYLxEWHBah+A TNb8+08z+AeC+NevZseJDBOedIHlJDMoAgTU84FIEbNaG+R6wQXaplpItj+kLCjl5RMq BPbqHhGZZfj1jLYbQ4CzB4Mvw+OOxIwTdsbDxcrWgOFy8uAMWXVb1RVGYGMwK0yHunAq GSAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=G/yQGaWFflwzIYL3VFsL82DIXmpvWhog4+z/HObYJ5c=; b=MP7NF5FgzRolEumTJ9JS4e5UCf0A8IWF4yNMbR0WQ4b41yd4ABi8ewulaY1QPt7KP3 6OSnKTwT0GaKTaPsaD7HZZvTkTZKYIqZUDEwMBso44xDJKGqT3t4NSY6zgD6kuQ3KHna PmS9ywy9l4JPuU22BW7bTYFSQ9PasKCC4+dO+inm4j0lvye0JnM6LmECRTqbxeigUfJJ tuKZyHWZbxP1wEzIwuTUk1k7+/fHuezagvv14qf8oRhrc//zvVkCjTb9OiE9ToXZpHkT IMC22cBUR04gdOS1Ydem1sqwKfWvnSNQa6WUAHuSJGGAbeRltUhgz7N/3kMINZbUHAUl q8Rg== X-Gm-Message-State: APjAAAU5N3vf2QjhJYgGh1nOvhqxw/ioligvOt23gAl0cwfB9H7Cml1D hR7sjO6PE5t1FxmG8u7St7INQ8MV X-Google-Smtp-Source: APXvYqwpUzuUv6/r7ms7rQyolSwalob6W3196g/pEmX7WmIAjrTb+Tssi8wsmPU52WHGVQdLoThlFA== X-Received: by 2002:a7b:c353:: with SMTP id l19mr3250445wmj.173.1568908691118; Thu, 19 Sep 2019 08:58:11 -0700 (PDT) Received: from [10.161.254.11] (srv1-dide.ioa.sch.gr. [81.186.20.0]) by smtp.googlemail.com with ESMTPSA id c8sm9153554wrr.49.2019.09.19.08.58.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 08:58:10 -0700 (PDT) Subject: Re: rsize,wsize=1M causes severe lags in 10/100 Mbps To: linux-nfs@vger.kernel.org Cc: Trond Myklebust References: <80353d78-e3d9-0ee2-64a4-cd2f22272fbe@gmail.com> From: Alkis Georgopoulos Message-ID: Date: Thu, 19 Sep 2019 18:58:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 9/19/19 6:08 PM, Trond Myklebust wrote: > The default client behaviour is just to go with whatever recommended > value the server specifies. You can change that value yourself on the > knfsd server by editing the pseudo-file in > /proc/fs/nfsd/max_block_size. Thank you, and I guess I can automate this, by running `systemctl edit nfs-kernel-server`, and adding: [Service] ExecStartPre=sh -c 'echo 32768 > /proc/fs/nfsd/max_block_size' But isn't it a problem that the defaults cause errors in dmesg and severe lags in 10/100 Mbps, and even make 1000 Mbps a lot less snappy than with 32K? In any case thank you again. Alkis Georgopoulos