From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 AB56A3B2A0 for ; Wed, 20 Jan 2016 11:32:12 -0500 (EST) Received: by mail-wm0-x236.google.com with SMTP id l65so186360487wmf.1 for ; Wed, 20 Jan 2016 08:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Nd+oBmAW/xnRlVsE6IN/9aPLcFcdz0igGSEhQBU6bY8=; b=ahVeylXldGsPHQ9S9lZwiG2WvxAM2xtJaIR5RtoGhrAbIPedqHimv58QafpF+r65pT fzNAnIJalKsr9SNdhxASZCiF1BBd9mIloQ9TJOCC+5u2aM5smHOmAQDD2eHdww6m2Pop n5XHo7la/fK7JyYKMN5+WzC+jDOJcEpnFi6LEjmsn7E4XCYDlK3tPbdCFEbpnAInHT5x 1hVa3UJj27K6lvq7/y6IjpOHkzfRqMpILkiUgGPPY4IIF06jbli3aO+fof30adLjho6A l8CddJG5jybqTe9rOHLw2K2hKCOyT/xIz4jb6vMzBc7P9AuxOy43pJ9GvEvznHRnnu+8 YPlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Nd+oBmAW/xnRlVsE6IN/9aPLcFcdz0igGSEhQBU6bY8=; b=f1T6kv5XhOxDrWEsz1F/cFbXQCCnbhdoWzrsiURBBRmEYtbCFWNJh7pG91URwUB5C5 O13dE9KdykV6RkzCEQZqewwghUJeX3jVlaq1q7KXnnMVSaJ41AxWpDX3YwNqnQVZePYL vugS1fkCwigDeAEoOvXbFAdO7kX05c5bUAU63UU9PpZn1egk2hTIuZ9TbGrnM7WtSuJT hA3dkPYmAgOtMqxc5ydwn+RM96+H2FC85iJmOxdPa2f5JPYVDjnn0V7OxvIdoJkT5/uO 2PEOqXO93709F18lyz2Zuim88sByV5i6tLFG4AyduyTMeQU+6elSN9KlkhnmEGGseueO 2tCg== X-Gm-Message-State: ALoCoQlJzl3Ntj0JF4H96Ekcz40NlrEHYTDAY7hJvZN91XuWTp2IRh05/6GnvanFd1+1H92T0TTaJEBu+iFVG1gOogmxoIPGzw== X-Received: by 10.195.13.129 with SMTP id ey1mr36235196wjd.132.1453307531420; Wed, 20 Jan 2016 08:32:11 -0800 (PST) Received: from [172.16.9.243] (host-92-31-2-189.as13285.net. [92.31.2.189]) by smtp.googlemail.com with ESMTPSA id t195sm25967752wme.13.2016.01.20.08.32.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jan 2016 08:32:10 -0800 (PST) To: Brandon Applegate , Sebastian Moeller References: <143AE017-AA48-442A-8A95-21CEE60EA27E@gmx.de> <55C85334-20A2-4625-BAD2-71BF536DF19D@burn.net> Cc: Bloat@lists.bufferbloat.net From: Alan Jenkins Message-ID: <569FB68A.6000100@gmail.com> Date: Wed, 20 Jan 2016 16:32:10 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <55C85334-20A2-4625-BAD2-71BF536DF19D@burn.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Bloat] Getting started with sqm-scripts - latency good, bandwidth decimated 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, 20 Jan 2016 16:32:12 -0000 On 20/01/16 16:10, Brandon Applegate wrote: > I’m getting more confused as I go on :) > > So I’ve rebooted and the tc classes seem to have come back. Since this is Ubuntu 12.04 - it doesn NOT have systemd. I mention this because I see there is a systemd config in the sqm-scripts package. > > I have not added any hooks to run 'sqm start’ - neverthless - I have all the rules seemingly there on a fresh boot. I also have a new ‘interface’ - ifb4eth0.666. Since I’ve never messed with tc - I have no idea how/where/what is ‘saving’ these rules and making them persistent. I’m struggling to use google and grep -ir to see where Ubuntu is saving this. > > Furthermore - the scripts seem to be working now. Slightly embarassing - it could be the result of having mucked with the gentoo script and having two many variables flying around at once. > > I currently lose a small fraction of my bandwidth - but bufferbloat gets an A on the dslreports speedtest. > > I’m going to concentrate on understanding how / where these rules are getting made ‘persistent’. Excellent. There's nothing that saves `tc` rules (like iptables-save + iptables-restore). The fact that you have "ifb4eth0.666" re-appearing shows pretty clearly you've got something running "sqm start". On OpenWRT the scripts run automatically when the network interface comes up. udev is different, although you could have something hooked in like `/etc/network/if-up.d`. Alan