From owner-freebsd-hackers Fri Jul 5 12:47:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 450D337B400 for ; Fri, 5 Jul 2002 12:47:28 -0700 (PDT) Received: from ns.aus.com (adsl-64-175-247-226.dsl.sntc01.pacbell.net [64.175.247.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48CAE43E09 for ; Fri, 5 Jul 2002 12:47:27 -0700 (PDT) (envelope-from rsharpe@ns.aus.com) Received: from localhost (rsharpe@localhost) by ns.aus.com (8.11.6/8.11.6) with ESMTP id g65KxTj03853; Sat, 6 Jul 2002 06:29:29 +0930 Date: Sat, 6 Jul 2002 06:29:29 +0930 (CST) From: Richard Sharpe To: Terry Lambert Cc: Subject: Re: Adding readdir entries to the name cache ... In-Reply-To: <3D2504DC.36D046D7@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 4 Jul 2002, Terry Lambert wrote: > Richard Sharpe wrote: > > Note that you can get another 8-12% by making negative cache entries, > since DOS/Windows clients tend to search the full path each time, > even though they have already received a successful response in > the past (i.e. there is no client caching for this information, > because there is no distributed coherency protocol that would permit > server invalidation of the cache). Unmodified, SVR4 DNLC can not > support negative cache entries (there need to be two line changes). Hmmm, I think that the major part of the problem there was that, for what ever reason, Barry Feigenbaum of IBM, declined to add a Change Working Directory or Set Working Diretory command to the SMB protocol. Thus, at least for the SMB protocol, and maybe generally, Windows clients must always send the full pathname for every file they want, unless it happens to be at the root of the share. Perhaps I am wrong about that. Regards ----- Richard Sharpe, rsharpe@ns.aus.com, rsharpe@samba.org, sharpe@ethereal.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message