From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by dpdk.org (Postfix) with ESMTP id 2A4E31E33 for ; Tue, 8 Nov 2016 07:46:46 +0100 (CET) Received: from homiemail-a31.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by hapkido.dreamhost.com (Postfix) with ESMTP id 5B36A889B6 for ; Mon, 7 Nov 2016 22:44:07 -0800 (PST) Received: from homiemail-a31.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTP id 612A21406B10; Mon, 7 Nov 2016 22:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=aclectic.com; h=from :content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; s=aclectic.com; bh=0dXaucq/FwrCDSfTJ5vXWxY1 Qq8=; b=BseNxAfLbSraYZ+tQuLBfS2L8kezqgbOE4YZflbsLJLl0D3zwMSxZVsR uog22UIRq7Jzw8KNM8XxFdWuxDVosrodEoWS3Ib4yzeFMT9zcjaPB2/hsClVEQCx n3l0K7e2y9SnJCg1nKcXNCpeu6Zd8S5X1yUg9nVj4h6Bg7nvsTE= Received: from [192.168.42.133] (184-23-16-60.dsl.static.fusionbroadband.com [184.23.16.60]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jason.lefley@aclectic.com) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTPSA id 2A03A1406B0B; Mon, 7 Nov 2016 22:39:06 -0800 (PST) From: Jason Lefley Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 7 Nov 2016 22:39:04 -0800 Message-Id: Cc: "" To: users@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Subject: [dpdk-users] Using DPDK EAL with existing multi-threaded application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2016 06:46:47 -0000 I am working on leveraging SPDK (which internally uses EAL from DPDK) = from an existing application that uses Intel=E2=80=99s TBB. I do not = need to use EAL for multithreading but SPDK does require at least huge = page support and PCI access from EAL. I noticed that if I try to use TBB=E2=80=99s parallel_for() after I have = called rte_eal_init(), then the TBB operation doesn=E2=80=99t actually = run in parallel. If I remove the call to rte_eal_init(), the TBB = operations work as expected however I then cannot use SPDK. Does anyone = have any input regarding how I can keep my existing multi-threaded = application working as intended as I integrate SPDK/DPDK? Thanks=