From owner-freebsd-stable@FreeBSD.ORG Wed Sep 25 18:23:52 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 CC9D39D0; Wed, 25 Sep 2013 18:23:52 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [IPv6:2607:f8b0:400c:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76B302939; Wed, 25 Sep 2013 18:23:52 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id jy13so39660veb.19 for ; Wed, 25 Sep 2013 11:23:51 -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=Ya1fOe4KvEUq2g61Wt7EoprwQpvdJJAzUnRBHUJM0mk=; b=Ww8/sSYAIdpuuf5yaU6K3aCayoWkl+fP5PRHtJZi0bT4Y+r+vwp4M8nSNjWrcVrWxc OMkqfhyNHat8S9nunAksONKpoGyapzWQnM2eWHzkcI3skJyQGDzGi9zUh3uEB7o7Xe9n IL3su6LwOTu0A3MpX8mxOggjOdOxSOnASu4vsbV+A5hMuPjxVbTdsBtT17xlFLkLoOEI /OV9DIDUMopJb8hT1H7US+ZQti5Ae/9T2l98uVHYdNmJ0Ym52uEyVE25/E98NSLkAzmZ YLheFZUJP0qwAlW5it+6m6dX1bK4mrPQuD00VkEWMaaELTZApDuhslD4Sb9tL2xLENTr mHVw== MIME-Version: 1.0 X-Received: by 10.58.75.18 with SMTP id y18mr1708566vev.33.1380133431520; Wed, 25 Sep 2013 11:23:51 -0700 (PDT) Received: by 10.220.159.141 with HTTP; Wed, 25 Sep 2013 11:23:51 -0700 (PDT) In-Reply-To: References: <20130925164053.GB76403@lath.rinet.ru> Date: Wed, 25 Sep 2013 11:23:51 -0700 Message-ID: Subject: Re: FreeBSD 9.1 ix driver vlan problem From: Jack Vogel To: Rumen Telbizov 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:23:53 -0000 Thanks for the investigation, I guess what I'm wondering the most right now is if the patch from Oleg is a good change in general, so any others that can test and give me results would be appreciated. Thanks, Jack On Wed, Sep 25, 2013 at 11:14 AM, Rumen Telbizov wrote: > 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 >