From nobody Sun Feb 25 00:18:25 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tj49654wxz5BtlT for ; Sun, 25 Feb 2024 00:18:34 +0000 (UTC) (envelope-from h2+lists2024@fsfe.org) Received: from mail3.fsfe.org (mail3.fsfe.org [IPv6:2a02:16d0:1004:5a00:f5f3::90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tj49400Ykz4nv0 for ; Sun, 25 Feb 2024 00:18:31 +0000 (UTC) (envelope-from h2+lists2024@fsfe.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fsfe.org header.s=2023072501 header.b=FakwkyCE; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (mx1.freebsd.org: domain of h2+lists2024@fsfe.org designates 2a02:16d0:1004:5a00:f5f3::90 as permitted sender) smtp.mailfrom=h2+lists2024@fsfe.org Message-ID: <034cc6ea-26d8-4520-879a-672459832407@fsfe.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2023072501; t=1708820320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U93Yn1Tpr7aBOrRF1FUDXGXztw0MHZjGDJrUqf0x12g=; b=FakwkyCEMOrnB1edk76tnujWN9x+FbJex9JCqWWJqJDkIjN0P8OeH+2+xGXRcP7r+ZIPT/ OqZk0upm8pebC3b5nveQFhXdug0F+A0wIMiQsEiq83VebYs/SNswS/GBrgiubveKDwmWwg nQDBDR7vJOP7SALwvctRGdWm4ktYwCs= Date: Sun, 25 Feb 2024 01:18:25 +0100 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-net@FreeBSD.org Content-Language: en-US From: Hannes Hauswedell Subject: NFS performance with 10GBase-T Organization: Free Software Foundation Europe Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.49 / 15.00]; DWL_DNSWL_HI(-3.50)[fsfe.org:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[fsfe.org,none]; R_DKIM_ALLOW(-0.20)[fsfe.org:s=2023072501]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:49855, ipnet:2a02:16d0::/32, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a02:16d0:1004:5a00:f5f3::90:from]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_FROM(0.00)[lists2024]; MLMMJ_DEST(0.00)[freebsd-net@FreeBSD.org]; DKIM_TRACE(0.00)[fsfe.org:+] X-Rspamd-Queue-Id: 4Tj49400Ykz4nv0 Hi everyone, I am coming here from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=2771971160 TL;DR: * I have a FreeBSD14 Server and Client with an Intel X540 (ix) adaptor each. * I am trying to improve the NFS throughput. * I get 1160 MiB/s via nc, but only ~200 MiB/s via NFS. * Increasing rsize and wsize to 1 MiB increases throughput to 395 MiB/s * But a Linux client achieves 560-600 MiB/s with any rsize. * The mtu is set to 9000 but this doesn't make a difference for the FreeBSD client (it does make a difference for Linux). I assume < 400 MiB/s is not the expected performance? Do you have any advice on debugging this? Thank you for your help, Hannes