From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v4 00/17] support multi-pthread per core Date: Fri, 06 Feb 2015 16:47:43 +0100 Message-ID: <54D4E21F.6000401@6wind.com> References: <1422491072-5114-1-git-send-email-cunming.liang@intel.com> <1422842559-13617-1-git-send-email-cunming.liang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Cunming Liang , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1422842559-13617-1-git-send-email-cunming.liang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi, On 02/02/2015 03:02 AM, Cunming Liang wrote: > v4 changes: > new patch fixing strnlen() invalid return in 32bit icc [03/17] > update and add more comments on sched_yield() [16/17] > > v3 changes: > new patch adding sched_yield() in rte_ring to avoid long spin [16/17] > > v2 changes: > add '-' support for EAL option '--lcores' [02/17] > > The patch series contain the enhancements of EAL and fixes for libraries > to run multi-pthreads(either EAL or non-EAL thread) per physical core. > Two major changes list as below: > - Extend the core affinity of each EAL thread to 1:n. > Each lcore stands for a EAL thread rather than a logical core. > The change adds new EAL option to allow static lcore to cpuset assginment. > Then a lcore(EAL thread) affinity to a cpuset, original 1:1 mapping is the special case. > - Fix the libraries to allow running on any non-EAL thread. > It fix the gaps running libraries in non-EAL thread(dynamic created by user). > Each fix libraries take care the case of rte_lcore_id() >= RTE_MAX_LCORE. Sorry if I missed something, but after reading the mailing list threads about this subject, I cannot find an explanation about what problem this series try to solve. Can you give some details about which use-case require to have multiple pthreads per cpu? What are the advantage of doing so? Regards, Olivier