From owner-freebsd-fs@freebsd.org Wed Apr 4 20:04:25 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5444F7237A for ; Wed, 4 Apr 2018 20:04:24 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A80870E89 for ; Wed, 4 Apr 2018 20:04:24 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id g8so321515wmd.2 for ; Wed, 04 Apr 2018 13:04:24 -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-transfer-encoding:content-language; bh=pcgMpPAI+kRcmUkvhOQaS74xtU5mHblGBD/yQvzkcio=; b=IhaWH/E4EVN5wG/BKp3HGH4DP01JofbysVs8/eghI6UeXbCXSXW7EsbF7C/5F3NmaN TKcFrYfkqCwcHxLha//4r4uuy3PCB8LruDBqD4aTKr3tHBjpUO8evnAAYhZHKeLJFOxc ekmX8OdYcW9g4RNaVAd+vReO8SUnm1UJgvR620yJd6JMObjdlnyxJwJLUsNYLeOk6HmS /bRaQtd+SeNovLyZ5BvrH2I5VtIFxnTldXvaIzLyShEccDG3eq59Rt6dBXzUfzGKfDc9 10bHkDAzXMeU3V06QqB0uRDmJOWsYtXUfYmZSyfnwnQTSiTlbfJFP/kCFA4IFrvP/BvH aThA== 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-transfer-encoding :content-language; bh=pcgMpPAI+kRcmUkvhOQaS74xtU5mHblGBD/yQvzkcio=; b=IkA8UuxK9SvC+/IVuCVsgcfymbKT+mxMLuL9L2hHkSml4ChbmHmPjv0P2hNQvFn9IX zzVV6p74lU9h3724Ms7zPNw79Yl40h48tKFHXnFF0qyNLxqm7VzlovFWZMAqnWz/9OPm Iypcr0QBtqZjpDjQIIcQRMeLiSSgyKRh3yPMI7pxBMZBE1dDXOyfT++nT4wFcQrXgS4y Mx+JBOZwlYx4v8QLO09OV/35pKPw+D5Z4rVdGomtIC5lS49YyyIGFX2WJkB9oYp44ZdQ ClvyUqBhoAn8/EprVWNNdsDkCg90vwjYXaK3mG5+ulBtV9tfS5OW7ZVdKNPVqffzy8ut qB4Q== X-Gm-Message-State: ALQs6tD8LbaDMn4n/HHgFQO6JvvhNKIosdzeZ8tNUSKEGIrAtuu99Pzd xybK/sW6tF+rSQ8yojYy7fTTzqHr X-Google-Smtp-Source: AIpwx48LEoWcGN8egMID2noZnYAniSN6mnNM8OAJpLX8DlssltTOY8ecUBbgc/NTNJJ5/vXuzY9HXA== X-Received: by 10.28.124.13 with SMTP id x13mr7671588wmc.71.1522872263028; Wed, 04 Apr 2018 13:04:23 -0700 (PDT) Received: from Sting-Ray.optiplex-networks.com (optiplexnetworks.plus.com. [212.159.80.17]) by smtp.gmail.com with ESMTPSA id d48sm9582519wrd.12.2018.04.04.13.04.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 13:04:22 -0700 (PDT) Subject: Re: Linux NFS client and FreeBSD server strangeness To: =?UTF-8?Q?Karli_Sj=c3=b6berg?= , freebsd-fs@freebsd.org, Mike Tancsa , Guido Falsi References: <369fab06-6213-ba87-cc66-c9829e8a76a0@sentex.net> <2019ee5a-5b2b-853d-98c5-a365940d93b5@madpilot.net> From: Kaya Saman Message-ID: <4da08f8b-2c28-cf18-77d2-6b498004d435@gmail.com> Date: Wed, 4 Apr 2018 21:04:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 20:04:25 -0000 I also see this behavior between Linux and FBSD. Yep my server does run ZFS however, when using FreeBSD as a client I am able to use NFSv4 without any problem however, with Linux I get many timeouts so I switched to v3 which gives smoother performance at least on the read side. It is however, not possible to use the FBSD machine as an nfs /home directory as the Linux client will lock up and wait for a long time while certain files from Window Managers etc.... get written/read. For this reason I switched over to using iscsi and a ZFS udev. I think I posted a similar topic ages ago but got no response. It would be interesting to see the cause for this. I have a hunch it could be something to do with the nfs implementation of Linux but it is just pure conjecture on my side. Regards, Kaya On 04/04/18 20:44, Karli Sjöberg via freebsd-fs wrote: > > Mike Tancsa skrev: (4 april 2018 21:24:59 CEST) >> On 4/4/2018 3:04 PM, Guido Falsi wrote: >>> https://wiki.freebsd.org/ZFSTuningGuide >>> >>> in the NFS tuning section. >>> >>> >>> If you're not using ZFS I don't have an idea right away what your >>> problem could be. >> Thanks, same sort of bursty traffic patterns with a ufs filesystem. I >> just tried with a spare disk I made into a UFS2 partition and exported >> it to the linux client. >> >> Also no difference if I disable sync for the underlying file system >> when >> using zfs. > Darn, would have been my bet as well:) > > Although I understand it might be difficult for you, it would be interresting to know if a FreeBSD client exhibits the same behaviour. It may be a client problem instead of the server? > > /K > >> >> >> ---Mike