From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 0AF0421F421 for ; Fri, 27 Mar 2015 19:24:43 -0700 (PDT) Received: by lbdc10 with SMTP id c10so21275719lbd.2 for ; Fri, 27 Mar 2015 19:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hiUc6qQvtgZWbLh2kvJvF3/jkPhNWr+nDGICl/b7d8s=; b=vbBGKHRFc/wmWYpZb4zeqIczugevI+VLs1Z46pA1dpkPixgDl34gZWsPP8MjaeDRSs I2jXIMA3/ju4EG2F+gmJd9PTKUivGnmuFLmRD5sGzQ72dZTKZU6aQMWgF9L2QWfpkymN TVeVt5hl1My1OJpPXMWncpHCdqZPU0wfIcTDiHhEuPD7flQVIyj0qjZyVbOiEkYpC/Sz e2x5ozVpRsyFWUO62GWqHHg/eQ2zYGUflMwMLwuVHQRFenOBjlz1o72l9UMD19fqZvuF XNPzyHhrZtblk63yCLE29wFzsr4pXyhhYS9uplcw1NmlHSWy3CdH3FmL6zljzjAyA2Vg D7+A== X-Received: by 10.112.17.8 with SMTP id k8mr19965242lbd.26.1427509481572; Fri, 27 Mar 2015 19:24:41 -0700 (PDT) Received: from bass.home.chromatix.fi (37-136-74-253.rev.dnainternet.fi. [37.136.74.253]) by mx.google.com with ESMTPSA id k2sm651013lag.9.2015.03.27.19.24.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Mar 2015 19:24:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) From: Jonathan Morton In-Reply-To: <55160C84.6070808@opentechinstitute.org> Date: Sat, 28 Mar 2015 04:24:36 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <80119C6B-CB14-4CEF-94A8-459087DBD2AD@gmail.com> References: <5516059A.8080503@opentechinstitute.org> <55160C84.6070808@opentechinstitute.org> To: Josh King X-Mailer: Apple Mail (2.2070.6) Cc: Commotion Development List , "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] [Commotion-dev] Commotion Router v1.2 enters release testing X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 02:25:12 -0000 > On 28 Mar, 2015, at 04:05, Josh King = wrote: >=20 > I think the biggest problem we've had with including traffic shaping = by > default in our images is figuring out how best to provide an interface > to users that is easy to understand and utilize. Any suggestions or = help > in that regard would be welcome. Most people don=E2=80=99t have the first clue about it, or even that it = is a necessary or desirable thing. So ideally, you need something with = either no knobs that=E2=80=99s invisible (or has a simple checkbox to = turn it on with), or something with as few knobs as possible and clear = instructions on how to turn them. I=E2=80=99m currently working on something along those lines. The one parameter that=E2=80=99s definitely situation-dependent is the = bandwidth to shape at. If you have an integrated DSL modem, you can = probably derive that number from querying the sync rate. If you = don=E2=80=99t, you=E2=80=99ll have to ask the user to set it. Even if = you can detect a sync rate, though, you should let the user override it = - some DSL ISPs throttle the connection by other means than sync rate. = NB: DSL sync rates do change occasionally, so poll it every minute and = use =E2=80=9Ctc qdisc change=E2=80=A6=E2=80=9D to adjust without = spilling the existing queues. For everything else, put in sensible defaults, calculating from the = given shaping rate where necessary, and do your best to avoid bothering = the user with details up front. At the same time, it=E2=80=99s probably = wise to provide a way to see what=E2=80=99s being done behind the = scenes, but make that an extra click. If you want to also put in an advanced mode for people who do know what = they=E2=80=99re doing, you can, but hide it behind an =E2=80=9Cadvanced, = here be dragons=E2=80=9D button and make it easy to go back to the sane = defaults. - Jonathan Morton