From owner-freebsd-stable Sat Jul 6 14:54:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A55237B401 for ; Sat, 6 Jul 2002 14:54:50 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6B7343E31 for ; Sat, 6 Jul 2002 14:54:49 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g66LsmT78933 for ; Sat, 6 Jul 2002 14:54:48 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 06 Jul 2002 14:54:48 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: stable@freebsd.org Subject: NFS errors at high hz values with TCP mounts Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am seeing some strange NFS client behavior on a 4.6-stable system running at hz=10000. The system is plenty fast enough for this hz value, and everything else has been working great for months in this configuration. I set the hz value in /boot/loader.conf like this: kern.hz="10000" Here's what happens when I try to copy a 512 kbyte file from the hz=10000 client to a server that is NFS-mounted: thin$ dd if=/dev/zero of=/mnt/foo count=1000 dd: /mnt/foo: Resource temporarily unavailable 61+0 records in 60+0 records out 30720 bytes transferred in 0.000996 secs (30843571 bytes/sec) This is completely repeatable. It only happens when hz is set high and a TCP mount is used. If hz is reduced to the default of 100, the problem does not occur. Likewise, if a UDP mount is used the problem does not occur. With TCP mounts, it happens whether NFS version 2 or version 3 is used. The "soft" and "intr" options don't make any difference. Copying a file in the other direction, from server to client, works fine. Any ideas? John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message