From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A182AA046B for ; Fri, 26 Jul 2019 16:56:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7261A1C47D; Fri, 26 Jul 2019 16:56:06 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id CF5241B964 for ; Fri, 26 Jul 2019 16:56:04 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id k189so5864425pgk.13 for ; Fri, 26 Jul 2019 07:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csie-io.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:date:subject:message-id :cc:to; bh=3KXfgLmc6/hWfOIBjhTeMzeR56ZsRCFc3QSBNBhj5rY=; b=wdvOrbLXbwnG03J/A2kj7b36TETxbpi2IZbrYNS5AUkcWLMw/MIigM3ApuA4a0Zfzd mYdimYGUa9lgNTmkgmv84AVpSiWm7Jx47VM0jxQIYBhMrTiKwnHxJyMOMeleuKh22Dgj EUnpXO8IJtUW0soDx9igofsVT0k2ha6ia+kpso51UI5+cKdPlHCo+Rn/llQq9SkAB3it pvQ+toIvEgCMitAdhNiHTkszuNeWC6eEZWR0eLMQ2fN5zMerS69Ru4MNeZh6kp58DGqs Y9cB//U9WkX+5T+uhYEaxeq9EJRDwAdkzjJ7nOUjlATMUQRLqrPg1A/3kV3XbE4TahXk CBZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:cc:to; bh=3KXfgLmc6/hWfOIBjhTeMzeR56ZsRCFc3QSBNBhj5rY=; b=RpHwz1/26Fa1m0YUaaromj3C4E3Adp5oisi3eYmiDyUlIeFPqN6H98XEx/eCrQ21PK iDMCU671kne/XykwWsGLU7AoNaqwsU/jXxVIqLhl7thueZYU67yOyPJafmHpbtOnLPUr OoW74m0gDksV53jSUK0ShhVHTQuMgzm/toeAFCbSOMQczczY6/krymkgDB7J/xixzsR5 pqENsJJTz/J70lz3VcXTQ/ggrK9Z7rn00JTulF/vxfNKgCPwPc/etBg+UfGLvxUalKZY 7V0TA7jv9VpBupqvCoco5ECitWhVQZw+VpmXpDWvS6QBfA6L0lfkCkbvrRfV2iLUGVdo 1T3A== X-Gm-Message-State: APjAAAUCO4xH7jPLyIxsTqBpIgf6BIQaByLfz6KT7O1KLz9OnJ00OBcQ aHF6uGw9Os2N8NWusyupKwgPlEx+ X-Google-Smtp-Source: APXvYqw0hqG5+x5KrlMD0rHC32JIFtTSmh0B+6Y7nIYUed1gqKHveQzd6rhgcg0TSpVe1Gc7bBUIfA== X-Received: by 2002:a62:5253:: with SMTP id g80mr22478420pfb.179.1564152963416; Fri, 26 Jul 2019 07:56:03 -0700 (PDT) Received: from [192.168.4.161] ([180.218.6.59]) by smtp.gmail.com with ESMTPSA id l26sm50679741pgb.90.2019.07.26.07.56.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 07:56:02 -0700 (PDT) From: =?utf-8?B?5pu+5oe35oGp?= Mime-Version: 1.0 (1.0) Date: Fri, 26 Jul 2019 22:56:01 +0800 Message-Id: <060CA953-FDAA-497B-B037-C9DF87C0A74E@csie.io> Cc: users@dpdk.org To: contact@filipjaniszewski.com X-Mailer: iPhone Mail (16E227) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK and isolcpus X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Filip, Do you use Mellanox NIC? In my experience, rte_lcore_count only counts those lcores that are not isol= ated when using mlx5 driver. And Intel ixgbe counts lcores correctly even I use isolcpus flag BR,=20 Sent from my iPhone > From: Filip Janiszewski > To: "users@dpdk.org" > Subject: [dpdk-users] DPDK and isolcpus > Message-ID: > > Content-Type: text/plain; charset=3Diso-8859-15 >=20 > Hi, >=20 > I've configured a bunch of my box cores with isolcpus and nohz_full in > the attempt to squeeze a little more performance out of them, but, > apparently I can't use those core in DPDK anymore as it seems that > rte_lcore_count reports only core which are not isolated, also I can't > launch any thread (rte_eal_remote_launch) on those cores. >=20 > In my understanding > (http://doc.dpdk.org/spp-18.02/setup/performance_opt.html) I should be > able to "Use the isolcpus Linux kernel parameter to isolate them from > Linux scheduler to reduce context switches. It prevents workloads of > other processes than DPDK running on reserved cores with isolcpus > parameter." but can't make it work. >=20 > Which is the correct way to bind DPDK threads to isolated cpus? >=20 > Thanks >=20 > --=20 > BR, Filip > +48 666 369 823 >=20 >=20 > End of users Digest, Vol 196, Issue 5 > *************************************