dai wenjun wrote:
> Now what I should do to increase recevie bandwidth with aggregation. I have 
> two nic cards as a aggregation,but I get a slow bandwith below one nic's.

Receive bandwidth is generally in the hands of your link partner -- it's
the system you're connected to that must choose which links to send
packets towards the OpenSolaris system.  There's no way for the receiver
to "ask" to have packets on any particular link.

Look at the packet counts.  If you see unusually unbalanced traffic in
one direction or the other, then that's a sign that the transmitter of
that traffic isn't hashing out the flows well.

Once you get to that point, make sure that the senders have hashing
configured properly.  It should default to L2/L3/L4 on OpenSolaris, but
other systems may be different.  It does not need to be the same on each
end of the link.  It *should* be set up so that each end uses as much
information as possible when computing the hash.

If that's not getting it, then there are two possibilities: either
there's a bug that's causing poor hash results or you're just unlucky.
Hash results (which determine the link to use) are in part just luck.
It's a statistical mechanism that does well in large numbers (with
_many_ connections over time), but often not with very small numbers.

If you believe it's a bug, then you'll need to collect a fair amount of
statistical information.  I'd use something like Wireshark to gather
packets over time and find out what Ethernet addresses, IP addresses,
and transport layer port numbers appear on which link over time.  That's
what you'd need to build a case that there's really something wrong.

Or just file a bug and hope that someone else is interested in it.

-- 
James Carlson         42.703N 71.076W         <[email protected]>
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to