From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (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 B8A84208ADC for ; Mon, 23 Nov 2015 01:21:42 -0800 (PST) Received: by oiww189 with SMTP id w189so116657771oiw.3 for ; Mon, 23 Nov 2015 01:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=uugNY8biBHLhHfSdomY32AqIR2SlTpbktg4E2B9VU34=; b=e/O9Omk2uLkvK+991WXtQLYNUOluDdD9VZC/LjXFw6ulVr07JKbq4IkvARGMTUIas7 nhRZsaJug4dqfWBIYFldO9ax4mcxE6SXaddE9FFbACU0BvQ4c3FsedQmFmzWbPdg3z1/ 4T5TiqCgcHrAWl310kS3DCiohW5xcVlW4zVjvcjwUcDJ70Mi9+Cg/XngdVVC4vJxadkY wOyYu0RGb0h/ln0Fny470LKu5sRV7kAiYLMcYStygyJK1hh4OsxnPMRoHu5jMn0F4NzR im+ELNevMzWws4fkOj3jUCToL99fpGJC5LBnCfJdb3D89gsxM9HC2fRgN2F4zgvLmDrz UD2g== MIME-Version: 1.0 X-Received: by 10.182.251.130 with SMTP id zk2mr15359164obc.57.1448270501287; Mon, 23 Nov 2015 01:21:41 -0800 (PST) Received: by 10.202.50.130 with HTTP; Mon, 23 Nov 2015 01:21:41 -0800 (PST) In-Reply-To: References: Date: Mon, 23 Nov 2015 10:21:41 +0100 Message-ID: From: Dave Taht To: Vincent Frentzel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "cake@lists.bufferbloat.net" Subject: Re: [Cake] Cake performance optimization X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 09:22:05 -0000 Well, a few things entered cake that have cost performance since I last tried to address it, notably the rate estimator, which has no real use at present. I have started to tune it a bit here and there (like the now optimization I put in there recently). On x86_64, even at a GigE, cake's cpu use is down in the noise, so it's still hard to find hotspots, etc. My take oni nbound shaping speed is that it is ruled by other factors larger than cake, and that profiling was needed to find where on platforms like the wndr3800. (profiling is hard in that platform, too, sigh). But I wanted to make sure the algorithms were as correct as possible before going into speed optimization mode. I tend to rather dislike connmark stuff - it tends to be slow - also. I don't see what use you are putting this code to? ipt -t mangle -A QOS_MARK_${IFACE} -m mark --mark 0x01${IPT_MASK_STRING} \ -j DSCP --set-dscp-class EF ipt -t mangle -A QOS_MARK_${IFACE} -m mark --mark 0x02${IPT_MASK_STRING} \ -j DSCP --set-dscp-class AF41 ipt -t mangle -A QOS_MARK_${IFACE} -m mark --mark 0x03${IPT_MASK_STRING} \ -j DSCP --set-dscp-class AF11 ipt -t mangle -A QOS_MARK_${IFACE} -m mark --mark 0x04${IPT_MASK_STRING} \ -j DSCP --set-dscp-class CS1 The inbound limit seems to be right at around that speed with either cake or fq_codel, at present, on that hardware. Could you also go measure htb + fq_codel? Most of the work nowadays is on the linksys 1200ac and tp-link archer c7v2.= ... Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! https://www.gofundme.com/savewifi On Mon, Nov 23, 2015 at 10:07 AM, Vincent Frentzel wr= ote: > I have been running cake on my now *vintage* wndr3800 on a 100/6 mbps lin= k > and so far have only been able to reach 65-70 mbps download speed.System > load is rather high at 0.8 - 0.9 under stress. > > I was wondering if the current cake roadmap includes some optimizations (= low > hanging ones?) or the wndr3800 definitely needs to go... > > Im using diffserv4 and find myself using a combination of MARK/CONNMARK a= nd > -J DSCP to finally set the DSCP for cake. Im thinking that a leaner proce= ss > would be to have cake work from MARK or CONNMARK directly. Im not sure wh= at > the ultimate performance gain would be though... > > Here is the link to my current .qos script: > https://github.com/zcecc22/sqm-scripts/blob/master/src/nxt_routed_cake.qo= s > > The MARK/CONNMARK rules are stored in the standard openwrt firewall3 conf= ig > with some added save/restore mark in firewall.user > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake >