dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Cunming Liang <cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH v8 18/19] ring: add sched_yield to avoid spin forever
Date: Tue, 17 Feb 2015 10:08:15 +0800	[thread overview]
Message-ID: <1424138896-28618-19-git-send-email-cunming.liang@intel.com> (raw)
In-Reply-To: <1424138896-28618-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Add a sched_yield() syscall if the thread spins for too long, waiting other thread to finish its operations on the ring.
That gives pre-empted thread a chance to proceed and finish with ring enqnue/dequeue operation.
The purpose is to reduce contention on the ring. By ring_perf_test, it doesn't shows additional perf penalty.

Signed-off-by: Cunming Liang <cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 v6 changes:
   rename RTE_RING_PAUSE_REP to RTE_RING_PAUSE_REP_COUNT
   set default value as '0' in configure file

 v5 changes:
   add RTE_RING_PAUSE_REP to config file

 v4 changes:
   update and add more comments on sched_yield()

 v3 changes:
   new patch adding sched_yield() in rte_ring to avoid long spin

 config/common_bsdapp       |  1 +
 config/common_linuxapp     |  1 +
 lib/librte_ring/rte_ring.h | 31 +++++++++++++++++++++++++++----
 3 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/config/common_bsdapp b/config/common_bsdapp
index 57bacb8..b9a9eeb 100644
--- a/config/common_bsdapp
+++ b/config/common_bsdapp
@@ -234,6 +234,7 @@ CONFIG_RTE_PMD_PACKET_PREFETCH=y
 CONFIG_RTE_LIBRTE_RING=y
 CONFIG_RTE_LIBRTE_RING_DEBUG=n
 CONFIG_RTE_RING_SPLIT_PROD_CONS=n
+CONFIG_RTE_RING_PAUSE_REP_COUNT=0
 
 #
 # Compile librte_mempool
diff --git a/config/common_linuxapp b/config/common_linuxapp
index d428f84..abca5ff 100644
--- a/config/common_linuxapp
+++ b/config/common_linuxapp
@@ -242,6 +242,7 @@ CONFIG_RTE_PMD_PACKET_PREFETCH=y
 CONFIG_RTE_LIBRTE_RING=y
 CONFIG_RTE_LIBRTE_RING_DEBUG=n
 CONFIG_RTE_RING_SPLIT_PROD_CONS=n
+CONFIG_RTE_RING_PAUSE_REP_COUNT=0
 
 #
 # Compile librte_mempool
diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h
index 39bacdd..9bc1d5e 100644
--- a/lib/librte_ring/rte_ring.h
+++ b/lib/librte_ring/rte_ring.h
@@ -127,6 +127,11 @@ struct rte_ring_debug_stats {
 #define RTE_RING_NAMESIZE 32 /**< The maximum length of a ring name. */
 #define RTE_RING_MZ_PREFIX "RG_"
 
+#ifndef RTE_RING_PAUSE_REP_COUNT
+#define RTE_RING_PAUSE_REP_COUNT 0 /**< yield after pause num of times, no yield
+				    * if RTE_RING_PAUSE_REP not defined. */
+#endif
+
 /**
  * An RTE ring structure.
  *
@@ -410,7 +415,7 @@ __rte_ring_mp_do_enqueue(struct rte_ring *r, void * const *obj_table,
 	uint32_t cons_tail, free_entries;
 	const unsigned max = n;
 	int success;
-	unsigned i;
+	unsigned i, rep = 0;
 	uint32_t mask = r->prod.mask;
 	int ret;
 
@@ -468,9 +473,18 @@ __rte_ring_mp_do_enqueue(struct rte_ring *r, void * const *obj_table,
 	 * If there are other enqueues in progress that preceded us,
 	 * we need to wait for them to complete
 	 */
-	while (unlikely(r->prod.tail != prod_head))
+	while (unlikely(r->prod.tail != prod_head)) {
 		rte_pause();
 
+		/* Set RTE_RING_PAUSE_REP_COUNT to avoid spin too long waiting
+		 * for other thread finish. It gives pre-empted thread a chance
+		 * to proceed and finish with ring denqnue operation. */
+		if (RTE_RING_PAUSE_REP_COUNT &&
+		    ++rep == RTE_RING_PAUSE_REP_COUNT) {
+			rep = 0;
+			sched_yield();
+		}
+	}
 	r->prod.tail = prod_next;
 	return ret;
 }
@@ -589,7 +603,7 @@ __rte_ring_mc_do_dequeue(struct rte_ring *r, void **obj_table,
 	uint32_t cons_next, entries;
 	const unsigned max = n;
 	int success;
-	unsigned i;
+	unsigned i, rep = 0;
 	uint32_t mask = r->prod.mask;
 
 	/* move cons.head atomically */
@@ -634,9 +648,18 @@ __rte_ring_mc_do_dequeue(struct rte_ring *r, void **obj_table,
 	 * If there are other dequeues in progress that preceded us,
 	 * we need to wait for them to complete
 	 */
-	while (unlikely(r->cons.tail != cons_head))
+	while (unlikely(r->cons.tail != cons_head)) {
 		rte_pause();
 
+		/* Set RTE_RING_PAUSE_REP_COUNT to avoid spin too long waiting
+		 * for other thread finish. It gives pre-empted thread a chance
+		 * to proceed and finish with ring denqnue operation. */
+		if (RTE_RING_PAUSE_REP_COUNT &&
+		    ++rep == RTE_RING_PAUSE_REP_COUNT) {
+			rep = 0;
+			sched_yield();
+		}
+	}
 	__RING_STAT_ADD(r, deq_success, n);
 	r->cons.tail = cons_next;
 
-- 
1.8.1.4

  parent reply	other threads:[~2015-02-17  2:08 UTC|newest]

Thread overview: 254+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1417589628-43666-1-git-send-email-cunming.liang@intel.com>
     [not found] ` <1417589628-43666-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-22  8:16   ` [PATCH v1 00/15] support multi-pthread per core Cunming Liang
     [not found]     ` <1421914598-2747-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-22  8:16       ` [PATCH v1 01/15] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-01-22  8:16       ` [PATCH v1 02/15] eal: new eal option '--lcores' for cpu assignment Cunming Liang
     [not found]         ` <1421914598-2747-3-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-22 12:19           ` Bruce Richardson
2015-01-22 14:34             ` Ananyev, Konstantin
     [not found]               ` <2601191342CEEE43887BDE71AB977258213DEF7B-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-22 15:17                 ` Wodkowski, PawelX
     [not found]                   ` <F6F2A6264E145F47A18AB6DF8E87425D12B8C01A-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-25 15:34                     ` Liang, Cunming
2015-01-22 15:23                 ` Bruce Richardson
2015-01-23  0:39             ` Liang, Cunming
2015-01-22  8:16       ` [PATCH v1 03/15] eal: add support parsing socket_id from cpuset Cunming Liang
2015-01-22  8:16       ` [PATCH v1 04/15] eal: new TLS definition and API declaration Cunming Liang
2015-01-22  8:16       ` [PATCH v1 05/15] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-01-22  8:16       ` [PATCH v1 06/15] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-01-22  8:16       ` [PATCH v1 07/15] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-01-22  8:16       ` [PATCH v1 08/15] enic: fix re-define freebsd compile complain Cunming Liang
2015-01-22  8:16       ` [PATCH v1 09/15] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
     [not found]         ` <1421914598-2747-10-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-25 23:04           ` Stephen Hemminger
     [not found]             ` <20150125230449.3dbf4306-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org>
2015-01-27  4:55               ` Liang, Cunming
2015-01-26 13:48           ` Stephen Hemminger
2015-01-22  8:16       ` [PATCH v1 10/15] log: fix the gap to support non-EAL thread Cunming Liang
2015-01-22  8:16       ` [PATCH v1 11/15] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-01-22  8:16       ` [PATCH v1 12/15] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-01-22  8:16       ` [PATCH v1 13/15] mempool: add support to non-EAL thread Cunming Liang
     [not found]         ` <1421914598-2747-14-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-22  9:52           ` Walukiewicz, Miroslaw
     [not found]             ` <7C4248CAE043B144B1CD242D275626532FE3BEE9-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-22 12:20               ` Liang, Cunming
     [not found]                 ` <D0158A423229094DA7ABF71CF2FA0DA3118A975E-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-22 12:45                   ` Walukiewicz, Miroslaw
     [not found]                     ` <7C4248CAE043B144B1CD242D275626532FE3C144-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-22 14:04                       ` Ananyev, Konstantin
2015-01-22  8:16       ` [PATCH v1 14/15] ring: " Cunming Liang
2015-01-22  8:16       ` [PATCH v1 15/15] timer: " Cunming Liang
     [not found]         ` <1421914598-2747-16-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-22  9:58           ` Walukiewicz, Miroslaw
     [not found]             ` <7C4248CAE043B144B1CD242D275626532FE3BF0A-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-22 12:32               ` Liang, Cunming
2015-01-22 14:14       ` [PATCH v1 00/15] support multi-pthread per core Ananyev, Konstantin
2015-01-28  6:59       ` [PATCH v2 " Cunming Liang
     [not found]         ` <1422428365-5875-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-28  6:59           ` [PATCH v2 01/15] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-01-28  6:59           ` [PATCH v2 02/15] eal: new eal option '--lcores' for cpu assignment Cunming Liang
2015-01-28  6:59           ` [PATCH v2 03/15] eal: add support parsing socket_id from cpuset Cunming Liang
2015-01-28  6:59           ` [PATCH v2 04/15] eal: new TLS definition and API declaration Cunming Liang
2015-01-28  6:59           ` [PATCH v2 05/15] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-01-28  6:59           ` [PATCH v2 06/15] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-01-28  6:59           ` [PATCH v2 07/15] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-01-28  6:59           ` [PATCH v2 08/15] enic: fix re-define freebsd compile complain Cunming Liang
2015-01-28  6:59           ` [PATCH v2 09/15] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
2015-01-28  6:59           ` [PATCH v2 10/15] log: fix the gap to support non-EAL thread Cunming Liang
2015-01-28  6:59           ` [PATCH v2 11/15] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-01-28  6:59           ` [PATCH v2 12/15] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-01-28  6:59           ` [PATCH v2 13/15] mempool: add support to non-EAL thread Cunming Liang
2015-01-28  6:59           ` [PATCH v2 14/15] ring: " Cunming Liang
2015-01-28  6:59           ` [PATCH v2 15/15] timer: " Cunming Liang
2015-01-29  0:24           ` [PATCH v3 00/16] support multi-pthread per core Cunming Liang
     [not found]             ` <1422491072-5114-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-29  0:24               ` [PATCH v3 01/16] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-01-29  0:24               ` [PATCH v3 02/16] eal: new eal option '--lcores' for cpu assignment Cunming Liang
2015-01-29  0:24               ` [PATCH v3 03/16] eal: add support parsing socket_id from cpuset Cunming Liang
2015-01-29  0:24               ` [PATCH v3 04/16] eal: new TLS definition and API declaration Cunming Liang
2015-01-29  0:24               ` [PATCH v3 05/16] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-01-29  0:24               ` [PATCH v3 06/16] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-01-29  0:24               ` [PATCH v3 07/16] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-01-29  0:24               ` [PATCH v3 08/16] enic: fix re-define freebsd compile complain Cunming Liang
2015-01-29  0:24               ` [PATCH v3 09/16] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
2015-01-29  0:24               ` [PATCH v3 10/16] log: fix the gap to support non-EAL thread Cunming Liang
2015-01-29  0:24               ` [PATCH v3 11/16] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-01-29  0:24               ` [PATCH v3 12/16] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-01-29  0:24               ` [PATCH v3 13/16] mempool: add support to non-EAL thread Cunming Liang
2015-01-29  0:24               ` [PATCH v3 14/16] ring: " Cunming Liang
2015-01-29  0:24               ` [PATCH v3 15/16] ring: add sched_yield to avoid spin forever Cunming Liang
2015-01-29  0:24               ` [PATCH v3 16/16] timer: add support to non-EAL thread Cunming Liang
2015-02-02  2:02               ` [PATCH v4 00/17] support multi-pthread per core Cunming Liang
     [not found]                 ` <1422842559-13617-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-02  2:02                   ` [PATCH v4 01/17] eal: add cpuset into per EAL thread lcore_config Cunming Liang
     [not found]                     ` <1422842559-13617-2-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 19:59                       ` Olivier MATZ
     [not found]                         ` <54D7C02F.1080308-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 11:33                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7CE1-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:06                               ` Olivier MATZ
     [not found]                                 ` <54D8E918.2040302-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 17:37                                   ` Ananyev, Konstantin
2015-02-10  0:45                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 02/17] eal: new eal option '--lcores' for cpu assignment Cunming Liang
     [not found]                     ` <1422842559-13617-3-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 19:59                       ` Olivier MATZ
     [not found]                         ` <54D7C032.5090602-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 11:45                           ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 03/17] eal: fix wrong strnlen() return value in 32bit icc Cunming Liang
     [not found]                     ` <1422842559-13617-4-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 19:59                       ` Olivier MATZ
     [not found]                         ` <54D7C03D.8030204-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 11:57                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7D34-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:13                               ` Olivier MATZ
     [not found]                                 ` <54D8EAAC.5030501-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  0:54                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 04/17] eal: add support parsing socket_id from cpuset Cunming Liang
     [not found]                     ` <1422842559-13617-5-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C042.6060104-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 12:26                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7D72-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:16                               ` Olivier MATZ
2015-02-02  2:02                   ` [PATCH v4 05/17] eal: new TLS definition and API declaration Cunming Liang
     [not found]                     ` <1422842559-13617-6-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C045.4070701-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 12:45                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7DA9-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:26                               ` Olivier MATZ
     [not found]                                 ` <54D8EDA8.7030303-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  2:45                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 06/17] eal: add eal_common_thread.c for common thread API Cunming Liang
     [not found]                     ` <1422842559-13617-7-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C04C.70308-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 13:12                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7DF6-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:30                               ` Olivier MATZ
     [not found]                                 ` <54D8EE9B.3060000-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  2:46                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 07/17] eal: add rte_gettid() to acquire unique system tid Cunming Liang
     [not found]                     ` <1422842559-13617-8-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C05F.9090501-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  6:57                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D8371-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-10 17:16                               ` Olivier MATZ
2015-02-02  2:02                   ` [PATCH v4 08/17] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
     [not found]                     ` <1422842559-13617-9-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C069.4020900-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 13:48                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7E4A-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:36                               ` Olivier MATZ
     [not found]                                 ` <54D8F02B.20400-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  2:51                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 09/17] enic: fix re-define freebsd compile complain Cunming Liang
     [not found]                     ` <1422842559-13617-10-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C06F.2090206-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 13:50                           ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 10/17] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
     [not found]                     ` <1422842559-13617-11-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:00                       ` Olivier MATZ
     [not found]                         ` <54D7C074.20204-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 14:08                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7E9C-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:43                               ` Olivier MATZ
2015-02-02  2:02                   ` [PATCH v4 11/17] log: fix the gap to support non-EAL thread Cunming Liang
     [not found]                     ` <1422842559-13617-12-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:01                       ` Olivier MATZ
     [not found]                         ` <54D7C082.80803-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 14:19                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7ECD-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:44                               ` Olivier MATZ
     [not found]                                 ` <54D8F210.1080904-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  2:56                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 12/17] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
     [not found]                     ` <1422842559-13617-13-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:01                       ` Olivier MATZ
     [not found]                         ` <54D7C088.9080401-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 14:24                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7EF2-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:49                               ` Olivier MATZ
     [not found]                                 ` <54D8F323.6010008-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  2:53                                   ` Liang, Cunming
     [not found]                                     ` <D0158A423229094DA7ABF71CF2FA0DA3118D81F4-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-10 11:15                                       ` Ananyev, Konstantin
2015-02-02  2:02                   ` [PATCH v4 13/17] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-02-02  2:02                   ` [PATCH v4 14/17] mempool: add support to non-EAL thread Cunming Liang
     [not found]                     ` <1422842559-13617-15-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-08 20:01                       ` Olivier MATZ
     [not found]                         ` <54D7C099.60009-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 14:41                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D7F20-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09 17:52                               ` Olivier MATZ
     [not found]                                 ` <54D8F3C8.4000101-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-10  2:57                                   ` Liang, Cunming
2015-02-02  2:02                   ` [PATCH v4 15/17] ring: " Cunming Liang
2015-02-02  2:02                   ` [PATCH v4 16/17] ring: add sched_yield to avoid spin forever Cunming Liang
     [not found]                     ` <1422842559-13617-17-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-06 15:19                       ` Olivier MATZ
     [not found]                         ` <54D4DB9F.6080601-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-09 15:43                           ` Ananyev, Konstantin
     [not found]                             ` <2601191342CEEE43887BDE71AB977258213E461C-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-10 16:53                               ` Olivier MATZ
2015-02-02  2:02                   ` [PATCH v4 17/17] timer: add support to non-EAL thread Cunming Liang
     [not found]                     ` <1422842559-13617-18-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-10 17:45                       ` Olivier MATZ
     [not found]                         ` <54DA43AC.2030108-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-11  6:25                           ` Liang, Cunming
     [not found]                             ` <D0158A423229094DA7ABF71CF2FA0DA3118D8B5B-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-11 17:21                               ` Olivier MATZ
     [not found]                                 ` <54DB8FB0.2060303-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-12  0:29                                   ` Liang, Cunming
2015-02-02 11:02                   ` [PATCH v4 00/17] support multi-pthread per core Ananyev, Konstantin
2015-02-06 15:47                   ` Olivier MATZ
     [not found]                     ` <54D4E21F.6000401-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-06 19:24                       ` Robert Sanford
2015-02-06 19:59                         ` Olivier MATZ
2015-02-12  8:16                   ` [PATCH v5 00/19] " Cunming Liang
     [not found]                     ` <1423728996-3004-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-12  8:16                       ` [PATCH v5 01/19] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 02/19] eal: fix PAGE_SIZE redefine complaint on freebsd Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 03/19] eal: new eal option '--lcores' for cpu assignment Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 04/19] eal: fix wrong strnlen() return value in 32bit icc Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 05/19] eal: add support parsing socket_id from cpuset Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 06/19] eal: new TLS definition and API declaration Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 07/19] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 08/19] eal: standardize init sequence between linux and bsd Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 09/19] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 10/19] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 11/19] enic: fix re-define freebsd compile complain Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 12/19] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 13/19] log: fix the gap to support non-EAL thread Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 14/19] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 15/19] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 16/19] mempool: add support to non-EAL thread Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 17/19] ring: " Cunming Liang
2015-02-12  8:16                       ` [PATCH v5 18/19] ring: add sched_yield to avoid spin forever Cunming Liang
     [not found]                         ` <1423728996-3004-19-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-12 11:16                           ` Olivier MATZ
     [not found]                             ` <54DC8B78.2040009-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-12 13:05                               ` Liang, Cunming
     [not found]                                 ` <D0158A423229094DA7ABF71CF2FA0DA3118D95B1-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-12 13:08                                   ` Ananyev, Konstantin
     [not found]                                     ` <2601191342CEEE43887BDE71AB977258213E5500-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-12 13:11                                       ` Bruce Richardson
2015-02-12  8:16                       ` [PATCH v5 19/19] timer: add support to non-EAL thread Cunming Liang
     [not found]                         ` <1423728996-3004-20-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-12 13:54                           ` Ananyev, Konstantin
     [not found]                             ` <2601191342CEEE43887BDE71AB977258213E5585-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-13  0:55                               ` Liang, Cunming
     [not found]                                 ` <D0158A423229094DA7ABF71CF2FA0DA3118D97A2-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-13  9:57                                   ` Olivier MATZ
2015-02-13  1:38                       ` [PATCH v6 00/19] support multi-pthread per core Cunming Liang
     [not found]                         ` <1423791501-1555-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13  1:38                           ` [PATCH v6 01/19] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 02/19] eal: fix PAGE_SIZE redefine complaint on freebsd Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 03/19] eal: new eal option '--lcores' for cpu assignment Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 04/19] eal: fix wrong strnlen() return value in 32bit icc Cunming Liang
     [not found]                             ` <1423791501-1555-5-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 13:49                               ` Neil Horman
     [not found]                                 ` <20150213134933.GA13495-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-13 14:05                                   ` Olivier MATZ
     [not found]                                     ` <54DE04B8.6080708-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-13 17:55                                       ` Neil Horman
     [not found]                                         ` <20150213175523.GA17402-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-13 18:11                                           ` Ananyev, Konstantin
     [not found]                                             ` <2601191342CEEE43887BDE71AB977258213E64ED-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-13 20:21                                               ` Neil Horman
2015-02-15  1:32                                           ` Liang, Cunming
     [not found]                                             ` <D0158A423229094DA7ABF71CF2FA0DA3118DA511-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-16 14:47                                               ` Olivier MATZ
2015-02-13  1:38                           ` [PATCH v6 05/19] eal: add support parsing socket_id from cpuset Cunming Liang
     [not found]                             ` <1423791501-1555-6-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 13:51                               ` Neil Horman
     [not found]                                 ` <20150213135152.GB13495-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-15  1:16                                   ` Liang, Cunming
2015-02-13  1:38                           ` [PATCH v6 06/19] eal: new TLS definition and API declaration Cunming Liang
     [not found]                             ` <1423791501-1555-7-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 13:58                               ` Neil Horman
     [not found]                                 ` <20150213135807.GC13495-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-15  1:13                                   ` Liang, Cunming
     [not found]                                     ` <D0158A423229094DA7ABF71CF2FA0DA3118DA4D0-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-15  5:17                                       ` Neil Horman
     [not found]                                         ` <20150215051700.GA4534-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-15  6:01                                           ` Liang, Cunming
