Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 15:37:58 -0500
From:      "Jaime Bozza" <jbozza@thinkburst.com>
To:        "'Barney Wolff'" <barney@tp.databus.com>
Cc:        <stable@FreeBSD.ORG>
Subject:   RE: RE: Abominable NFSv3 read performance / FreeBSD server / Solaris client
Message-ID:  <027b01c2341b$29794550$6401010a@bozza>
In-Reply-To: <20020725202537.GA67713@tp.databus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, that makes sense.

What doesn't make sense is that Solaris doesn't seem to handle rfc1323
all that well (my FreeBSD-client dumps showed a sliding window and that
never happened with Solaris) and also never would advertise anything
higher than 32K unless the FreeBSD server advertised something smaller.
Almost as if they can't both be large.  I don't see any setting that
would explain why it does this.

Either way, speed with a TCP NFS mount is horrible connecting to a
FreeBSD server unless I lower rsize.

I remember Matt seeing the 1/10 second delays.  Perhaps there's a
setting on Solaris that could fix those?  I'm still going to fiddle with
it from time to time, but for now I have to work on other things. 


Jaime


-----Original Message-----
From: Barney Wolff [mailto:barney@tp.databus.com] 
Sent: Thursday, July 25, 2002 3:26 PM
To: Jaime Bozza
Subject: Re: RE: Abominable NFSv3 read performance / FreeBSD server /
Solaris client


What you're missing is that the windows in each direction are
completely independent.

On Thu, Jul 25, 2002 at 03:14:08PM -0500, Jaime Bozza wrote:
> That's a really good question.  In all my testing, I could never get
the
> Solaris server to work exactly like the FreeBSD server, nor could I
get
> FreeBSD to act like Solaris.  It seems that either FreeBSD is being
> overly aggressive and Solaris (client) isn't handling it, or the
Solaris
> TCP stack just prefers to work with other Solaris systems.
> 
> The strangest things was that, if I disabled RFC1323, sendspace=24576,
> recvspace=16384 (duplicating the defaults of Solaris 8), FreeBSD would
> advertise a small window and suddenly Solaris would request a larger
> window.  Increase the sendspace/recvspace, FreeBSD would advertise a
> larger window, Solaris would request a smaller window.  (At least
that's
> how I'm interpreting lines like this:)
> 
> 14:59:49.224575 10.1.2.10.2049 > 10.1.2.9.1000: . ack 1641422515 win
> 56148 (DF)
> 14:59:49.226192 10.1.2.9.1000 > 10.1.2.10.2049: . ack 14600 win 24820
> (DF)
> 
> Every time I changed settings on either side, I was making sure nfsd
was
> killed (kill -9) and restarted and the share remounted, so it would
> restart the connection.
> 
> I've been trying to find information on the net from Solaris groups to
> get a better understanding of Solaris' TCP stack, but haven't really
> been able to find anything out that I don't already know.
> 
> 
> Jaime
> 
> 
> 
> -----Original Message-----
> From: David Schultz [mailto:dschultz@uclink.Berkeley.EDU] 
> Sent: Thursday, July 25, 2002 1:37 PM
> To: Jaime Bozza
> Cc: 'Matthew Dillon'; stable@FreeBSD.ORG
> Subject: Re: RE: Abominable NFSv3 read performance / FreeBSD server /
> Solaris client
> 
> 
> Thus spake Jaime Bozza <jbozza@thinkburst.com>:
> >    I also installed tcpdump on the Solaris system so I could look at
> > dumps between Solaris to Solaris and compare.  From that, I noticed
> the
> > Solaris server advertises a much smaller (around 24k) window no
matter
> > what, even with the client advertising something higher.  (I tried
> > setting xmit_hiwat in the startup scripts and restarting the Solaris
> > server to assure the setting was changed before the nfs daemons came
> > online) I may still not be getting the settings correct, but I'm at
a
> > loss at what I'm missing.
> 
> Now I'm curious.  What is it that makes Solaris<->Solaris
> performance good despite the TCP breakage?  If the server always
> advertises a tiny window, performance ougut to be equally bad when
> talking to Solaris or FreeBSD.  I've seen threads about this
> problem before on the lists, and I don't recall anyone coming up
> with a real answer.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
Barney Wolff
I never met a computer I didn't like.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?027b01c2341b$29794550$6401010a>