From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by dpdk.org (Postfix) with ESMTP id 1F35A20F for ; Fri, 6 Feb 2015 20:24:59 +0100 (CET) Received: by mail-lb0-f180.google.com with SMTP id b6so19827082lbj.11 for ; Fri, 06 Feb 2015 11:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rPlWlT4fTnAP6BT+XFpOgWR2EPpqtcOiX7rUGPuuvKc=; b=OGF/xYR4Pyqji1AWfcG5xYyzPvlCAjlUEZ9I02RDIC2cCB7R+NAfikB74mTb4Di9mW KjvtGHiqQUjJgOc9UKaF6pUI7hgv97Lk2uJw8x02hjFbz5/dU9px1W0Mp0TGV6vTXOqn 4eQA0yG/aqnp+lF7pH1/zVu+4E8yigAsHxe3IK+ANZ07e/pkq0ZQy6tfy+pCmokosJSF SdwXewP8gDwMEMWGEIZClMtab66fBgoTdo0NDsap0jB1W7e3ei/XPcBMbxtocOcSDtzm BtlMzcv8k4io25U2pE8S3OhsEv0/CpwcR2YubaWziU5w/w9C+pWVKpM01zMcl66Ykjio kwrg== MIME-Version: 1.0 X-Received: by 10.112.9.38 with SMTP id w6mr4420627lba.113.1423250698680; Fri, 06 Feb 2015 11:24:58 -0800 (PST) Received: by 10.152.44.161 with HTTP; Fri, 6 Feb 2015 11:24:58 -0800 (PST) In-Reply-To: <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> <54D4E21F.6000401@6wind.com> Date: Fri, 6 Feb 2015 14:24:58 -0500 Message-ID: From: Robert Sanford To: Olivier MATZ Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v4 00/17] support multi-pthread per core X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 19:24:59 -0000 On Fri, Feb 6, 2015 at 10:47 AM, Olivier MATZ wrote: > 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 > http://dpdk.org/ml/archives/dev/2014-December/009838.html