Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 17:02:20 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        freebsd-small@freebsd.org
Subject:   Re: NFS root and unnecessary NFS operations
Message-ID:  <20020426170220.A2475@linnet.org>
In-Reply-To: <20020425174139.A871@linnet.org>; from B.Candler@pobox.com on Thu, Apr 25, 2002 at 05:41:39PM %2B0100
References:  <20020425174139.A871@linnet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 25, 2002 at 05:41:39PM +0100, Brian Candler wrote:
> (3) Another test, just open /bin/rm for read:
> 
> # perl -e 'for ($i=0;$i<1000;$i++) { open F,"</bin/rm"; $x=<F>; close F;}'
> 
> # tcpdump -n -i fxp0 udp port 2049 >/dev/null
> tcpdump: listening on fxp0
> ^C
> 2014 packets received by filter
> 0 packets dropped by kernel
> 
> That's part-way between. It looks like I am getting one packet exchange each
> time the file is opened:
> 
> 17:25:53.015554 192.168.0.91.649103617 > 192.168.0.1.2049: 108 access [|nfs]
> 17:25:53.015698 192.168.0.1.2049 > 192.168.0.91.649103617: reply ok 120 access c xxxxxxxx

FYI, I've just brought everything up to FreeBSD-4.5-STABLE-20020426-JPSNAP
and it's exactly the same.

Regards,

Brian.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426170220.A2475>