From owner-freebsd-net@freebsd.org Fri Aug 31 07:44:19 2018 Return-Path: Delivered-To: freebsd-net@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 175C1F76C1D for ; Fri, 31 Aug 2018 07:44:19 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B80FE86AEC for ; Fri, 31 Aug 2018 07:44:18 +0000 (UTC) (envelope-from pi@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 77DB1F76C19; Fri, 31 Aug 2018 07:44:18 +0000 (UTC) Delivered-To: net@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 66455F76C18; Fri, 31 Aug 2018 07:44:18 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0202C86AE7; Fri, 31 Aug 2018 07:44:18 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fve6L-000D3X-TY; Fri, 31 Aug 2018 09:44:17 +0200 Date: Fri, 31 Aug 2018 09:44:17 +0200 From: Kurt Jaeger To: current@freebsd.org, net@freebsd.org, Kurt Jaeger Subject: Re: NFS via IPv6 between 11.2-REL amd64 and larger (>45 files) directories? Message-ID: <20180831074417.GY2118@home.opsec.eu> References: <20180827155651.GW2118@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180827155651.GW2118@home.opsec.eu> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 07:44:19 -0000 Hi! As Rick told me there's a ongoing debate on this, here's a copy from my mail to stable@: I've seen a strange effect: NFS via IPv6 between 11.2-REL amd64 boxes failed for directories with more than 45 files or directories. Small directories worked. It seems to be an issue with ipv6 fragmentation (?), as can be seen by tcpdump: 17:54:16.855978 IP6 nfs-serv > nfs-client frag (0|1448) 2049 > 709: NFS reply xid 1536109002 reply ok 1440 readdir 17:54:16.855979 IP6 nfs-serv > nfs-client frag (1448|36) As soon as the NFS request is sent with fragments, it stalls. Using TCP or IPv4 for the nfs mount works, UDP fails. -- pi@FreeBSD.org +49 171 3101372 2 years to go !