From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 426FA920C for ; Fri, 4 Dec 2015 19:34:58 +0100 (CET) Received: by wmww144 with SMTP id w144so72904516wmw.1 for ; Fri, 04 Dec 2015 10:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=V6vjecpwZCPDyDx8mHqqvxkeBfKa1jJbenyqwy9HJD4=; b=DfZbDvHzpUmZF2ac0a+0ghGJj501tJMjW328WzEvmyOAZ8+Ir2ev3k+Fu0v++IrY+P yl8sTjpxxsg5thGdr3X30lV73kSvQbD27AplZhP9AoeDghF59ujxV020pgXC3Xq8UALH WhTH5Sxeq+AYsx38oJvvuM9bypINpgDh5ZZkHEuLPuLCBTG30JGR0V4DxR7WwqPRyfqu SC8y5EutR2K51+5CIOMAqhoXwbXvL9BtWDNbllGkXN/ab0da8Po3H3btNx2zspmYUakq 6by0OPMnzeJtz/miwE/EtU03umvhCTylWQC1l7LsLLB3V2dkM2sL2CZtoS95eawEn4do SDXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=V6vjecpwZCPDyDx8mHqqvxkeBfKa1jJbenyqwy9HJD4=; b=MYl+SHYoaEKt8r+smk8m1n3RrHvo2y37q05N48AwAbshZV0i04PoV9JTz/tVoHVaP9 l34jT/KHSpnuos7u6qB4nO7CjDspPAoVzjmOctxrBeuWaj0uKZTKPp/P0e85DMGpcULo M8+R0Pl//ztTRpKqGjFr6PhQ8ZC4lvPxUUUQrFvyc4bAIfR24shE5+JQ759DLfMip5hg e4BJ5soIl4E/mPRovQYfYFGNoIt3aSM/i7IZq0e2FajRIxD22XokWkOMBeGe2MHkjl/9 8b6hA0GYekl9YOQL1r6GzmAX/8kfXOud9xdmJAzfgcOhp4y5UFmtRIJQRNq/1XmxR251 sV1A== X-Gm-Message-State: ALoCoQk+QKdjqijtIkMy3JJ6TPpVZ4FIORQW5ZSIu7/MJ9ECCbSP188p4QaqoAxLoCBeCj9Jdf3/ X-Received: by 10.194.220.233 with SMTP id pz9mr21221700wjc.95.1449254098089; Fri, 04 Dec 2015 10:34:58 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id a76sm4580041wma.19.2015.12.04.10.34.56 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 10:34:57 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Fri, 04 Dec 2015 19:33:47 +0100 Message-ID: <1850494.rdblc2vbpm@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151204100359.6b966aea@xeon-e3> References: <1449159683-7092-3-git-send-email-ian.betts@intel.com> <1449225265-14480-1-git-send-email-ian.betts@intel.com> <20151204100359.6b966aea@xeon-e3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Ian Betts Subject: Re: [dpdk-dev] [PATCH v8 0/4] examples: add performance-thread 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, 04 Dec 2015 18:34:58 -0000 2015-12-04 10:03, Stephen Hemminger: > Looks useful, but this needs more discussion. > > Maybe it should be a separate library not tied into DPDK so > it gets wider use and testing? Also what are the limitations? > What if an lthread did a system call? What about interaction > with rte_poll? > > Earlier attempts at lightweight threading (fibers) would be worth > looking into. http://c2.com/cgi/wiki?CooperativeThreading > Intel Thread Building Blocks > IBM NGPT (now defunct) > > There lots of hidden gotcha's here, like preemption (or not), > and limitations on interactions with other libraries. > > Intel may have some milestone to get it into DPDK 2.2 but > really this seems too late... Yes, sure it is too late to have enough discussions in 2.2 timeframe.