From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id D017595A5 for ; Wed, 27 Jan 2016 12:04:42 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id n5so20633739wmn.0 for ; Wed, 27 Jan 2016 03:04:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=cpDcI1sEqA/LMAT/kkEj/eirJiYJ8/BKEY1MDx0w2Kw=; b=SrDjnbfmGZi5qLlv8p7NVlOpdXYhNEflDAmDnxLyGwfTpLAw2oRXSZA+ewINv60uo1 p/qbtuZ/Uj68bopbKtBzcnmFEKAK+vLcvBzwWSADCZLi24wY3mKUtgsBe5g69C6djoA0 SqI13cB0EngeHom2KfY8kYpCkdUnF2RKxknNmgqFuyjJJI3C7bmh17xXr4DnACWu0rVI e+Rbwb9usZ9QNHoZcXVfLgspVlUqsu0qyR05kR3meuSC8H7bfXZLpfadCvqPEC+6gNL5 LH3D/3KyGofefw7gqudge4hTM1LFV5D0uBz1Ji4pEMM2Kg4EgrVHmocLUnwQifi5s2I5 BISg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=cpDcI1sEqA/LMAT/kkEj/eirJiYJ8/BKEY1MDx0w2Kw=; b=bBI6MplJUfhcyM1l9/L8Tkcb0LuejP5a46deFPveReJLrqHhOsoqZ/ppbWqeMbfC+E eniEufvPa9lZ9afvS69k4Vrmg/YIdt5FmNHdoVVVxRF4qnNW0gLRAOG5TBwCVjSJ3EKa xk7GYR+lqo1Cz4DyUshNf/KhQuMwbj76jw0KMRZ0T/xM4xDZr2QZmcuPD1Pv3kitBP9s +zVe/uxzTPkkZv2+xHQ8OIrX9GEuTE0dtSOBATgWIecXJbtPm05R32vEDeMGkE3duEUA 2GTsepoLy//qaMKqJCJgtn4O6ou/983LzehuJ2l0UuJPV9f28WcNBKnBVDuWjcPIJgxz R5qQ== X-Gm-Message-State: AG10YOQ32awwJ68ORFMc6634FaJfTmd7deqmchjb1gwXL3gakpKDbbDt6P8Q30mfqljkxaNesa7IfR3K83jIRg== X-Received: by 10.28.150.72 with SMTP id y69mr28007571wmd.17.1453892682699; Wed, 27 Jan 2016 03:04:42 -0800 (PST) MIME-Version: 1.0 From: Hamed Zaghaghi Date: Wed, 27 Jan 2016 11:04:33 +0000 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] Problem With Multi Queue 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: Wed, 27 Jan 2016 11:04:43 -0000 Hi, I'm implementing an offline packet feature extraction using DPDK. There is a NIC as described bellow: 0000:0b:00.0 '82599EB 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio unused=ixgbe 10-Gigabit (about 2.5Milion packets) data is receiving per second and my application extract features from each packet. Because of time consuming nature of feature extraction this traffic can't be handled by one core. So the problem arise when I distribute traffic between 4 queues and assign one core to each queue to handle the traffic. But results show that multi-queue does not help. Case 1: Number of cores and queues: 1 Traffic: 10-Gigabit (2.2M packets) Dropped packets: almost 25% of traffic Case 2: Number of cores and queues: 4 Traffic: 10-Gigabit (2.2M packets) Dropped packets: almost 25% of traffic I'm using ETH_MQ_RX_RSS for mq_mode of rxmode and each core receives packets and processes them but output of rte_eth_xstats_get shows something weird. Totoal packets: 10,000,000 - rx_good_packets, 7,831,965 - rx_good_bytes, 3,999,612,189 - rx_errors, 2,168,035 - rx_mbuf_allocation_errors, 0 - rx_q0_packets, 7,831,965 - rx_q0_bytes, 3,999,612,189 - rx_q0_errors, 0 - rx_q1_packets, 0 - rx_q1_bytes, 0 - rx_q1_errors, 0 - rx_q2_packets, 0 - rx_q2_bytes, 0 - rx_q2_errors, 0 - rx_q3_packets, 0 - rx_q3_bytes, 0 - rx_q3_errors, 0 Does this behaviour is normal? Do I configure ports incorrectly? Thanks in advance for your attention Best regards, -- Hamed Zaghaghi