Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2011 00:02:04 +0900
From:      Kazuya Goda <gockzy@gmail.com>
To:        soc-status@freebsd.org
Subject:   [status report] RPS/RFS #week7
Message-ID:  <CA%2Bz95aXn8ras_1wuqX84DLzv9s_DhY9r=YKRsYP7iA3LYw1-Pg@mail.gmail.com>

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



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