Re: Network Performance?

From: Craig I. Hagan (hagan@cih.com)
Date: Mon Jan 08 2001 - 13:40:57 EST


> 101 packets transmitted, 101 packets received, 0% packet loss
> round-trip min/avg/max = 109.6/110.3/112.2 ms
>
> > Does the problem occur in both directions?
>
> Good question. I'll find out.
>
> > Are you _sure_ the window size is being set correctly? How
> > is it being set?
>
> I'm fairly sure. We echo the value to the file. catting it back
> shows the correct value. If we go lower than default, it slows
> down even more.

what are you setting it to on the solaris machine? what window
sizes have you tried?

Your pipe looks like it will have quite a few bits in flight due to its
latency. From my quick guess math, which sucks, it appears that you can fit 1.2
to 1.5 megabytes on the wire (100mbit machine<-> machine) times 100-120ms wire
time. This is a rather large number, so you may want to see what hosts really
support, perhaps starting with 64k or 128k and work up. Make sure that you have
window scaling turned on if you go with very large windows.

Also, have you upped your socket buffers to match your window sizes?

Last, solaris tends to have poorly tuned tcp values out of the box, look at
this link and tune the solaris stack to better reflect reality.
http://www.google.com/search?q=cache:www.rvs.uni-hannover.de/people/voeckler/tune/EN/tune.html+%2Bwan+%2Bwindow+%2Bscale+%2Bsize+%2Bnetwork&hl=en

linux tuning has a decent amount of data in the docs section of the kernel
sources.

-- craig

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:18 EST