[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1283583652.3402.2.camel@edumazet-laptop>
Date: Sat, 04 Sep 2010 09:00:52 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Chetan Loke <chetanloke@...il.com>,
Tom Herbert <therbert@...gle.com>
Cc: Bhavesh Davda <bhavesh@...are.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"pv-drivers@...are.com" <pv-drivers@...are.com>
Subject: Re: [Pv-drivers] rps and pvdrivers
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.
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists