<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 14, 2019 at 4:35 PM Toke Høiland-Jørgensen <<a href="mailto:toke@redhat.com">toke@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Adrian Popescu <<a href="mailto:adriannnpopescu@gmail.com" target="_blank">adriannnpopescu@gmail.com</a>> writes:<br>
<br>
> Hello,<br>
><br>
> I've taken a look at cake's source code to see what simple changes could be<br>
> made to attempt to speed it up. There seemed to be a per flow variable<br>
> called dropped which might not be that useful for regular users. The<br>
> attached patch removes it.<br>
<br>
I appreciate the sentiment; however, we keep a lot of statistics for a<br>
reason, and we don't want to just drop those. Besides, a single variable<br>
increment is probably not going to make much difference for performance.<br></blockquote><div> </div><div>Perhaps this seemed I implied that it was more than an experiment or something meant to be merged. Is sharing a patch to start a conversation frowned upon?</div><div><br></div><div>The point is that low end routers can't run cake at high speeds. It doesn't make sense to buy more expensive hardware for home networks.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Perhaps cake could be optimized further for slow devices. What's the<br>
> recommended solution for profiling the kernel on mips with openwrt?<br>
<br>
No doubt; however, I'd suggest going about it by actually measuring any<br>
bottle-necks and working from there. The 'perf' tool works on openwrt<br>
these days, I think; that would probably be a good place to start.<br></blockquote><div><br></div><div>Thanks.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-Toke<br>
</blockquote></div></div>