Re: em0 and tunnel performance problem



> after digging deeper it found out that the whole em0 driver worth
> nothing... when i set the media to auto it's operating in half
> duplex (i found out after a couple of benchmarks with iperf), when i
> set it to 100basetx and full duplex manually the result is worse...
> any idea?

Explicitly set the port speed on both the switch and client side, then
report back to the list. As it stands, your environment is not setup
correctly, but this kind of misconfiguration seems to be a common
source of performance problems for some admins.

You can *never* rely on, or use auto negotiation. Its very common to
have the switch be set to auto, the PC to be set to 100 FDX, and have
the switch settle on 100 half-duplex (Cisco switches in particular).
netstat -i will probably show you that you have line errors on your
em0 interface. If you're running on Cisco switches, see the
following:

http://www.cisco.com/warp/public/473/3.html

If you're using a different brand of switches, see their respective
documentation. Point being, auto-negotiation should never be used in a
production environment (though GigE handles this better). -sc

--
Sean Chittenden
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: XP very slow to write data in a W2k share
    ... For the server and the W2k workstation, i can change parameters, but they ... Server NIC | Switch Port | Switch Port | Workstation ... Auto / Auto. ... | Auto/Auto | Auto/Auto ...
    (microsoft.public.windowsxp.network_web)
  • Re: Slow network performance
    ... Managed Switch A ... both switch and bge/em card set for auto negeotiation ... This is required especially if the host doesn't support auto negotiation and you want to run at full duplex. ...
    (freebsd-stable)
  • Re: XP very slow to write data in a W2k share
    ... Server NIC | Switch Port | Switch Port | Workstation ... Obviously someone did, default is Auto / ... Here are the tests for XP workstation: ... Mak, in my case, i've tried many combinations, the server and the W2k ...
    (microsoft.public.windowsxp.network_web)
  • Re: Slow network performance
    ... This sounds like your switch and host settings are correct so I wouldn't spend too much more time looking at that at this point. ... both switch and bge/em card set for auto negeotiation ... This is required especially if the host doesn't support auto negotiation and you want to run at full duplex. ...
    (freebsd-stable)
  • Re: Slow network performance
    ... Although I don't think this is necessarily the cause of your dropouts as you put it, one must understand the way autonegotiation and manual speed and duplex work between network gear. ... If your host doesn't support auto, ... When connecting to a managed switch, enable portfast or the equivalent spanning-tree command on the switch port your host is connected to so it forwards traffic immediately when getting link. ...
    (freebsd-stable)