[status report] RPS/RFS #week7

Kazuya Goda gockzy at gmail.com
Thu Jul 14 15:02:26 UTC 2011


Hi,

The project goal is to implement RPS/RFS on FreeBSD. RPS solves the problem of
mono-queue NIC which can't distribute packets across multiple
processors. RFS is
the extension of RPS, which deliver packets to the CPU where
application running.

This week status:
*Name change
RFS emulate RSS so I changed name to Soft RSS.

*Default parameters
Soft RSS require net.isr.bindthread=1 and net.isr.numthreads=mp_ncpu.
I insert code If enable Soft RSS, that parameters are set in netisr_init().
It work but I know that this is not good.

*add net.inet.softrss.maxflows
Soft RSS has two tables. This table size  is set by "#define" so it's
not change.
I add sysctl parameter "net.inet.softrss.maxflows" that it's possible
to change the size.


Next week:
* Possible to change net.isr.numthreads

--Kazuya Goda


More information about the soc-status mailing list