<html><head></head><body>Anyone measured what is the actual bottleneck in 300 mb/s shaping? On an Intel platform you can measure a running piece of code pretty accurately. I ask because it is not obvious a cpu needs to touch much of a frame to do shaping, so it seems more likely that the driver and memory management structures are the bottleneck.<br clear="none">
<br clear="none">
But it is really easy to write very slow code in a machine with limited cache. So maybe that is it. <br clear="none">
<br clear="none">
On a multi core intel arch <sub></sub>machine these days it is a surprising fact that a single core can't use up more than about 25 percent of a socket's memory cycles so to get full i/o speed you need to be running your code on 4 cores or more... this kind of thing can really limit achievable speed of a poorly threaded design. Architectural optimization needs more than llvm and clean code. You need to think about the whole software pipeline. Debian may not be great out of the box for this reason - it was never designed for routing throughput.<br clear="none"><br clear="none"><div class="gmail_quote">On Dec 12, 2014, Dave Taht <dave.taht@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k10mail">There was a review of that hardware that showed it couldn't push more<br clear="none">than 600Mbit natively (without shaping). I felt that the ethernet<br clear="none">driver could be improved significantly after looking it over, but<br clear="none">didn't care for the 600mbit as a starting point to have to improve<br clear="none">from.<br clear="none"><br clear="none">Not ruling it out, though! It met quite a few requirements we have.<br clear="none"><br clear="none">On Thu, Dec 11, 2014 at 11:33 PM, Erkki Lintunen <ebirdie@iki.fi> wrote:<br clear="none"><br clear="none"></pre><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Hello,<br clear="none"><br clear="none">while enjoying and reading another thread from the list...<br clear="none"><br clear="none"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">-------- Forwarded Message --------<br clear="none">Subject: Re: [Cerowrt-devel] how is everyone's uptime?<br clear="none">Date: Thu, 11 Dec 2014 16:42:37 -0800<br clear="none">From: Dave Taht <dave.taht@gmail.com><br clear="none"></blockquote>[snip]<br clear="none"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">But frankly, I would prefer for most of the chaos there to subside and to find<br clear="none">a new, additional platform, to be working on before resuming work,<br clear="none">that can do inbound shaping at up to 300mbit. And<br clear="none">to be more openwrt compatible in whatever we do, whatever that is.</blockquote><br clear="none">this reminded me that another day I passed a web-page of a platform and<br clear="none">in the hope this has not been on the list yet passing it forward.<br clear="none"><br clear="none"><<a shape="rect" href="http://www.pcengines.ch/apu.htm">http://www.pcengines.ch/apu.htm</a>><br clear="none"><br clear="none">An interesting tidbit in the platform is the choice of firmware, I<br clear="none">think. Haven't seen any board yet with the similar choice by the<br clear="none">manufacturer. With a quick summing from the vendor part catalog, the<br clear="none">platform is sub 200 EUR (238 USD in current exchange rate) for an about<br clear="none">working assembly of 3x 1GbE, 4G ram, 1G flash, 802.11a/b/g/n radio...<br clear="none"><br clear="none">I can't say anything how capable the hw might be for the stated inbound<br clear="none">shaping performance. I have had an ALIX board from their previous<br clear="none">generation for years and its been humming nicely though I haven't pushed<br clear="none">it to its envelope.<br clear="none"><br clear="none">Best<br clear="none">Erkki<br clear="none"><hr><br clear="none">Cerowrt-devel mailing list<br clear="none">Cerowrt-devel@lists.bufferbloat.net<br clear="none"><a shape="rect" href="https://lists.bufferbloat.net/listinfo/cerowrt-devel">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a></blockquote><br clear="none"><br clear="none"></blockquote></div><br clear="none">-- Sent from my Android device with <b><a shape="rect" href="https://play.google.com/store/apps/details?id=com.onegravity.k10.pro2">K-@ Mail</a></b>. Please excuse my brevity.</body></html>