From: Vladimir Medvedkin <medvedkinv@gmail.com>
To: Fred Pedrisa <fredhps10@hotmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] L2FWD uses 'too much' CPU
Date: Tue, 1 Apr 2014 20:36:08 +0400 [thread overview]
Message-ID: <CANDrEHm9TLwaasT+-XvPw4GZQhDaz4=eiLZt3PnoBGQ=pspvNg@mail.gmail.com> (raw)
In-Reply-To: <COL131-DS986211349A8B4358A4B5DB0620@phx.gbl>
Hi,
One of the objectives of DPDK is avoiding of interrupts, so application
(not only L2FWD) polls NIC infineteley. You can look at programmers guide
section 24 "Power Management" and "L3 Forwarding with Power Management
Sample Application" in Sample Applications User Guide.
Regards,
Vladimir.
2014-04-01 9:24 GMT+04:00 Fred Pedrisa <fredhps10@hotmail.com>:
> Hi,
>
>
>
> Why by default L2FWD saturate both cores ? I mean, it seems it keeps
> wasting
> cycles due to the infinite loop placed there to check the queues.
>
>
>
> Which would be the way to improve this and make it to become more efficient
> ?
>
>
>
> Sincerely,
>
>
>
> Fred
>
>
next prev parent reply other threads:[~2014-04-01 16:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 5:24 Fred Pedrisa
2014-04-01 16:36 ` Vladimir Medvedkin [this message]
[not found] ` <067001cf4dc8$b18539d0$148fad70$@gmail.com>
2014-04-01 16:43 ` [dpdk-dev] RES: " Fred Pedrisa
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='CANDrEHm9TLwaasT+-XvPw4GZQhDaz4=eiLZt3PnoBGQ=pspvNg@mail.gmail.com' \
--to=medvedkinv@gmail.com \
--cc=dev@dpdk.org \
--cc=fredhps10@hotmail.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;
as well as URLs for NNTP newsgroup(s).