[OpenAFS] 1.7.3 Windows 7 client explorer window delay
Jeffrey Altman
jaltman@your-file-system.com
Tue, 20 Dec 2011 12:44:06 -0500
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig29B184B845927F261DE82489
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content=3D"text/html; charset=3DUTF-8" http-equiv=3D"Content-Ty=
pe">
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
Windows 7 is a completely different story.=C2=A0=C2=A0 I have never s=
een a
delay from the explorer shell on Windows 7 and no one else here has
complained about it.=C2=A0 As I asked before, file a bug report at
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:openafs-bugs@ope=
nafs.org">openafs-bugs@openafs.org</a>.=C2=A0=C2=A0 Discussions that take=
place here get
lost and forgotten.<br>
<br>
<br>
On 12/20/2011 12:04 PM, John W. Sopko Jr. wrote:
<blockquote cite=3D"mid:4EF0C006.805@cs.unc.edu" type=3D"cite">I am
running Windows 7 with the latest patches. It will
<br>
be some time before I can troubleshoot this further on my end with
wireshark.
<br>
Got lots of year end projects to finish. Thanks for the pointers.
<br>
<br>
Jeffrey Altman wrote, On 12/20/2011 11:55 AM:
<br>
<blockquote type=3D"cite">With a non-\\AFS network share, the serve=
r
actually exists and responds to the
<br>
request.=C2=A0 Therefore there is no delay.=C2=A0 The core issue =
here is a
design
<br>
difference between XP and Vista.
<br>
<br>
In XP, when a \\server\share search is performed, all of the
network providers
<br>
installed on the machine are queried and the answer is delivered
when all of
<br>
the network providers have responded.=C2=A0 If the AFS network
provider responds
<br>
immediately and the SMB (LanMan) network provider doesn't return
for 30
<br>
seconds, the answer provided by the AFS network provider is not
delivered to
<br>
the application (e.g., explorer shell) for 30 seconds.
<br>
<br>
In Vista, when a \\server\share search is performed, all of the
network
<br>
providers installed on the machine are queried but the first
response is the
<br>
one that is used and the request of the outstanding queries are
ignored.
<br>
<br>
If the 10.254.254.253 entry in LMHOSTS is not preventing the
delays, it means
<br>
that the system believes that the net is accessible and the
LanMan network
<br>
provider is timing out trying to receive a response.=C2=A0=C2=A0 =
You can
watch this
<br>
using WireShark or Microsoft Network Monitor both of which are
free to
<br>
download and install.
<br>
<br>
There are no delays when accessing \\AFS UNC paths from the
command line
<br>
because the afsredir.sys driver has already registered all paths
beginning
<br>
with \\AFS with the Multiple UNC Provider (UNC) interface in the
kernel.=C2=A0 This
<br>
is strictly an issue with the network provider interface and
applications that
<br>
use the WNet APIs to browse.=C2=A0 This is not a problem on Vista=
,
Server 2008 or
<br>
Windows 7.
<br>
<br>
There are no changes in 1.7.4 to address this because at the
moment I'm not
<br>
sure what can be done.
<br>
<br>
Jeffrey Altman
<br>
<br>
<br>
On 12/20/2011 8:02 AM, John W. Sopko Jr. wrote:
<br>
<blockquote type=3D"cite">I have been out of town, thus the reply=
delay. I had openafs 1.5.x
<br>
installed, my lmhosts file looks like this:
<br>
<br>
10.254.254.253=C2=A0=C2=A0=C2=A0 AFS=C2=A0=C2=A0=C2=A0 #PRE
<br>
<br>
Note I had removed the loopback interface in Device Manger
after I did
<br>
the upgrade to 1.7.3 . Also I have 2 additional 10.x.x.x IP
aliases on the
<br>
interface that I use to manage various devices. I get no
timeout in other
<br>
network shares.
<br>
<br>
When we get a chance we will try another machine with a single
IP address.
<br>
<br>
<br>
<br>
Jeffrey Altman wrote, On 12/16/2011 10:57 AM:
<br>
<blockquote type=3D"cite">If you install WireShark and watch th=
e
network traffic on the machine I
<br>
suspect that you will find that the delay is being caused by
the Microsoft Lan
<br>
Manager (SMB) network provider.=C2=A0 It issues an NBNS Name
query for "AFS <20>"
<br>
and then a DNS query for "afs.<search-domain>".=C2=A0 I=
f it
gets a response to
<br>
either it then attempts an ICMP ping to the resulting
address and an NBNS
<br>
NBSTAT query.=C2=A0 Only after the LanMan provider times out =
does
it report failure
<br>
and it retries this sequence for every request.
<br>
<br>
Adding a fake "AFS" entry to the
%windir%\system32\drivers\etc\LMHOSTS file
<br>
prevents the NBNS Name queries for "AFS <20>" from
being sent.=C2=A0=C2=A0 At the
<br>
present time, the OpenAFS installer only creates such an
entry as part of
<br>
installing the Microsoft Loopback Adapter which is not
installed by default
<br>
now that the afs redirector driver is available.
<br>
<br>
Jeffrey Altman
<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
--------------enig29B184B845927F261DE82489
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iQEbBAEBAgAGBQJO8MloAAoJENxm1CNJffh4kQsH+Oz/akBUJIorjAIfuzcu0Itb
IIJ7QeT/Wh606rX5PSj588A0jlzO5e8ZdLRIk6n0/+3GCqMiE/2aq0F+8jtfBMqO
iPBCpvmPIDFuoqiuKp5VhpCGJzEGdQkBepoDBRYzDdSixrMGKF8ZAink3WbYuFmq
8yMGo2PrizFRDr39xNW2KHSdR/Uk4UsHe3gLz1BzcaP1k3cBjsrCxZBNQoO5DL7A
dTOLmplV3hOuVOxJIf7Qf7iIvHZn9w400vPYBOZ81O2UFMIEaolCJBBX6wRfhSgq
KpA1o1LteZ25OK7QDQGWjxhmuqh6UGGEi0R8f/hAubwc2pp0k0hMilKBKSnhRQ==
=EkNq
-----END PGP SIGNATURE-----
--------------enig29B184B845927F261DE82489--