From owner-freebsd-stable@FreeBSD.ORG Thu Jun 29 07:57:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 369AC16A4C9 for ; Thu, 29 Jun 2006 07:57:13 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF3FD4483E for ; Thu, 29 Jun 2006 07:30:10 +0000 (GMT) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 2C4484D141 for ; Thu, 29 Jun 2006 07:30:14 +0000 (GMT) Received: from vaulte.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by p4.roq.com (Postfix) with ESMTP id 96C944D142 for ; Thu, 29 Jun 2006 07:30:13 +0000 (GMT) Received: from vaulte.jumbuck.com (localhost [127.0.0.1]) by vaulte.jumbuck.com (Postfix) with ESMTP id 3615F8A064; Thu, 29 Jun 2006 17:30:08 +1000 (EST) Received: from [192.168.46.102] (unknown [192.168.46.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vaulte.jumbuck.com (Postfix) with ESMTP id 31B338A062; Thu, 29 Jun 2006 17:30:08 +1000 (EST) Message-ID: <44A3817F.4030105@thebeastie.org> Date: Thu, 29 Jun 2006 17:30:07 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20060404 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Atanas References: <20060628185426.M43909@ganymede.hub.org> <20060628225239.GA93265@dan.emsphone.com> <44A3394C.4090209@asd.aplus.net> In-Reply-To: <44A3394C.4090209@asd.aplus.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-stable@freebsd.org, freebsd@hub.org Subject: Re: em device hangs on ifconfig alias ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 07:57:13 -0000 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