2015-02-13  1:38                           ` [PATCH v6 07/19] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 08/19] eal: standardize init sequence between linux and bsd Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 09/19] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 10/19] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 11/19] enic: fix re-define freebsd compile complain Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 12/19] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
     [not found]                             ` <1423791501-1555-13-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 17:57                               ` Neil Horman
     [not found]                                 ` <20150213175708.GB17402-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-15  0:43                                   ` Liang, Cunming
     [not found]                                     ` <D0158A423229094DA7ABF71CF2FA0DA3118DA492-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-15 14:09                                       ` Neil Horman
     [not found]                                         ` <20150215140917.GA6302-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-02-16  1:55                                           ` Liang, Cunming
2015-02-13  1:38                           ` [PATCH v6 13/19] log: fix the gap to support non-EAL thread Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 14/19] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 15/19] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 16/19] mempool: add support to non-EAL thread Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 17/19] ring: " Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 18/19] ring: add sched_yield to avoid spin forever Cunming Liang
2015-02-13  1:38                           ` [PATCH v6 19/19] timer: add support to non-EAL thread Cunming Liang
2015-02-13 10:06                           ` [PATCH v6 00/19] support multi-pthread per core Olivier MATZ
     [not found]                             ` <54DDCC9C.8080809-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-15  1:44                               ` Liang, Cunming
