From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 011283B2A3 for ; Mon, 30 Jan 2017 12:00:43 -0500 (EST) Received: by mail-qt0-x229.google.com with SMTP id x49so208373596qtc.2 for ; Mon, 30 Jan 2017 09:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kriskinc.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4N+MvlbPtUqsbaN5CSsOBv+w57RVMThWXk4ixchCJNg=; b=BFOBdv+onKoXVUKvInVYMZNqpQ+U561t3QMC6hKd1JTgEUqv2pqZf7e1Xq0WWbcSap Rq9/G8ig+0d3jqde4AAr/7ipCjnWIjAFek/KH8EHpqgdI9r2hWRe/hbPBX7QpNoCVVh1 J+aV6Ob6meFQhiBHS/I8PwF52c7CcjwLfJcuLbhctargi5Hh9VA9a6eY5eXrRMF1QeO4 CTrErufRl9/rXhDH0usk8tHKZvaZi9vNkh/zSQflvMJmqX+8apMad5lQhHJDRWvzZ8XF W2ZrDqNBqi2JCUlgzq46+QXrs2Xei0+oi2HI0l1BfOZucD2T63CBXHZYbHA8XE1pxQNv DHZw== 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:cc; bh=4N+MvlbPtUqsbaN5CSsOBv+w57RVMThWXk4ixchCJNg=; b=mrT1Ln5XBvZiqKNK7i5q3w8/Lmgn7uWj/Y5Io+fMwINF6cks+MR2atomZYlbEvvLi7 J2hItNMZpNUi6GZLlTHhvbYQItFWMBveczpOF74Rrm1Ec2h748yz6kFqWxEH7WY+wQ4W vxDOnX5ZogDxgDzeKZBxUHC/lDCFuiqcKt4wcGm/vAa78mhZJ8slFOytYmDw+IpHapeL AErX0TN3hVpva6vpGSPc/3FSiFuNRuQVi03mF7ludR5M3Jkc5bSQk2cGeMxTFmnKEUjH giKfh9RywzUM39BYUpiRMLe43zbiWwLEfTk3WizeBs9VwxGZx2LV01hy8fSQLiqzjAtP EZtA== X-Gm-Message-State: AIkVDXJ0djXHJJAGz5oqSbEj2MEc2Hv4Wv+OnroroIZCZqaGxsqTf+ShKag5ZwLVhxMbT7TPSx5C2SxovkzdZrx/ X-Received: by 10.237.35.84 with SMTP id i20mr22653730qtc.247.1485795643375; Mon, 30 Jan 2017 09:00:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.163.101 with HTTP; Mon, 30 Jan 2017 09:00:42 -0800 (PST) In-Reply-To: References: <3F74504E-B709-4E0C-926B-40923245B493@gmail.com> From: Kristian Kielhofner Date: Mon, 30 Jan 2017 12:00:42 -0500 Message-ID: To: Dave Taht Cc: Jonathan Morton , bloat Content-Type: text/plain; charset=UTF-8 Subject: Re: [Bloat] Cake "out of tree" on Debian X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2017 17:00:44 -0000 On Sun, Jan 29, 2017 at 1:06 PM, Dave Taht wrote: > > > Groovy. I thought you were "Mr. VOIP"? > > While the default fq scheme works really well in cake, if you test > marking packets as voip (EF, CS4,CS6,CS7,VA), it will end up in the > diffserv3 voice queue. > > asterisk used to have an encapsulating protocol called iax2, which > generated a single flow as backhaul - is that still deployed? > > We have a tool in flent based on dit-itg to test this. It's a bit > painful to setup the first time. I've longed to have a full > asterisk/freeswitch/jitsy test setup to look harder at voip/video > characteristics. > > There are also now several as yet underdocumented options in cake: > > "nat" will look at flows before they are natted so as to isolate them better. > When combined with the dual-dsthost or dual-srchost option (depending > on traffic direction) that gives you per host fq, along with per-flow > fq. > > (nat triple-isolate should also do this but we're still sorting out a > bug on that: > https://github.com/dtaht/sch_cake/issues/46 > ) > > wash: washes out dscp markings. Helpful when your provider (:cough: > comcast) remarks nearly all traffic to CS1. > > I just found that appear.in is using the new "goog" marker, which > marks all videoconferencing traffic as AF41, which is more or less > appropriately handled in the "diffserv4" model. > > In general I have always had good results with the simplest > (besteffort or diffserv3) settings. > > There's also new support for a docsis mode using the new "mpu" idea. > > https://github.com/dtaht/sch_cake/pull/45 > Thank you but I'm not sure I was ever "Mr. VOIP"! Regarding what I would broadly call "QoS" with other priorities and projects my personal experience looks something like this: WonderShaper ----------> CoDel/SQM in OpenWRT "just works" ---> "Cake looks really cool" (rabbit hole...) Asterisk still has iax2 although I haven't used it in at least 12 years. If I were to guess iax2 probably represents a tiny fraction of what I'd call "realtime/VoIP traffic" in networks. However, it's probably overly represented in smaller deployments, hobbyists, and home users. In 2017 I'd suggest looking closer at a FreeSWITCH test setup: - WebRTC (as well as "traditional" SIP/RTP, of course) - One of the most robust OPUS implementations I'm aware of; with dynamic and adaptive FEC (forward error correction) and PLC (packet loss concealment) - Relatively rich (in the open source ecosystem) video support (codecs, "MCU functionality", etc): https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video -- Kristian Kielhofner