Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp333928ybj; Thu, 19 Sep 2019 15:15:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTb5fRozxFw5OXZqZti9HqP2FBGBBQS/oWDbBE+KM+FwZi6jRudQIa/jgnT14tz/09vQ4U X-Received: by 2002:a50:9eee:: with SMTP id a101mr18343280edf.128.1568931320221; Thu, 19 Sep 2019 15:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568931320; cv=none; d=google.com; s=arc-20160816; b=0rG/ydAPGf+xxS4HMDfdDB22FLs4+JPOiolnho7Bfz+Pda9mB3nWyCJhy/cP1ZZDTU 8VwJhYiKzy66YPTYzcKcaiPjzHJDJVjol+VnjN5JqrASTU69QUQ1sOgorGAVNSs/9p8r meOmbN2Mx48n2hO1vCqAMyaQV5HCfqBtiPy5o1MSOgPWbHK4f6IU8qtkbqR1txxuMCkv uJUn60ekORb8E40BBFwN2lYSm/pn0GeThVfAJP5hR2r2VWQ9ty2nMrepl1cNDfbxjKy3 i5yJXNaF/d0FMByT+e2WF/PNrEI9PkXN69dZ21DgIawPC+qwd3rxmS/EVZHnspjhmXYy BGWg== 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:to:subject:dkim-signature; bh=X9urOrHZGeErvOkysXeQPTttflTL/sXZymWH5wMQwjU=; b=YOFx2iQZCOsGe6k3HqYRsZcjOY9ykKnJ82oVs4DDN6IgiVk4cjC+zNKSVRaVylKKw2 1nBjDJChE+N0fAWNQyf5XTHyyykyK/hVsCI1dufqjQBtw633AhWixEFD5OeKpfoz8I+6 bjIstOhgkdan8287GwEl1DXo7D7zxjdZD3hzm9+wOOGC9R6t1UJ7B2CFeVxXeNvloEfc PWiJsvljlcsSgnrYdHGwSmf411zRvGNP87NTSW6CSnmtN1FXvsdL5bnmK1dxitWG1whA Zph4JOIaJfCWkIGqBRlrs/b9/SSLmkwxpZ/jzaOPi15pgYUG/DY7OomWi4YajPL1x4HF INwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rGjkPq9g; 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 a41si62186eda.366.2019.09.19.15.14.56; Thu, 19 Sep 2019 15:15:20 -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=rGjkPq9g; 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 S2390535AbfIST5N (ORCPT + 99 others); Thu, 19 Sep 2019 15:57:13 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35390 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387854AbfIST5N (ORCPT ); Thu, 19 Sep 2019 15:57:13 -0400 Received: by mail-wm1-f66.google.com with SMTP id y21so5415559wmi.0 for ; Thu, 19 Sep 2019 12:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=X9urOrHZGeErvOkysXeQPTttflTL/sXZymWH5wMQwjU=; b=rGjkPq9gTXNG5H5IDrNT1t4pzGw3nZQ6ImJWvRyuBEA9E9wFfTCeVSFrzeBtrnkLL0 uMgvjD4/ve63doBYsK+ZSwQp1PbAAugCWZZ9Hb9dsBeUmoN5vS9Etq62RzEsuLXqCg1Q lcLbhDQPQ1TDd12wt+rOGuCV8Jtal3Lf6GUQDS3Qk7k5wRO2rrT6Bxv6OjbuhPBNuQct OFS7Q6aoibUrOoiG4ht+p4k9YDhRlVOwPn/lxUiO3IHFoRJUP1IBhcO1vzos7ZM0IdY+ W9fUqT0RX/lHhD3EBtJu7oSmJR1G2zd3+L4mgL0F+0QWmhAXJl2Vx/e9vwy71sTq2F70 4Elg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=X9urOrHZGeErvOkysXeQPTttflTL/sXZymWH5wMQwjU=; b=Ckkdiqu2dcDs32CIzAZW+z3EdbzamubN6JpNZZBn1ojcJ8cKnRTG2k8Op8mY14+7Uj Mv2wPeFLxOzThW9dDLusc3DAAXfr5AjW2Y734d6J+BU560FqlCh4cfZ31YNyJcOQuP58 psAXPUOzAq3Ae2Lucr/bcIW2so42iG8FfsraCew2Bra7aLqDcRqGQ8VCwgsQF0F0CEeu aYGaxMc2QPASymPWalb7QsCYZSgkYNHuvbFyw1RvGuVrOE7tG0eLButwKjG+HenY4bA3 SXfXH1m/uEBWC3cmSnMBIHeiOgjnvecaZkbGmxxpv1ssA3ZaHUPHuGftfy3kxs6Gce3P /ADA== X-Gm-Message-State: APjAAAVMK/EfO+cVyIASMr02KQRiw5uKk/6oAbkLX2tIQ657MNmpYXmJ gTiF3kTp3HRdzqsRdTAfFRNj9gAj X-Received: by 2002:a1c:23d7:: with SMTP id j206mr4255549wmj.57.1568923030837; Thu, 19 Sep 2019 12:57:10 -0700 (PDT) Received: from [10.161.254.11] (srv1-dide.ioa.sch.gr. [81.186.20.0]) by smtp.googlemail.com with ESMTPSA id t6sm10933145wmf.8.2019.09.19.12.57.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 12:57:10 -0700 (PDT) Subject: Re: rsize,wsize=1M causes severe lags in 10/100 Mbps To: Trond Myklebust , "linux-nfs@vger.kernel.org" References: <80353d78-e3d9-0ee2-64a4-cd2f22272fbe@gmail.com> <3d00928cd3244697442a75b36b75cf47ef872657.camel@hammerspace.com> <7afc5770-abfa-99bb-dae9-7d11680875fd@gmail.com> From: Alkis Georgopoulos Message-ID: <915fa536-c992-3b77-505e-829c4d049b02@gmail.com> Date: Thu, 19 Sep 2019 22:57: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 10:51 PM, Trond Myklebust wrote: > I don't understand why klibc would default to supplying a timeo=7 > argument at all. It would be MUCH better if it just let the kernel set > the default, which in the case of TCP is timeo=600. > > I agree with your argument that replaying requests every 0.7 seconds is > just going to cause congestion. TCP provides for reliable delivery of > RPC messages to the server, which is why the kernel default is a full > minute. > > So please ask the klibc developers to change libmount to let the kernel > decide the default mount options. Their current setting is just plain > wrong. This was what I asked in my first message to their mailing list, https://lists.zytor.com/archives/klibc/2019-September/004234.html Then I realized that timeo=600 just hides the real problem, which is rsize=1M. NFS defaults: timeo=600,rsize=1M => lag nfsmount defaults: timeo=7,rsize=1MK => lag AND dmesg errors My proposal: timeo=whatever,rsize=32K => all fine If more benchmarks are needed from me to document the "NFS defaults: timeo=600,rsize=1M => lag" I can surely provide them. Thanks, Alkis