2015-02-13 10:10                           ` Ananyev, Konstantin
2015-02-15  3:15                           ` [PATCH v7 " Cunming Liang
     [not found]                             ` <1423970145-31985-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-15  3:15                               ` [PATCH v7 01/19] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 02/19] eal: fix PAGE_SIZE redefine complaint on freebsd Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 03/19] eal: new eal option '--lcores' for cpu assignment Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 04/19] eal: fix wrong strnlen() return value in 32bit icc Cunming Liang
     [not found]                                 ` <1423970145-31985-5-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-16 14:51                                   ` Olivier MATZ
     [not found]                                     ` <54E203FB.8070703-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-17  1:29                                       ` Liang, Cunming
2015-02-15  3:15                               ` [PATCH v7 05/19] eal: add public function parsing socket_id from cpuid Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 06/19] eal: new TLS definition and API declaration Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 07/19] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 08/19] eal: standardize init sequence between linux and bsd Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 09/19] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 10/19] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 11/19] enic: fix re-define freebsd compile complain Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 12/19] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 13/19] log: fix the gap to support non-EAL thread Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 14/19] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 15/19] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 16/19] mempool: add support to non-EAL thread Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 17/19] ring: " Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 18/19] ring: add sched_yield to avoid spin forever Cunming Liang
2015-02-15  3:15                               ` [PATCH v7 19/19] timer: add support to non-EAL thread Cunming Liang
2015-02-17  2:07                               ` [PATCH v8 00/19] support multi-pthread per core Cunming Liang
     [not found]                                 ` <1424138896-28618-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-17  2:07                                   ` [PATCH v8 01/19] eal: add cpuset into per EAL thread lcore_config Cunming Liang
2015-02-17  2:07                                   ` [PATCH v8 02/19] eal: fix PAGE_SIZE redefine complaint on freebsd Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 03/19] eal: new eal option '--lcores' for cpu assignment Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 04/19] eal: fix wrong strnlen() return value in 32bit icc Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 05/19] eal: add public function parsing socket_id from cpu_id Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 06/19] eal: new TLS definition and API declaration Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 07/19] eal: add eal_common_thread.c for common thread API Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 08/19] eal: standardize init sequence between linux and bsd Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 09/19] eal: add rte_gettid() to acquire unique system tid Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 10/19] eal: apply affinity of EAL thread by assigned cpuset Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 11/19] enic: fix re-define freebsd compile complain Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 12/19] malloc: fix the issue of SOCKET_ID_ANY Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 13/19] log: fix the gap to support non-EAL thread Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 14/19] eal: set _lcore_id and _socket_id to (-1) by default Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 15/19] eal: fix recursive spinlock in non-EAL thraed Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 16/19] mempool: add support to non-EAL thread Cunming Liang
2015-02-17  2:08                                   ` [PATCH v8 17/19] ring: " Cunming Liang
2015-02-17  2:08                                   ` Cunming Liang [this message]
2015-02-17  2:08                                   ` [PATCH v8 19/19] timer: " Cunming Liang
2015-02-17 10:19                                   ` [PATCH v8 00/19] support multi-pthread per core Ananyev, Konstantin
     [not found]                                     ` <2601191342CEEE43887BDE71AB977258213EE0A9-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-24 18:53                                       ` Thomas Monjalon
2015-02-25  1:25                                         ` Liang, Cunming
2015-02-17  2:20                               ` [PATCH v7 " Wan, Qun

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=1424138896-28618-19-git-send-email-cunming.liang@intel.com \
    --to=cunming.liang-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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).