Re: [Pv-drivers] rps and pvdrivers

Eric Dumazet
2010-09-04T07:00:57Z

Le samedi 04 septembre 2010 à 08:51 +0200, Eric Dumazet a écrit :
> >
>
> Reproduce what exactly ?
>
> I dont understand what the problem is, reading your description.
>
> RPS is not automatically switched on, you have to configure it.
>
> echo ffff >/sys/class/net/eth0/queues/rx-0/rps_cpus
>
> Same for RFS if you prefer to use RFS
>
> echo 16384 >/sys/class/net/eth0/queues/rx-0/rps_flow_cnt
>

And, before you try this, you probably also need

echo 16384 >/proc/sys/net/core/rps_sock_flow_entries

Tom, I believe you were about to add RPS documentation in
Documentation/ ?

> If you receive a flood, your cpu stay in NAPI mode, and no hardware
> interrupt is received while you process xxx.xxx packets per second.
>
>