Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 06:29:29 +0930 (CST)
From:      Richard Sharpe <rsharpe@ns.aus.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        <freebsd-hackers@freebsd.org>
Subject:   Re: Adding readdir entries to the name cache ...
Message-ID:  <Pine.LNX.4.33.0207060623310.3806-100000@ns.aus.com>
In-Reply-To: <3D2504DC.36D046D7@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0207060623310.3806-100000>