From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A943A42A02 for ; Wed, 26 Apr 2023 13:38:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A556410FA; Wed, 26 Apr 2023 13:38:18 +0200 (CEST) Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com [209.85.221.181]) by mails.dpdk.org (Postfix) with ESMTP id 8335540DDA for ; Wed, 26 Apr 2023 13:38:16 +0200 (CEST) Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-440403d3517so2805537e0c.0 for ; Wed, 26 Apr 2023 04:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682509095; x=1685101095; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=woLMAvpNx/MhYV1h4EnxeCxPnLqoJWjAk3zrdK8Nvvk=; b=GpRE7Mz3NXynOOxPuFj5B/Fuv6CF1V4Pf9fOEegDPC6qNs/nDJyguH3ZPxry7ydju+ M9y5RNVHtNo/gJ9sR0Q8HoargnERx6W+TcCTPGtYmClP/c0QcVOb52i9MjXmCQWAjZSl DfXzzyn/K0YzbJ9DDMnNzsnr9fafo7cuOnRy3g/h5DOgmQebydkrPp/EvLA2+9Lkd4OI asihmlz6BH4OKlQ47WxREo6nhLt1NqrbBzApaWSkD9+REAmCEGzhJLbEOLYtWA19Rpk3 fe0oniTzWWzcfQEvLPlz75JM4PlrVr9iBrMfJIxaKsvRC5XL+tqzat6a6sZ2NTo3ODj1 eToQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682509095; x=1685101095; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=woLMAvpNx/MhYV1h4EnxeCxPnLqoJWjAk3zrdK8Nvvk=; b=Qxc2zcy1n5GNw+Mi2g1DNNz7SE+eOlEYkD7XzIH3211j489Yz+ePMdhVbmIWCAHODr zNbm/ANGeZA4ukkHnGH4GZjBX/bSqLhuhyG+qqtV2lf3PMzzozcAmbmRY6lO8+AtW/rU F+tJUGn53Vg22IPIlGDlVjerjxLpy5zUgp7lM44plWpzdHpJhQ61ArFx8dK54BCIiNe6 fVAJCFAoS1f3LL7uaVDj9tX6S6BrRwU71jAchY8j76fLpM52H2PrF37jbM+wFd8XMfTQ OWRK5I/G7SNEDoSeuFSwj1u8LGKTCEs6VAm3m91qOv4nsWqrCyTr3HjJL4KmltPaF83o JCaw== X-Gm-Message-State: AAQBX9cZcIfUQ6B/ohAZmjHG7VTi7HD2BaPl4xdTVsJo4BoLrSIj1LQn XMQJV/5MIRZ4BBorACHFjX/O38cV0rFJ0hOKfKvPolze X-Google-Smtp-Source: AKy350btHl4YTHs2t6byLGvbpUbIpdDXmovvheDG6MbHNVXAWFYiCQNltoSytm50a61UHsrM9hXzPUhjlt1UKczKARQ= X-Received: by 2002:a1f:4e06:0:b0:436:6a4a:68ab with SMTP id c6-20020a1f4e06000000b004366a4a68abmr6085419vkb.7.1682509095438; Wed, 26 Apr 2023 04:38:15 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?7J207J6s7ZmN?= Date: Wed, 26 Apr 2023 20:37:39 +0900 Message-ID: Subject: quick question about core affinity To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000f70e3605fa3bac3a" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000f70e3605fa3bac3a Content-Type: text/plain; charset="UTF-8" Hello, I'm new to DPDK I've tried to run samples and got a query about core affinity. As I understand, if a lcore has affinity to a CPU set, it will run only on the CPU set. And I thought If I run a dpdk sample with core 0-2, none process can use the core (0-2). but when I try to run a simple app(not dpdk app) with taskset command, it runs on 0, 1, 2 cores.. what I want was if I use cores for dpdk apps none other process can access the cores.. but it seems possible.. I've googled to find out this but I couldn't find anything I wanted. Is there anyone can explain about this...? BR. Jaehong Lee --000000000000f70e3605fa3bac3a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, I'm new to DPDK

I've tri= ed to run samples and got a query about core affinity.
As I under= stand, if a lcore has affinity to a CPU set, it will run only on the CPU se= t.
And I thought If I run a dpdk sample with core 0-2, none proce= ss can use the core (0-2). but when I try to run a simple app(not dpdk app)= with taskset command, it runs on 0, 1, 2 cores..=C2=A0

what I want was if I use cores for dpdk apps none other process can a= ccess the cores.. but it seems possible..=C2=A0

I&= #39;ve googled to find out this but I couldn't find anything I wanted.<= /div>
Is there anyone can explain about this...?


BR.
Jaehong Lee
--000000000000f70e3605fa3bac3a--