From owner-freebsd-current@FreeBSD.ORG Mon Mar 8 03:40:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7636D16A4CE for ; Mon, 8 Mar 2004 03:40:55 -0800 (PST) Received: from vhost109.his.com (vhost109.his.com [216.194.225.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9178B43D2F for ; Mon, 8 Mar 2004 03:40:54 -0800 (PST) (envelope-from brad.knowles@skynet.be) Received: from [10.0.1.4] (localhost.his.com [127.0.0.1]) by vhost109.his.com (8.12.6p3/8.12.3) with ESMTP id i28Belxe073990; Mon, 8 Mar 2004 06:40:49 -0500 (EST) (envelope-from brad.knowles@skynet.be) Mime-Version: 1.0 X-Sender: bs663385@127.0.0.1 Message-Id: In-Reply-To: <200403080825.i288Pg6B017066@apollo.backplane.com> References: <40446EF2.5020901@alumni.rice.edu> <200403080825.i288Pg6B017066@apollo.backplane.com> Date: Mon, 8 Mar 2004 12:37:39 +0100 To: Matthew Dillon From: Brad Knowles Content-Type: text/plain; charset="us-ascii" ; format="flowed" cc: freebsd-current@freebsd.org Subject: Re: patch for Linux NFS client X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 11:40:55 -0000 At 12:25 AM -0800 2004/03/08, Matthew Dillon wrote: > Even so, it might be a good idea for us to use a significantly larger > soreserve value, or to increase the buffer limit when a large data > block size is negotiated. Instead of adding a slop of 2048 > (aka 32768 + 404 + 2048 = 35220 bytes) it might be better to set > the soreserve value to 65535 by default. Out of curiosity, is it possible to set this value to be twice the negotiated block size? > Generally speaking the TCP buffer ought to be large enough to buffer > at least two full-sized NFS data packets to reduce NFSD interlock > stalls when combined with read-ahead. That's exactly what I was thinking. Hence my question. -- Brad Knowles, "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+ !w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++) tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)