From: Zoltan Kiss <zoltan.kiss@linaro.org>
To: Ronald Pina <pinaronald@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs
Date: Mon, 16 Mar 2015 11:49:11 +0000 [thread overview]
Message-ID: <5506C337.30106@linaro.org> (raw)
In-Reply-To: <CAONBAadQvh_4DiCPgbFTBbG-wP05MsLtHtMjZ+x-TpiLJFR_wQ@mail.gmail.com>
Hi,
In that case I recommend you to take a look at the debugfs patch already
in there, based on that it should be pretty straightforward to do it
what you want:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f51de243
It already prints out "queue->napi.weight"
Zoltan
On 13/03/15 19:05, Ronald Pina wrote:
> Hi Zoltan
>
> Yes , i successfully achieved good results using tc tools, it could do
> the job and the performance was great. But my primary goal is to make
> a study about the of performance impact of the weight parameter.
>
> It must be noted that Xen use NAPI, and on dom0 every vif is treated
> in the same way as every real network interface. On old kernels that
> feature was present , here is a patch that can show how was that
> implemented:
>
> http://marc.info/?l=linux-netdev&m=111773621018096&w=2
>
> As soon as on later kernel the weight was inserted on napi_struct, the
> weight wasn't exposed any more for every interface.
> Maybe that feature is not essential necessary, it can be valuable on
> dom0 where there many vif . It is another supplementary control knob,
> someone may found it useful to tweak the performance.
>
> Regards,
> Ronald
>
next prev parent reply other threads:[~2015-03-16 11:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 11:11 Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs Ronald Pina
2015-03-13 11:30 ` Wei Liu
2015-03-13 11:56 ` Ronald Pina
2015-03-13 12:05 ` Wei Liu
2015-03-13 12:49 ` Ronald Pina
2015-03-13 13:53 ` Wei Liu
2015-03-13 17:03 ` Zoltan Kiss
2015-03-13 19:05 ` Ronald Pina
2015-03-16 11:49 ` Zoltan Kiss [this message]
2015-03-17 11:11 ` Ronald Pina
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=5506C337.30106@linaro.org \
--to=zoltan.kiss@linaro.org \
--cc=pinaronald@gmail.com \
--cc=xen-devel@lists.xen.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.