From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Discuss plugin threading model for DPDK. Date: Wed, 17 May 2017 17:46:08 +0200 Message-ID: <1702829.beLIOYnONr@xps> References: <1493810961-139469-1-git-send-email-harry.van.haaren@intel.com> <3696663.2JsLXSjzmN@xps> <15608565-A4D5-48C0-BD0D-4A4D399BE3D9@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Wiles, Keith" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3715B2C2F for ; Wed, 17 May 2017 17:46:10 +0200 (CEST) In-Reply-To: <15608565-A4D5-48C0-BD0D-4A4D399BE3D9@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/05/2017 16:51, Wiles, Keith: > > > On May 17, 2017, at 4:28 AM, Thomas Monjalon wrote: > > > > OK to register CPU needs for services (including interrupts processing). > > > > Then we could take this opportunity to review how threads are managed. > > We will have three types of cores: > > - not used > > - reserved for services > > - used for polling / application processing > > It is fine to reserve/define CPU from DPDK point of view. > > > > Then DPDK launch threads on cores. Maybe we should allow the application > > to choose how threads are launched and managed. > > Keith was talking about a plugin approach for thread management I think. > Thomas, > So, not to hijack this thread or maybe I misunderstood your comment I changed the subject. > > Maybe we can look at the plugin model for a DPDK threading model to allow someone to use their own threading solution. > > Is this required or just another enhancement? It is another enhancement. As the service core would be a new API, we should check that it is compatible with a possible evolution of the underlying thread model. And I think it can be a good opportunity to draw a complete view of how DPDK could evolve regarding the thread model.