Re: em device hangs on ifconfig alias ...



Atanas wrote:

Dan Nelson said the following on 6/28/06 3:52 PM:

In the last episode (Jun 28), User Freebsd said:

has anyone figured out why the em device 'hangs' for about 30-45
seconds whenever you ifconfig alias a new IP on to the device?


The em driver resets the card when you add an IP to it, and unless
you've configured your switch not to autodetect fancy features on that
port, it may very well take 45 seconds for it to come up.

For me the em reset actually takes about a second or so per single IP alias. But more aliases you got, longer the timeout becomes. In case you have hundreds (like I do), a single reboot might cost you something like 10-15 minutes of downtime, just for the aliases to come up.
Does anybody know a better NIC driver alternative when dealing with lots of IP aliases?


Regards,
Atanas

_______________________________________________

For me its IP alias additions take 1 or maybe 2secs, but it is noticeable, but really isn't an issue for me.

As far as I have noticed the em driver in 6.1 after being rebuilt is at its peak of driver quality, so much in fact that since 6.1 its recommended not to even bother with polling with em if you need maximum network performance as it won't go any faster, the em driver for 6.1 got very large performance improvement compared to older em driver versions before 6.1-release, which I suspect got over hacked over time.
I am pretty sure I used to only be able to get 200,300mbits/sec max but now I can get up to 850mbits on some and on the lowest side 500mbits/sec on others which I suspect is due to cable quality etc.
I am just thankful for it working as it is.

Mike


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



Relevant Pages

  • Sound, dual soundcards, second attempt (better I hope)
    ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... Journalled Block Device driver loaded ... usb.c: new USB bus registered, ... alias char-major-10-175 agpgart ...
    (comp.os.linux)
  • Re: Starting a driver
    ... Please do not send e-mail directly to this alias. ... msvad to know if you can do what you want, but the underlying bth radio will ... >> the bluetooth stack "starts" the btaudio driver by enumerating the>> audio ...
    (microsoft.public.development.device.drivers)
  • Re: DDK bug? moufiltr installation
    ... Please do not send e-mail directly to this alias. ... > I will also try the lower filter option. ... > server DDK) but not hidclass source code. ... Where can I get hidclass driver ...
    (microsoft.public.development.device.drivers)
  • Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver
    ... drivers/scsi/ipr.c just uses a plain ... I'm pretty sure that no ppc64 machine needs alias resolution in the kernel, ... flushes cache lines that are accessed through aliases. ...
    (Linux-Kernel)
  • Re: IOCTL_MOUSE_QUERY_ATTRIBUTES usage?
    ... Please do not send e-mail directly to this alias. ... I tried that but bResult came ... > actual control codes to the mouse driver to change certain settings. ...
    (microsoft.public.development.device.drivers)