DPDK usage discussions
 help / color / mirror / Atom feed
From: 이재홍 <ljh890322@gmail.com>
To: users@dpdk.org
Subject: Is it right way to test between two modes?
Date: Thu, 11 May 2023 13:47:23 +0900	[thread overview]
Message-ID: <CA+WmBsSOaZCmPNbESoPq8nUut8BuMWpk1RnUQ0UBF5B-H+WMrQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

Hello,
I'm really sorry to ask a lot... but I want to make sure that what I did is
right or not

I compared two modes
1. default poll mode
2. interrupt mode (In my understand.. it is kind of an event driven mode in
dpdk)

[Test 1] - poll mode
 $ sudo ./examples/dpdk-l3fwd -l 1-3 -n 4 -- -p 0x3 --config="(0,0,1)"
* power: about 36W*

[Test 2] - event driven mode
 $ sudo ./examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -p 0x03
--config="(0,0,1)" --interrupt-only
* power: about 12W*


When Idle situation, Test1 uses a core 100% and Test2 doesn't use a core a
lot (almost 0%), so I think I can say "In idle mode, Test2 Mode(event
driven) reduces power by 1/3 compared to poll mode." Is it correct??

BR,
Jaehong Lee

[-- Attachment #2: Type: text/html, Size: 1026 bytes --]

             reply	other threads:[~2023-05-11  4:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11  4:47 이재홍 [this message]
2023-05-11 15:35 ` Stephen Hemminger

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=CA+WmBsSOaZCmPNbESoPq8nUut8BuMWpk1RnUQ0UBF5B-H+WMrQ@mail.gmail.com \
    --to=ljh890322@gmail.com \
    --cc=users@dpdk.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 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).