Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 23:47:48 -0300
From:      Cesar Fazan <cesar.fazan@gmail.com>
To:        freebsd-mips@freebsd.org
Subject:   Are there any hardcoded limits on octeon ethernet module?
Message-ID:  <CA%2BzsmXcmUfqvtQjp4LDXX-V6b31qY1qnXrQv0QJvR3apcm3OHA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BzsmXcmUfqvtQjp4LDXX-V6b31qY1qnXrQv0QJvR3apcm3OHA>