[Cake] small cake_hash optimization?

Dave Taht dave.taht at gmail.com
Wed Nov 22 13:33:20 EST 2017


On Wed, Nov 22, 2017 at 4:37 AM, Pete Heist <peteheist at gmail.com> wrote:
>
> On Nov 22, 2017, at 11:06 AM, Pete Heist <peteheist at gmail.com> wrote:
>
> I’ve not done any testing on what the real impact of this change would be,
> or even if it breaks something.
>
>
> Ok, at least a little crude testing with sar:
>
> https://docs.google.com/spreadsheets/d/1LKoq5NaswuHm9H1atXoZA1AhNDg6L4UYS3Pn5lCsb1I/edit#gid=0
>
> ~10% less cake CPU at GigE in this case?

Divides do hurt, particularly if you can't do them out of order. But
that seems like a lot.

> What’s a better tool for timing
> kernel module functions?

Use "perf"

https://en.wikipedia.org/wiki/Perf_(Linux)

>
> Would really need to test if host fairness still works, otherwise this is
> irrelevant…
>
>
> _______________________________________________
> Cake mailing list
> Cake at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
>



-- 

Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619


More information about the Cake mailing list