Are there any hardcoded limits on octeon ethernet module?

Cesar Fazan cesar.fazan at gmail.com
Thu May 29 02:47:49 UTC 2014


Hi,

While testing the network performance of FreeBSD 10 running on EdgeRouter
Lite I noticed that kernel{octe taskq_0/1} can't use more than 50% of the
cpu.

Are there any hardcoded limiting this?

  PID USERNAME   PRI NICE   SIZE    RES STATE   C   TIME     CPU COMMAND
   10 root       155 ki31     0K    32K RUN     0  21:03  56.98% idle{idle:
cpu0}
   10 root       155 ki31     0K    32K CPU1    1  20:39  51.95% idle{idle:
cpu1}
    0 root       -92    0     0K   144K -       1   4:29  48.00%
kernel{octe taskq_1}
    0 root       -92    0     0K   144K -       0   4:10  43.99%
kernel{octe taskq_0}


Also, are there any other hardcoded var that can possible increase its
performance?
I can't get past 80kpps, and if you load ipfw with a single rule that will
drop by half while still using 50% of the cpus

For reference with the official EdgeRouter linux I can get:
190Kpps with hardware offload module disabled
740Kpps with it enabled, which is my test lab limit


More information about the freebsd-mips mailing list