From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f173.google.com (mail-it1-f173.google.com [209.85.166.173]) by dpdk.org (Postfix) with ESMTP id F181F5F2A for ; Fri, 2 Nov 2018 06:15:25 +0100 (CET) Received: by mail-it1-f173.google.com with SMTP id p64-v6so1708051itp.0 for ; Thu, 01 Nov 2018 22:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=EvLRWn7QLE5unmP3tV7sVAX9PS+YD/v7pt9R8rMIlP4=; b=ZzemTyTmRpsk+gVSKpHnJBBKaSb8WQHFSYDkmFoEz4XFETMFUR3UCNSNQUokVAbm4W HOPLhxm9MSi51hlW+8V9205jnoeIvNpL5xNDFwvxDmSKE+R1apfeBLuw2C/GvnTF6AQ1 WOPsZnGSuzDurxMP3tISdJUj3BFKk6bqxlZX5RmTl25aKXeK4A1L8u3M4S+aUke+BU1D +GaIsSNa8gnc2CAa3K5Xv4Clmw6Ql5vRVW9SrSk8ceArYpXxjyax9b6p0NopZV7BFUJT meyFd64D6Przu4/5VeoYYkMABta7L7lOW3RpDRHXARQcm2bC0267tEF9RlDNOTJe+hXg IVZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EvLRWn7QLE5unmP3tV7sVAX9PS+YD/v7pt9R8rMIlP4=; b=JhGLmQokRpZqmqA8U0LZHn8Dux9mApTpBSJyjAKC9dbAor9hqhjigqyxD/X3hkMf97 4ks5wbc2xqT8amTDqsjsBMdw5ysoBYwIQHpJM9HtnWJqrD72xaYKd+6e4lbEnIqi34HC z3s4ClHzBVTxoKZEvmo1Ya/G8o9UHtClXrHU+KX5uP1dagZ1GwvlOSJUuY8HxaV2HqHY DNigPHW9LXv6UOWwv7zUhlqJ0L5ozVS/Eh3LhW3oLVBvSkiXXPCO3WcHaH0WF2zCx6AN tEMGbxqfU1GNIc068+i+1kCGeJX5A+ln6cxPuGKrHPjW/qYxHo5HOX5D3Cl2FMcRBns0 3krg== X-Gm-Message-State: AGRZ1gKMtFqMoAsApl5d8jEUSORvuRcHw6uZmn9ckFhudmPOKaqBq7Kp kb4/emXOEHJl5wxzolB2ylPFSXWCFZCtagbZzhx6rwJZ X-Google-Smtp-Source: AJdET5fMvvekMtqu7IA38NRddjToXf5GWD9iT5imYo20ltUGhT06uHTy9tFXysx0SI1o/2p3Gr86paOXynBbp9ITAno= X-Received: by 2002:a02:5f18:: with SMTP id r24-v6mr9258377jab.10.1541135724941; Thu, 01 Nov 2018 22:15:24 -0700 (PDT) MIME-Version: 1.0 From: Sungho Hong Date: Thu, 1 Nov 2018 22:15:13 -0700 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] How to distribute socket_id from logical cores? 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: , X-List-Received-Date: Fri, 02 Nov 2018 05:15:26 -0000 Hello DPDK experts I am trying to assign 8 rx-queue with each different socket ids from different logical cores. For example I am using for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id++) socketid = rte_lcore_to_socket_id(lcore_id); to get the socket id and trying to assign the pools. However, even with the examples in DPDK. All I'am getting is socket number 0 or 1 If you look at the logs you can see that I have assigned memory pool with different queues and different logical core but the socket id will not change. queue 1 mbuf_pool socketid : lcore:2,* sock:0*, nb_mbuf:12800 queue 2 mbuf_pool socketid : lcore:3,* sock:0*, nb_mbuf:12800 queue 3 mbuf_pool socketid : lcore:4,* sock:0*, nb_mbuf:12800 queue 4 mbuf_pool socketid : lcore:5, *sock:0,* nb_mbuf:12800 queue 5 mbuf_pool socketid : lcore:6, sock:0, nb_mbuf:12800 queue 6 mbuf_pool socketid : lcore:7, sock:0, nb_mbuf:12800 queue 7 mbuf_pool socketid : lcore:8, sock:1, nb_mbuf:12800 Any idea of how to allocate with different socket numbers other than zero?