From: Eric Dumazet <eric.dumazet@gmail.com>
To: Chetan Loke <chetanloke@gmail.com>, Tom Herbert <therbert@google.com>
Cc: Bhavesh Davda <bhavesh@vmware.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"pv-drivers@vmware.com" <pv-drivers@vmware.com>
Subject: Re: [Pv-drivers] rps and pvdrivers
Date: Sat, 04 Sep 2010 09:00:52 +0200 [thread overview]
Message-ID: <1283583652.3402.2.camel@edumazet-laptop> (raw)
In-Reply-To: <1283583095.2320.11.camel@edumazet-laptop>
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.
>
>
next prev parent reply other threads:[~2010-09-04 7:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 19:49 rps and pvdrivers Chetan Loke
2010-09-03 21:05 ` [Pv-drivers] " Bhavesh Davda
2010-09-03 22:39 ` Chetan Loke
2010-09-04 6:51 ` Eric Dumazet
2010-09-04 7:00 ` Eric Dumazet [this message]
2010-09-04 13:38 ` Chetan Loke
2010-09-04 13:51 ` Eric Dumazet
2010-09-04 14:02 ` Chetan Loke
2010-09-04 14:31 ` Eric Dumazet
2010-09-04 15:27 ` Chetan Loke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283583652.3402.2.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=bhavesh@vmware.com \
--cc=chetanloke@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pv-drivers@vmware.com \
--cc=therbert@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox