DPDK patches and discussions
 help / color / mirror / Atom feed
From: Kevin Laatz <kevin.laatz@intel.com>
To: dev@dpdk.org
Cc: Kevin Laatz <kevin.laatz@intel.com>,
	ferruh.yigit@intel.com, declan.doherty@intel.com
Subject: [dpdk-dev] [PATCH 3/3] test: increase rx and tx default ring sizes
Date: Fri, 12 Jan 2018 10:30:53 +0000	[thread overview]
Message-ID: <20180112103053.47110-4-kevin.laatz@intel.com> (raw)
In-Reply-To: <20180112103053.47110-1-kevin.laatz@intel.com>

Increase the default RX/TX ring sizes to 1024/1024 to
accommodate for NICs with higher throughput (25G, 40G etc)

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>

---
v2:
    fixed typo in commit message

Cc: ferruh.yigit@intel.com
Cc: declan.doherty@intel.com
---
 test/test/test_kni.c                | 4 ++--
 test/test/test_link_bonding.c       | 4 ++--
 test/test/test_link_bonding_mode4.c | 4 ++--
 test/test/test_pmd_perf.c           | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/test/test/test_kni.c b/test/test/test_kni.c
index 539d231..f6fb1a2 100644
--- a/test/test/test_kni.c
+++ b/test/test/test_kni.c
@@ -23,8 +23,8 @@
 #define PKT_BURST_SZ     32
 #define MEMPOOL_CACHE_SZ PKT_BURST_SZ
 #define SOCKET           0
-#define NB_RXD           128
-#define NB_TXD           512
+#define NB_RXD           1024
+#define NB_TXD           1024
 #define KNI_TIMEOUT_MS   5000 /* ms */
 
 #define IFCONFIG      "/sbin/ifconfig "
diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c
index 64e24a8..588acc8 100644
--- a/test/test/test_link_bonding.c
+++ b/test/test/test_link_bonding.c
@@ -30,13 +30,13 @@
 
 #define TEST_MAX_NUMBER_OF_PORTS (6)
 
-#define RX_RING_SIZE 128
+#define RX_RING_SIZE 1024
 #define RX_FREE_THRESH 32
 #define RX_PTHRESH 8
 #define RX_HTHRESH 8
 #define RX_WTHRESH 0
 
-#define TX_RING_SIZE 512
+#define TX_RING_SIZE 1024
 #define TX_FREE_THRESH 32
 #define TX_PTHRESH 32
 #define TX_HTHRESH 0
diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c
index fd2e920..426877a 100644
--- a/test/test/test_link_bonding_mode4.c
+++ b/test/test/test_link_bonding_mode4.c
@@ -33,8 +33,8 @@
 
 #define SLAVE_COUNT (4)
 
-#define RX_RING_SIZE 128
-#define TX_RING_SIZE 512
+#define RX_RING_SIZE 1024
+#define TX_RING_SIZE 1024
 
 #define MBUF_CACHE_SIZE         (250)
 #define BURST_SIZE              (32)
diff --git a/test/test/test_pmd_perf.c b/test/test/test_pmd_perf.c
index 7399294..ee148bc 100644
--- a/test/test/test_pmd_perf.c
+++ b/test/test/test_pmd_perf.c
@@ -19,8 +19,8 @@
 #define NB_SOCKETS                      (2)
 #define MEMPOOL_CACHE_SIZE 250
 #define MAX_PKT_BURST                   (32)
-#define RTE_TEST_RX_DESC_DEFAULT        (128)
-#define RTE_TEST_TX_DESC_DEFAULT        (512)
+#define RTE_TEST_RX_DESC_DEFAULT        (1024)
+#define RTE_TEST_TX_DESC_DEFAULT        (1024)
 #define RTE_PORT_ALL            (~(uint16_t)0x0)
 
 /* how long test would take at full line rate */
-- 
2.9.4

  parent reply	other threads:[~2018-01-12 10:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11 17:24 [dpdk-dev] [PATCH 0/3] Increase default RX/TX " Kevin Laatz
2018-01-11 17:24 ` [dpdk-dev] [PATCH 1/3] examples: increase rx and tx default " Kevin Laatz
2018-01-11 17:24 ` [dpdk-dev] [PATCH 2/3] app/testpmd: increase rx and tx default ring size Kevin Laatz
2018-01-11 17:24 ` [dpdk-dev] [PATCH 2/3] app/testpmd: increase rx and tx default ring sizes Kevin Laatz
2018-01-11 17:24 ` [dpdk-dev] [PATCH 3/3] test: " Kevin Laatz
2018-01-12 10:30 ` [dpdk-dev] [PATCH 0/3] Increase default RX/TX " Kevin Laatz
2018-01-12 10:30   ` [dpdk-dev] [PATCH 1/3] examples: increase rx and tx default " Kevin Laatz
2018-01-12 10:30   ` [dpdk-dev] [PATCH 2/3] app/testpmd: " Kevin Laatz
2018-01-12 10:30   ` Kevin Laatz [this message]
2018-01-12 10:48   ` [dpdk-dev] [PATCH v2 0/3] Increase default RX/TX " Kevin Laatz
2018-01-12 10:48     ` [dpdk-dev] [PATCH v2 1/3] examples: increase rx and tx default " Kevin Laatz
2018-01-12 10:48     ` [dpdk-dev] [PATCH v2 2/3] app/testpmd: " Kevin Laatz
2018-01-12 10:48     ` [dpdk-dev] [PATCH v2 3/3] test: " Kevin Laatz
2018-01-16 13:13     ` [dpdk-dev] [PATCH v2 0/3] Increase default RX/TX " Adrien Mazarguil
2018-01-29 16:25       ` Bruce Richardson
2018-01-30 13:48         ` Adrien Mazarguil
2018-01-31 23:12           ` Thomas Monjalon

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=20180112103053.47110-4-kevin.laatz@intel.com \
    --to=kevin.laatz@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.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).