From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) by dpdk.org (Postfix) with ESMTP id 6A42630E for ; Tue, 28 May 2013 11:22:38 +0200 (CEST) Received: by mail-we0-f172.google.com with SMTP id w62so5055183wes.31 for ; Tue, 28 May 2013 02:22:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id:x-gm-message-state; bh=gKztCN8jEC1Br1SKUmqRvNpg9Dph/n+rQ4sMQSiQAJ0=; b=Az3GSZyKiTqK6ZobGR0pO+LtwHhm8XMhDWf3fzRpjBXIfeVdBS7eNaM8FsgPaXYuUM 2g1SyP7nXKwxrWhj51ckHqyTJwA7Ob6neSGJeV11VBEYE+i1iTcqrxL2y3GJju0UZJdy 9Sk5PeeOSkO0OFRK4E3NzE1PaXiJETJqBv5jC9CUSZCFYI9oGT6evWg/CsagTOkZ4uHy kla3cyjJgYISZodguDIEvpGPHBrfdMJa9geMvopjbnbB6Uwn6HE3qbQdLPxUaQeuB4k1 mzmDuAlKVsOhT+fV0eOyUJOxndHwctYFovRSU6zg1gRVpJ8HtAoxfnhBnqdpCS7koLT1 XCnA== X-Received: by 10.194.179.198 with SMTP id di6mr11718523wjc.10.1369732963951; Tue, 28 May 2013 02:22:43 -0700 (PDT) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id x13sm22985911wib.3.2013.05.28.02.22.41 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 May 2013 02:22:42 -0700 (PDT) From: Thomas Monjalon Organization: 6WIND To: Shinae Woo Date: Tue, 28 May 2013 11:22:44 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201305281122.44387.thomas.monjalon@6wind.com> X-Gm-Message-State: ALoCoQmYv7/zb10Kb5mCpe+aCI4XpTTPfeW5TDSKJEqtO2lxCIVF6vmM3Y6f+qT7K9+I3SGsR8zj Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Performances are not scale with multiple ports X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 09:22:38 -0000 Hello, 28/05/2013 04:26, Shinae Woo : > ./build/l2fwd -cf -n3 -- -p3 > ./build/l2fwd -cf -n3 -- -pf > > But both cases, the aggregated performance are not scale. [..] > The question is that > 1. How I can achieve each port receiving full 14.88Mpps ? > What might be the bottleneck in current environment? > 2. Why the performance using multiple ports is not scale? > I guess doubling ports shows the doubling the receiving performance, > but it shows not. I am curious about what is limiting the packet > receivng performance. In order to scale with line-rate performance, you probably have to adjust the configuration to your hardware. Several parameters should be considered: - PCIe bus (is it fast enough ?) - NUMA sockets (copy between NUMA nodes could slow forwarding) - CPU threads (classic SMP is better than hyperthreading) To make it short, you could check your PCI bus and your CPU configuration. For the latter, /proc/cpuinfo should provide enough information with fields "physical id" and "core id". -- Thomas