Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp103582ybj; Thu, 19 Sep 2019 11:21:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwysPgXo5LkGMt14TTjXBPe/LfUf8DI5FWhFrKhSzxvugHm6oU3dheshUs1lmQ5zUt71HXH X-Received: by 2002:a50:b0c5:: with SMTP id j63mr3874203edd.90.1568917292971; Thu, 19 Sep 2019 11:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568917292; cv=none; d=google.com; s=arc-20160816; b=jmQoiIs2Df1egO0WA3aO5XHjfAm02/3sODm1Du66raNRZyzg6LpIxGx9hfAG2oV3uU j3+Yp80+dA+8uaj2qcXuqrglVZhKv/q4J6A5OXZHzXeKyeSgxepLlSqyoi0kYxdkuAn7 655Yjp69466ZaYPwdmFx7dE7RunN6TjzHrz6jlrJb+gdFxU/PI+vQlIgbrWtpxb5qCHP hSLhhER5zA3rjAuLK5q5NU4jk37zQwmGXegCiGhVsKpC+Kju5gcSFwHjRQFdyemMZnYj cM+6qDpkdhHNOAz1xqvQYPaoBs0DYCUeFT2R3egaWoDf+i6TytOep3fFz1t49QPIxqNC wx/w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=G/yQGaWFflwzIYL3VFsL82DIXmpvWhog4+z/HObYJ5c=; b=GQRb+7i2m1xxQfohJQahnj8Te0TwKq8cG+BGgSX2ThbRgxX47ycscnvHtzz1Rz1/o/ GFTxSreyNKV3ZbUOYj4k57dD9zWjInCx3PJCCD52mD5gU3Cdzl3Y6IuUaSRFFUkhmCwx rrh5CdsMcHyYCxIcJCEDR0XzcHas3hyuYFEH7qWUNiK4Vr8BNMiJvwCF62hIxQrfdokk H69Za42hoZSUaubN+ucVlRnE49Kyx4ru4TXTQTqmUXLwmK8j9dOVsHHst8WOXAvA2QWm 3GTtwUDzQmL3ssNkAyDzbaIxCG8lTtcl4OccuhDLTBVLYSqybUdsjwFUBS4uk3CiccEq 6fzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NxF95xW+; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bt13si5615673edb.245.2019.09.19.11.20.58; Thu, 19 Sep 2019 11:21:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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=@gmail.com header.s=20161025 header.b=NxF95xW+; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388941AbfISP6N (ORCPT + 99 others); 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-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