From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5FAF642AD1 for ; Thu, 11 May 2023 06:48:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2369E40E03; Thu, 11 May 2023 06:48:02 +0200 (CEST) Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) by mails.dpdk.org (Postfix) with ESMTP id 90CF0406B3 for ; Thu, 11 May 2023 06:48:00 +0200 (CEST) Received: by mail-vs1-f45.google.com with SMTP id ada2fe7eead31-43470e2f643so2768288137.3 for ; Wed, 10 May 2023 21:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683780480; x=1686372480; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vyHcuagf0wOLB64PKqHnXyS9HapPV5hO0wzsmkO1v3w=; b=E3w4GyqYjMDyWwFjb1ijfb3hl0mJ+CHLFvoys+tHdbz8og8rbnS7kUZlJGs4Ctg4L5 fpJDLVATHQQM0gbUp2LTh1XBX5OJFrGt7wdhDvw+jH8X0Myy6klj4RbN0sVRZPDjOb0u fG2wZiBrev1l9u/DRZDf+qsNcopkUbf1bgFnYJyAROidv2jKzhPB3I/n/23p9X+WrWKS Jwd37pbiJyHGmSR2fIrB8ZV8xzl5u7leLdKYODX5Wwz0bR8le5sYGn5qOBeDf8rn8UM3 a0OFl5xXGQnb9t/AB7hQmzxLPHcLS8Fuzl+mEDfq8hfLVhzrmvq3fcx96bK3xftjp1F7 Q7aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683780480; x=1686372480; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vyHcuagf0wOLB64PKqHnXyS9HapPV5hO0wzsmkO1v3w=; b=GWFiiJ/f3cOXLNkg8tkQS49X7B6OvEa50xqPLYlIvW1TivTLsyVbtjsOSBp24HWgw+ oPi3pkK0tg7Ji0bAcyoLlW8oJTHN4uoiYaNMTWSECJGeimDL6KXOc/cEwCt18lurkiqz quNRyQ+SR/UvTYxvjpaZAta/9ButDFTNdyC3K6eT9VL3E3jK7INajZRKNY2Dx1FL5Gl9 6/zY1ED+sM78HPfwL06LVw9R1nfpPHZN9l5KboqQ/RvnWlD5JHEznODu566pJdP3q/q1 z7N/igUqVTYZt4gbsNU4nSjpAf7m4CFWdohDzT07n3VYiL5xNYvnlApcbfPVK4iNEviJ jkSQ== X-Gm-Message-State: AC+VfDxDkcVMgoC6ngioXUS14eybVoOLgwofsk1DlEG7vldjQi+YgTlW wzGcZbpj/ejTaAElivGCzKS54JbJWeaCCp5uklCYhdBL9fE= X-Google-Smtp-Source: ACHHUZ4ysZgshbBIUSIM8rMfyeC325vovusI206ONcU7fcAopCAJidBOQ7D1DJOjo085KWorzmnbUKYRLD8FzumbTWo= X-Received: by 2002:a67:b602:0:b0:434:5d46:f297 with SMTP id d2-20020a67b602000000b004345d46f297mr6274440vsm.31.1683780479531; Wed, 10 May 2023 21:47:59 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?7J207J6s7ZmN?= Date: Thu, 11 May 2023 13:47:23 +0900 Message-ID: Subject: Is it right way to test between two modes? To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000005cbfb205fb63b1ec" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --0000000000005cbfb205fb63b1ec Content-Type: text/plain; charset="UTF-8" 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 --0000000000005cbfb205fb63b1ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,=C2=A0
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. int= errupt mode (In my understand.. it is kind of an event driven mode in dpdk)=

[Test 1] - poll mode
=C2=A0$ sudo ./exa= mples/dpdk-l3fwd -l 1-3 -n 4 -- -p 0x3 --config=3D"(0,0,1)"
=C2=A0power: about 36W

[Test 2] - event driven mode<= /div>
=C2=A0$=C2=A0sudo ./examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -p 0= x03 --config=3D"(0,0,1)" --interrupt-only
= =C2=A0power: about 12W


<= /div>
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, Tes= t2 Mode(event driven) reduces power by 1/3 compared to poll mode." Is = it correct??

BR,
Jaehong Lee
--0000000000005cbfb205fb63b1ec--