From owner-freebsd-net@freebsd.org Mon Apr 16 22:54:25 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4788F841CD for ; Mon, 16 Apr 2018 22:54:25 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F9C07AEBD for ; Mon, 16 Apr 2018 22:54:25 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-io0-x22c.google.com with SMTP id k8so9287077ioc.2 for ; Mon, 16 Apr 2018 15:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=amO47hlx2rm+pUpFw8AjLItF+SD2V5cvp5Rd4tr5MuI=; b=nTGqZkmhK0pgP3N/QrZhDIwCPodUPI28e3ecd2+oWate0/IacpZ7K9aBORpBj8d2Kc Ya+J59vL9hA+2AZ3qLcYRLQTfE3VH7K36lI314GiNDHLbfQjDv3iW52vyCAF/fZIhj2F oHOJ5KuP9K1oXHnj9B8OFevijXIElBxlAlx0JRiXRe5PulT51d/dY2xir0pB34XM4EBu gt1JTAIFq+RPf216E7K/oht+bKwcEnWdBTAoVeVNnZD6NX8zkQxbzYUuc/HoM+UMTgvq vqDPsImhzrLUWwDmkKAh41JhlW7HS5EPixvBR6JJTNJ2rxtLDMXoaG50GHE7HeCwmbzt u4IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=amO47hlx2rm+pUpFw8AjLItF+SD2V5cvp5Rd4tr5MuI=; b=qajcygBhQ9Pajy2wMURseegoPyeZyFAuFvdnQj8i6uFMT71Ogse4dWR5sVeJUWed4l E8DLcra+PU12pMDCrzN7t8TDm4yBHY5sLmFjEUKxnFxfgAEjUQ4r+ClbesedbB58mhzW jOzCzx9DrUnSXt1kugy0Xp0l1zcnDR7q3mnMwdXRPEQVx7GckEJkerVSl1xEouaJrL4b RZocr0DpK7Of0vvgQfwKkEIH7VmuHjOki7K2dKspp71ZJXxreN70V+5vrHrkmvysvKVA 7LiG377r3Dr6TAPJQ49cI+0KGT8K29uh2yuEY7eXXk3XfFdChTMkS/Qrlp2aU2ABkOX9 YQjQ== X-Gm-Message-State: ALQs6tAxGbBR+ziG+i7mPKdxq9UigM4Zv02z2XWLLwlnowNBYPRQ6JHG Mw2XAkyzGQ53AqbX/5qvpJ3kisae1I4EWOWF4+RGvA== X-Google-Smtp-Source: AIpwx4+MAAacd43w4aym9deFmZumxotPyTZDi9VJnFpj4YXztxXYnnVhhsFB036w87P/sHpUXV/US8eAvJHWoJW37hc= X-Received: by 10.107.147.4 with SMTP id v4mr26325865iod.68.1523919264112; Mon, 16 Apr 2018 15:54:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.39.210 with HTTP; Mon, 16 Apr 2018 15:54:23 -0700 (PDT) In-Reply-To: <20180416082736.GB48822@tom-desk.erg.abdn.ac.uk> References: <20180416082736.GB48822@tom-desk.erg.abdn.ac.uk> From: Lee Brown Date: Mon, 16 Apr 2018 15:54:23 -0700 Message-ID: Subject: Re: QOS/TOS in carp/freebsd in general To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 22:54:26 -0000 On Mon, Apr 16, 2018 at 1:27 AM, Tom Jones wrote: > On Sun, Apr 15, 2018 at 04:30:45PM -0400, Nick Wolff wrote: > > Hi, > > > > I currently have a review in to make carp use dscp values on outgoing > > packets. This will make it easier to preform QOS on modern switches as we > > have been able to drive carp insane on 10g links while throwing storage > > traffic at it.On an interesting side note apparently after 64k mac > address > > moves for a single mac address in the cam table arista 7050t seems to > with > > out warning give up and stop moving address but leaves it in the table > > where ever it last was. > > > > I was originally going to just toggle between cs7 and the old TOS low > delay > > setting. But it was requested that I just make it a settable Integer > value. > > In this case I'm planning to do 0-63 to match dscp with a default of 54 > > (CS7) (Network Control) but you could still set the old value by setting > > the sysctl to 4. Anything larger then 64 would be truncated as two shifts > > are needed to align with the field leading. > > > > Does anybody do anything anywhere with the old TOS values like low delay > in > > there networking infrastructure? Should this be updated in other places > in > > kernel and userland? It's been 20 years since TOS was deprecated and > > replaced with DSCP. > > > > Any other comments or thought are always welcome. > > You can already do this with ipfw? setdscp cs7 from me to 224.0.0.18