From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (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 8FB083B29D for ; Tue, 11 Feb 2020 23:56:07 -0500 (EST) Received: by mail-ot1-x32f.google.com with SMTP id b18so694689otp.0 for ; Tue, 11 Feb 2020 20:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Udx1AqdEX5goRnBPUS7y23qdm0CL5QihJQa2vs7UPuc=; b=HYQou10KdWHlewZbq6w5/B3J5nccUj8LLOgCNzT4eAN52RP7vKD576QaIwR7vzknGj 76OsI6DACzbbg9zmta3cP2daR036OKvAjOXQufueMPZ3+IWkVbAx7I9WJYPHgj4Xo4x7 94vNrZPtNoYxcDLXLX9rzRHTlPGViTLMI9Fd1g9lunCZEk17+OFyNUCTyXwTk5OxjiHN y6Pr9a6axT2VHPyK5uVWcPpcgklNHrea5IcjZ3/RqzjYlj4YX45cjy5Nc1WYeYqu05KP o4F0g1SRkypxYbnIuPNlcB9T1xYlHpjGzY4RQ3sQV8rnpY0+qkL9ZfQtRvSxzk/ePzg9 QmAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Udx1AqdEX5goRnBPUS7y23qdm0CL5QihJQa2vs7UPuc=; b=JlVxAfDDcsVMs3dEjGfJjynd/hmNCd2rwnHFsmvVDnZIyT9QtGTEfiQhrhtnvMMAsl MfBiwGcyDnJArBCHCbzYLyJ6K/Y8HzJV5fnMsikkk5V3XShCeGclEyipDLr/hwMW462r SuZ92gOD6RS8OVI+UjCOOl1i8dKkW9ZO9/xYt76DWPDpeZfZyA3pgHJ60VkY5fTzeueK pdz9g7qU1k5yrd430kOCkB+5HyQDV/3ESKf+CseOGFLSVMNY7cRvcvMdMt0LGcznWDFG P/yYKINbQeMNQsexi1EMR5VyRnA1grLOx3th7SZfTYO8sSojT54TEyGye4prfnIAaRkn fE6A== X-Gm-Message-State: APjAAAUKpyEy0UIsWI/+D9tEPZqjavZpA+1p85YHxCuYYt+mhxklPETP 1gnGzVsNzTnH7vC17+0jKISfMO4cKzgPzh7LtC88K0jYEYU= X-Google-Smtp-Source: APXvYqyDTjUClNws2VTQYoGPKPXldtuOQAghB8gXk9L73waIgWLw5nitDn2W0bfBCuIBtlqjGwwT93HfiF/hB7G1ff0= X-Received: by 2002:a9d:6288:: with SMTP id x8mr2231001otk.2.1581483366496; Tue, 11 Feb 2020 20:56:06 -0800 (PST) MIME-Version: 1.0 From: Daniel Sterling Date: Tue, 11 Feb 2020 23:55:55 -0500 Message-ID: To: bloat@lists.bufferbloat.net Content-Type: text/plain; charset="UTF-8" Subject: [Bloat] is extremely consistent low-latency for e.g. xbox possible on SoHo networks w/o manual configuration? 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: Wed, 12 Feb 2020 04:56:07 -0000 Good day list, I am looking for input / discussion on how to achieve: * on a "regular" SoHo network * first and foremost, to the exclusion of all other goals, consistent low-latency for non-bulk streams from particular endpoints; usually those streams are easily identified and differentiated from all other streams based on UDP/TCP port number, * and assuming the identified and prioritized streams behave themselves and stay non-bulk, decent throughput for all other traffic. That is to say, some endpoints are more important than others; and moreover some apps on some endpoints are most important. In my case the traffic that needs to be low-latency no matter what is xbox FPS gaming traffic (Call of Duty UDP traffic is especially easy to prioritize, as it typically uses port 3075). How would you customize your network to achieve those goals? Here is what I have done; please provide any and all feedback: I put a linux laptop between CPE (WAN) and LAN. AT&T fiber in my case, 100+ mbit up and down. I've a tc script that drastically limits bandwidth for non-prioritized traffic (where priority is based on UDP/TCP port number). The theory is that this ensures prioritized traffic always has plenty of available bandwidth to send / receive data, and will never experience latency unless it's misbehaved / incorrectly classified. Here is what I have NOT done: I didn't use tc_cake WITHOUT adding a layer of port-based prioritization. On a typical SoHo network, I don't see how it would be possible to ensure xbox traffic never experiences latency w/o prioritizing streams *before* cake sees them. Does this make sense? Here is my script: https://gist.github.com/eqhmcow/1278a928d11279cb5846688e05dfd363#file-prio-cake-sh Thanks, Dan