* [dts] [PATCH v1] tests: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py
@ 2020-05-25 1:02 Yinan
2020-06-01 3:12 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Yinan @ 2020-05-25 1:02 UTC (permalink / raw)
To: dts; +Cc: Wang Yinan
From: Wang Yinan <yinan.wang@intel.com>
Signed-off-by: Wang Yinan <yinan.wang@intel.com>
---
tests/TestSuite_vhost_dequeue_zero_copy.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py b/tests/TestSuite_vhost_dequeue_zero_copy.py
index 8fca47a..500204b 100644
--- a/tests/TestSuite_vhost_dequeue_zero_copy.py
+++ b/tests/TestSuite_vhost_dequeue_zero_copy.py
@@ -363,7 +363,7 @@ class TestVhostDequeueZeroCopy(TestCase):
value_without_zero_copy = self.big_pkt_record['dequeue-zero-copy=0']
self.verify(value_with_zero_copy != 0 and value_without_zero_copy != 0,
'can not get the value of big pkts, please check self.frame_sizes')
- self.verify(value_with_zero_copy - value_without_zero_copy >= value_with_zero_copy*0.1,
+ self.verify(value_with_zero_copy - value_without_zero_copy >= value_with_zero_copy*0.05,
'the drop with dequeue-zero-copy=0 is not as expected')
def close_all_testpmd_and_vm(self):
@@ -447,7 +447,7 @@ class TestVhostDequeueZeroCopy(TestCase):
self.nb_cores = 4
self.queue_number = 16
self.prepare_test_evn(vhost_txfreet_mode='normal', vhost_zero_copy=True,
- vhost_client_mode=True, vm_testpmd_fwd_mode='rxonly', packed_mode=False)
+ vhost_client_mode=False, vm_testpmd_fwd_mode='rxonly', packed_mode=False)
self.send_and_verify_throughput(cycle="before relaunch", fwd_mode="rxonly")
# relaunch testpmd at virtio side in VM for driver reloading
@@ -462,7 +462,7 @@ class TestVhostDequeueZeroCopy(TestCase):
self.nb_cores = 4
self.queue_number = 16
self.prepare_test_evn(vhost_txfreet_mode='normal', vhost_zero_copy=True,
- vhost_client_mode=True, vm_testpmd_fwd_mode='rxonly', packed_mode=True)
+ vhost_client_mode=False, vm_testpmd_fwd_mode='rxonly', packed_mode=True)
self.send_and_verify_throughput(cycle="before relaunch", fwd_mode="rxonly")
# relaunch testpmd at virtio side in VM for driver reloading
@@ -477,7 +477,7 @@ class TestVhostDequeueZeroCopy(TestCase):
self.nb_cores = 4
self.queue_number = 16
self.prepare_test_evn(vhost_txfreet_mode='maximum', vhost_zero_copy=True,
- vhost_client_mode=True, vm_testpmd_fwd_mode='mac', packed_mode=False)
+ vhost_client_mode=False, vm_testpmd_fwd_mode='mac', packed_mode=False)
self.send_and_verify_throughput(cycle='dequeue-zero-copy=1')
self.result_table_print()
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH v1] tests: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py
2020-05-25 1:02 [dts] [PATCH v1] tests: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py Yinan
@ 2020-06-01 3:12 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-06-01 3:12 UTC (permalink / raw)
To: Wang, Yinan, dts; +Cc: Wang, Yinan
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Monday, May 25, 2020 9:03 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] tests: turn off server mode option since dpdk code
> change in TestSuite_vhost_dequeue_zero_copy.py
>
> From: Wang Yinan <yinan.wang@intel.com>
>
> Signed-off-by: Wang Yinan <yinan.wang@intel.com>
> ---
> tests/TestSuite_vhost_dequeue_zero_copy.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py
> b/tests/TestSuite_vhost_dequeue_zero_copy.py
> index 8fca47a..500204b 100644
> --- a/tests/TestSuite_vhost_dequeue_zero_copy.py
> +++ b/tests/TestSuite_vhost_dequeue_zero_copy.py
> @@ -363,7 +363,7 @@ class TestVhostDequeueZeroCopy(TestCase):
> value_without_zero_copy = self.big_pkt_record['dequeue-zero-
> copy=0']
> self.verify(value_with_zero_copy != 0 and value_without_zero_copy != 0,
> 'can not get the value of big pkts, please check self.frame_sizes')
> - self.verify(value_with_zero_copy - value_without_zero_copy >=
> value_with_zero_copy*0.1,
> + self.verify(value_with_zero_copy - value_without_zero_copy >=
> + value_with_zero_copy*0.05,
> 'the drop with dequeue-zero-copy=0 is not as expected')
>
> def close_all_testpmd_and_vm(self):
> @@ -447,7 +447,7 @@ class TestVhostDequeueZeroCopy(TestCase):
> self.nb_cores = 4
> self.queue_number = 16
> self.prepare_test_evn(vhost_txfreet_mode='normal',
> vhost_zero_copy=True,
> - vhost_client_mode=True, vm_testpmd_fwd_mode='rxonly',
> packed_mode=False)
> + vhost_client_mode=False,
> + vm_testpmd_fwd_mode='rxonly', packed_mode=False)
> self.send_and_verify_throughput(cycle="before relaunch",
> fwd_mode="rxonly")
>
> # relaunch testpmd at virtio side in VM for driver reloading @@ -462,7
> +462,7 @@ class TestVhostDequeueZeroCopy(TestCase):
> self.nb_cores = 4
> self.queue_number = 16
> self.prepare_test_evn(vhost_txfreet_mode='normal',
> vhost_zero_copy=True,
> - vhost_client_mode=True, vm_testpmd_fwd_mode='rxonly',
> packed_mode=True)
> + vhost_client_mode=False,
> + vm_testpmd_fwd_mode='rxonly', packed_mode=True)
> self.send_and_verify_throughput(cycle="before relaunch",
> fwd_mode="rxonly")
>
> # relaunch testpmd at virtio side in VM for driver reloading @@ -477,7
> +477,7 @@ class TestVhostDequeueZeroCopy(TestCase):
> self.nb_cores = 4
> self.queue_number = 16
> self.prepare_test_evn(vhost_txfreet_mode='maximum',
> vhost_zero_copy=True,
> - vhost_client_mode=True, vm_testpmd_fwd_mode='mac',
> packed_mode=False)
> + vhost_client_mode=False, vm_testpmd_fwd_mode='mac',
> + packed_mode=False)
> self.send_and_verify_throughput(cycle='dequeue-zero-copy=1')
> self.result_table_print()
>
> --
> 2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-01 3:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 1:02 [dts] [PATCH v1] tests: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py Yinan
2020-06-01 3:12 ` 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).