From owner-freebsd-stable@FreeBSD.ORG Wed Sep 25 18:30:04 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F1157B6F; Wed, 25 Sep 2013 18:30:03 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37976298F; Wed, 25 Sep 2013 18:30:03 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id y6so191516lbh.20 for ; Wed, 25 Sep 2013 11:30:01 -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=XqjLVOmCzFfgXa1+scaABSyBrNy6SOBGHr6I3zzd7eA=; b=pF4/tX0lAhgrXA8C1GWvwQmMfyETZ6vqTBqjyU0gjq8sGRCm4f5r4eWVsKDJbSVFL9 5OEJTqjwNGfisreYsG/12AlJNUFsj06P35YECeYVURySGf+vATsdoGxWw4ctCvLaWNGN rMWcgixGcnkmcxD1a5fHq2wUHpx/jl1l2q0giE8NefGZru3gNZDDXh0D98f+CE9esrCq Fc0ClmI1CguDFoTNqvQ17my3xmSx85vDWBTOpCpCHZ0lUsNOQLO02Rdtiw5uOzb3mc/J wxjy2RNeQlH+4RIf6rErvrGq/1gK0Dufea7MHmmw1CLRYdF+k1YdtD82AWX0xn0IwYua Ms/w== MIME-Version: 1.0 X-Received: by 10.152.37.166 with SMTP id z6mr13411142laj.25.1380133801143; Wed, 25 Sep 2013 11:30:01 -0700 (PDT) Received: by 10.112.157.232 with HTTP; Wed, 25 Sep 2013 11:30:01 -0700 (PDT) In-Reply-To: References: <20130925164053.GB76403@lath.rinet.ru> Date: Wed, 25 Sep 2013 11:30:01 -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:30:04 -0000 Jack, Can you reproduce this problem yourself? Does it make sense to experience this behavior? Thanks, Rumen Telbizov On Wed, Sep 25, 2013 at 11:23 AM, Jack Vogel wrote: > > 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 >> > > -- Rumen Telbizov Unix Systems Administrator