From owner-freebsd-stable@FreeBSD.ORG Wed Sep 25 18:14:41 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 741E02EC; Wed, 25 Sep 2013 18:14:41 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AF8D32844; Wed, 25 Sep 2013 18:14:40 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id y6so171342lbh.35 for ; Wed, 25 Sep 2013 11:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yrUwHPpRHoLkMH1YiByqKlISq6H7yDzFuIySz14RTmk=; b=p8xaOso1uxeDGXCDtLKQJfSf07LJkigdlbg3eqYt47gzt580ztpEGGPE+eZ8fovoe3 MP+3+C2rA6Fzzu9xVhabhvg627mQKZPJLNhNMXS/XqiARMonYuja8TOtGiN+K1dvEut8 KS/c2RX+j0pfUxOfT3LaPQRthmwa81RJ4hLOu72U6t4OcGzIsKpJI4nd5iYDOc9xYNfq 5UcbhniXGqvEFwEx+qNK80CPVFsac4xEv0zQ++jnkJnHBYbVfSI6vjsUGoYY33Y8FfMh BarEY19XFMWz0Lxr6l/PhFSoMyNvyY3MKcQLfCk8aMdj3HPdHn1TAy4ChYGW1Op77eDL 8Ing== MIME-Version: 1.0 X-Received: by 10.112.198.39 with SMTP id iz7mr387128lbc.24.1380132878685; Wed, 25 Sep 2013 11:14:38 -0700 (PDT) Received: by 10.112.157.232 with HTTP; Wed, 25 Sep 2013 11:14:38 -0700 (PDT) In-Reply-To: References: <20130925164053.GB76403@lath.rinet.ru> Date: Wed, 25 Sep 2013 11:14:38 -0700 Message-ID: Subject: Re: FreeBSD 9.1 ix driver vlan problem From: Rumen Telbizov To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-stable@freebsd.org" , Oleg Bulyzhin , Jack Vogel , andree@opendns.com X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 18:14:41 -0000 Hi Jack, Thanks for the suggestions and looking into this. Here are a few additional bits of information that you requested: 1. We did disable spanning tree on the switch port and the result of that is that basically now creating/destroying a vlan on the ix interface makes it freeze for about 3 seconds from previously 6. 2. I brought manually the physical interface down (ifconfig ix1 down) and then up and measured the time it took for the interface on the switch to show as up - and that was again about 3 seconds. So basically it seems to me like that's how long it normally takes for a link to be negotiated. 3. We tweaked a setting on the switch which instructs the port to be down for 5 seconds before it's considered down. Then repeated the test again and the result was that now the "freeze" period got reduced to 1.5 seconds and no ping packets were lost but one of the packets returned with 1500 ms delay. My guess on this one is that since the switch ignored the flapping of the interface, bringing it back up was much faster. So it does mask the problem somewhat but it is still there - the interface seems to go down. Next steps: 1. I will reinstall this machine with the latest 9.2 and repeat the tests see what happens. 2. If the previous one fails - I'll try the patch that Oleg sent. Thanks a lot for providing that patch. I'll update this list with more findings. Thank you, Rumen Telbizov On Wed, Sep 25, 2013 at 10:01 AM, Jack Vogel wrote: > Rumen, > > I'd like to know if you can check the spanning tree setting as Daniel > mentioned and if that solves it, > I do know that that can cause considerable delay in link transitions. > Also, can you see if you see > different behavior by going to the latest 9.2 bits? > > Oleg thanks for the patch, I will check it out and have my validation > engineer do some tests and > we'll get to the bottom of this. > > Jack > > > > On Wed, Sep 25, 2013 at 9:57 AM, Rumen Telbizov wrote: > >> Thanks for the patch Oleg. >> I'll give it a try but I would also like to hear back from Jack. >> >> Oleg, can you confirm that you're experiencing the exact same >> problem/behavior? What kind of switch is connected on the other end? >> >> Thanks, >> Rumen Telbizov >> >> >> On Wed, Sep 25, 2013 at 9:40 AM, Oleg Bulyzhin wrote: >> >> > >> > I'm running my ixgbe servers with attached patch. >> > It does solve this problem for me. >> > >> > -- >> > Oleg. >> > >> > ================================================================ >> > === Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- oleg@rinet.ru === >> > ================================================================ >> > >> > >> >> >> -- >> Rumen Telbizov >> >> Unix Systems Administrator >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > > -- Rumen Telbizov Unix Systems Administrator