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 DF1BEA046B for ; Fri, 26 Jul 2019 16:50:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 595C51C473; Fri, 26 Jul 2019 16:50:52 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 60ECB1B4B6 for ; Fri, 26 Jul 2019 16:50:51 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id f25so24891994pgv.10 for ; Fri, 26 Jul 2019 07:50:51 -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:subject:date:message-id :references:cc:in-reply-to; bh=V7zsAuCDQ/8UDM3Y17XCT9LBPJFjAdIpzkzJaCqiS1s=; b=O0rKApH0j/IdJyxLrOQTFfkALx0qF3F/Tuf4EakDvchRi+EVqNt9mnkBCQ16tzikTz XdKvfEsoIq/QvK/awzTJJbWRuVi6PvsSimQor9/XZAnrY0tJ5eEcyI9iGPdDHoyUoyhX VI92Y0Uwnfi7R4kt9Kteqt9cHOVbchqErffipcvaLfyd93zDJOgikfxcGFDFY+bAD0ol CTdBIXZLnhwEBi+7QznsgQeycmccv/cVEtqIeD5O1Vc1zUodAruvXK5X7Pbg69qzrOET KzHunntXcfFPGjvZ0GC/LW5IQIZzbfEasxYxbueGXPMy3KIPTrycxJI/10lm4z15/rQw Zwcw== 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 :subject:date:message-id:references:cc:in-reply-to; bh=V7zsAuCDQ/8UDM3Y17XCT9LBPJFjAdIpzkzJaCqiS1s=; b=hcV+k46Ks83NTggNP/79flF8POKDYFOkAX82lX14sqI+koBuDAm6g/U15xzG1jOEBW K1hRTeHU4jB0aOKoV6O0+uLMCdURMCdxFSFO29hjJoqiw8P/RHpD20M1W4VcPN/j1aGI MC7BGVAJSB5iYyELiANktBayQFCoT/z+3KBKWRLdJJd7XL/VofVe8l2PnyM/9kv82Zwu dfrhE2QkOlW8Cf23q6HbN1O4qkgdEHv3FlebsUohC459y3MtXTgCJKBObMYU2YxWXVd6 6H8u6YrqQ5dQCDxghPI74eU/p0z8+7Yc7DPMQW2ot0cJih+BXC5OmrKWwo+nzYEdFLzk QRVg== X-Gm-Message-State: APjAAAUjpu6m6faixMvOHUj7GZp/lmFkl+EhzxCVuntRYdIMLw9xyCFv JgJyugQ1k7ufKAJsAdHx+5pNBYFv X-Google-Smtp-Source: APXvYqzw1zYLZe+trrL9Y5EYBJv0zzum4vW5kR+W/cjXyWxkDgHfvgjSYtJjdHUUk0c/OQrXKomXvQ== X-Received: by 2002:a63:e20a:: with SMTP id q10mr90031557pgh.24.1564152650232; Fri, 26 Jul 2019 07:50:50 -0700 (PDT) Received: from [192.168.4.161] ([180.218.6.59]) by smtp.gmail.com with ESMTPSA id c130sm51414431pfc.184.2019.07.26.07.50.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 07:50:49 -0700 (PDT) From: =?utf-8?B?5pu+5oe35oGp?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Fri, 26 Jul 2019 22:50:47 +0800 Message-Id: <202CB4D5-3F29-44C1-AC0F-BD5AD8C91782@csie.io> References: Cc: users@dpdk.org In-Reply-To: X-Mailer: iPhone Mail (16E227) Subject: Re: [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 > *************************************