* [dts][PATCH V2 0/2] tests/performance_thread: update test plan
@ 2021-11-16 3:14 Yufen Mo
2021-11-16 3:14 ` [dts][PATCH V2 1/2] " Yufen Mo
2021-11-16 3:14 ` [dts][PATCH V2 2/2] tests/performance_thread: update script Yufen Mo
0 siblings, 2 replies; 4+ messages in thread
From: Yufen Mo @ 2021-11-16 3:14 UTC (permalink / raw)
To: dts; +Cc: Yufen Mo
v2:
- make test plan and script together
v1:
- update test plan based on dpdk commit 1aca4fdb0096bad59dc9ea879723fee59a8408dc.
Yufen Mo (2):
tests/performance_thread: update test plan
tests/performance_thread: update script
test_plans/performance_thread_test_plan.rst | 30 ++++++++++-----------
tests/TestSuite_performance_thread.py | 6 ++---
2 files changed, 18 insertions(+), 18 deletions(-)
--
2.21.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts][PATCH V2 1/2] tests/performance_thread: update test plan
2021-11-16 3:14 [dts][PATCH V2 0/2] tests/performance_thread: update test plan Yufen Mo
@ 2021-11-16 3:14 ` Yufen Mo
2021-11-16 3:14 ` [dts][PATCH V2 2/2] tests/performance_thread: update script Yufen Mo
1 sibling, 0 replies; 4+ messages in thread
From: Yufen Mo @ 2021-11-16 3:14 UTC (permalink / raw)
To: dts; +Cc: Yufen Mo
update test plan based on dpdk commit 1aca4fdb0096bad59dc9ea879723fee59a8408dc.
Signed-off-by: Yufen Mo <yufengx.mo@intel.com>
---
test_plans/performance_thread_test_plan.rst | 30 ++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/test_plans/performance_thread_test_plan.rst b/test_plans/performance_thread_test_plan.rst
index 66de604d..33ef9bc7 100644
--- a/test_plans/performance_thread_test_plan.rst
+++ b/test_plans/performance_thread_test_plan.rst
@@ -30,9 +30,9 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
-======================================
+=====================================
Performance-thread performance Tests
-======================================
+=====================================
The Performance-Thread results are produced using ``l3fwd-thread`` application.
@@ -40,7 +40,7 @@ For more information about Performance Thread sameple applicaton please refer to
link: http://doc.dpdk.org/guides/sample_app_ug/performance_thread.html
Prerequisites
-==============
+=============
1. Hardware requirements:
@@ -130,7 +130,7 @@ Test Case: one_lcore_per_pcore performance
1. Launch app with descriptor parameters::
./examples/performance-thread/l3fwd-thread/x86_64-native-linuxapp-gcc/l3fwd-thread \
- -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \
+ -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \
--rx="(0,0,0,0)(1,0,0,0)" --tx="(1,0)" --no-lthread
(Note: option "--stat-lcore" is not enabled in the automation scripts)
@@ -142,15 +142,15 @@ Test Case: one_lcore_per_pcore performance
+-----+---------------------------------------------------------------------------------------------------+
| # | Command Line |
+=====+===================================================================================================+
- | 1 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 1 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(1,0,1,1) --tx="(2,0)(3,1) \ |
| | --no-lthread |
+-----+---------------------------------------------------------------------------------------------------+
- | 2 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 2 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(0,1,1,1)(1,0,2,2)(1,1,3,3)" \ |
| | --tx="(4,0)(5,1)(6,2)(7,3)" --no-lthread |
+-----+---------------------------------------------------------------------------------------------------+
- | 3 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 3 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(0,1,1,1)(0,2,2,2)(0,3,3,3)(1,0,4,4)(1,1,5,5)(1,2,6,6)(1,3,7,7)" \ |
| | --tx="(8,0)(9,1)(10,2)(11,3)(12,4)(13,5)(14,6)(15,7)" \ |
| | --no-lthread |
@@ -165,7 +165,7 @@ Test Case: n_lcore_per_pcore performance
1. Launch app with descriptor parameters::
./examples/performance-thread/l3fwd-thread/x86_64-native-linuxapp-gcc/l3fwd-thread \
- --lcores="2,(0-1)@0" -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \
+ --lcores="2,(0-1)@0" -- -P -p 3 --max-pkt-len 2500 \
--rx="(0,0,0,0)(1,0,0,0)" --tx="(1,0)"
(Note: option "--stat-lcore" is not enabled in the automation scripts)
@@ -177,15 +177,15 @@ Test Case: n_lcore_per_pcore performance
+-----+---------------------------------------------------------------------------------------------------+
| # | Command Line |
+=====+===================================================================================================+
- | 1 | ./l3fwd-thread -n 4 --lcores="(0-3)@0,4" -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 1 | ./l3fwd-thread -n 4 --lcores="(0-3)@0,4" -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(1,0,1,1) --tx="(2,0)(3,1) \ |
| | --no-lthread |
+-----+---------------------------------------------------------------------------------------------------+
- | 2 | ./l3fwd-thread -n 4 --lcores="(0-7)@0,8" -- -P -p 3-P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 2 | ./l3fwd-thread -n 4 --lcores="(0-7)@0,8" -- -P -p 3-P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(0,1,1,1)(1,0,2,2)(1,1,3,3)" \ |
| | --tx="(4,0)(5,1)(6,2)(7,3)" --no-lthread |
+-----+---------------------------------------------------------------------------------------------------+
- | 3 | ./l3fwd-thread -n 4 --lcores="(0-15)@0,16" -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 3 | ./l3fwd-thread -n 4 --lcores="(0-15)@0,16" -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(0,1,1,1)(0,2,2,2)(0,3,3,3)(1,0,4,4)(1,1,5,5)(1,2,6,6)(1,3,7,7)" \ |
| | --tx="(8,0)(9,1)(10,2)(11,3)(12,4)(13,5)(14,6)(15,7)" \ |
| | --no-lthread |
@@ -200,7 +200,7 @@ Test Case: n_lthread_per_pcore performance
1. Launch app with descriptor parameters::
./examples/performance-thread/l3fwd-thread/x86_64-native-linuxapp-gcc/l3fwd-thread \
- -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \
+ -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \
----tx="(0,0)" --tx="(0,0)"
(Note: option "--stat-lcore" is not enabled in the automation scripts)
@@ -212,14 +212,14 @@ Test Case: n_lthread_per_pcore performance
+-----+---------------------------------------------------------------------------------------------------+
| # | Command Line |
+=====+===================================================================================================+
- | 1 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 1 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(1,0,1,1) --tx="(0,0),(0,1)" |
+-----+---------------------------------------------------------------------------------------------------+
- | 2 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 2 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(0,1,0,1)(1,0,0,2)(1,1,0,3)" \ |
| | --tx="(0,0)(0,1)(0,2)(0,3)" |
+-----+---------------------------------------------------------------------------------------------------+
- | 3 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --enable-jumbo --max-pkt-len 2500 \ |
+ | 3 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ |
| | --rx="(0,0,0,0)(0,1,0,1)(0,2,0,2)(0,3,0,3)(1,0,0,4)(1,1,0,5)(1,2,0,6)(1,3,0,7)" \ |
| | --tx="(0,0)(0,1)(0,2)(0,3)(0,4)(0,5)(0,6)(0,7)" \ |
+-----+---------------------------------------------------------------------------------------------------+
--
2.21.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts][PATCH V2 2/2] tests/performance_thread: update script
2021-11-16 3:14 [dts][PATCH V2 0/2] tests/performance_thread: update test plan Yufen Mo
2021-11-16 3:14 ` [dts][PATCH V2 1/2] " Yufen Mo
@ 2021-11-16 3:14 ` Yufen Mo
2021-11-23 14:31 ` Tu, Lijuan
1 sibling, 1 reply; 4+ messages in thread
From: Yufen Mo @ 2021-11-16 3:14 UTC (permalink / raw)
To: dts; +Cc: Yufen Mo
update script based on dpdk commit 1aca4fdb0096bad59dc9ea879723fee59a8408dc.
Signed-off-by: Yufen Mo <yufengx.mo@intel.com>
---
tests/TestSuite_performance_thread.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_performance_thread.py b/tests/TestSuite_performance_thread.py
index fc29ef6a..f3c58f05 100644
--- a/tests/TestSuite_performance_thread.py
+++ b/tests/TestSuite_performance_thread.py
@@ -227,15 +227,15 @@ class TestPerformanceThread(TestCase):
self.result_table_print()
def test_perf_one_lcore_per_pcore(self):
- params = "-n 4 -- -P -p {} --enable-jumbo --max-pkt-len=2500 --no-lthread" .format(self.port_mask)
+ params = "-n 4 -- -P -p {} --max-pkt-len=2500 --no-lthread" .format(self.port_mask)
self.perf_test(params)
def test_perf_n_lthreads_per_pcore(self):
- params = "-n 4 -- -P -p {} --enable-jumbo --max-pkt-len=2500" .format(self.port_mask)
+ params = "-n 4 -- -P -p {} --max-pkt-len=2500" .format(self.port_mask)
self.perf_test(params)
def test_perf_n_lcore_per_pcore(self):
- params = "-- -P -p {} --enable-jumbo --max-pkt-len 2500 --no-lthread" .format(self.port_mask)
+ params = "-- -P -p {} --max-pkt-len 2500 --no-lthread" .format(self.port_mask)
self.perf_test(params)
def set_fields(self):
--
2.21.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [dts][PATCH V2 2/2] tests/performance_thread: update script
2021-11-16 3:14 ` [dts][PATCH V2 2/2] tests/performance_thread: update script Yufen Mo
@ 2021-11-23 14:31 ` Tu, Lijuan
0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-11-23 14:31 UTC (permalink / raw)
To: Mo, YufengX, dts; +Cc: Mo, YufengX
> -----Original Message-----
> From: Yufen Mo <yufengx.mo@intel.com>
> Sent: 2021年11月16日 11:14
> To: dts@dpdk.org
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V2 2/2] tests/performance_thread: update script
>
>
> update script based on dpdk commit
> 1aca4fdb0096bad59dc9ea879723fee59a8408dc.
>
> Signed-off-by: Yufen Mo <yufengx.mo@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-23 14:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 3:14 [dts][PATCH V2 0/2] tests/performance_thread: update test plan Yufen Mo
2021-11-16 3:14 ` [dts][PATCH V2 1/2] " Yufen Mo
2021-11-16 3:14 ` [dts][PATCH V2 2/2] tests/performance_thread: update script Yufen Mo
2021-11-23 14:31 ` Tu, Lijuan
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).