From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bbn0109.outbound.protection.outlook.com [157.56.111.109]) by dpdk.org (Postfix) with ESMTP id 80C012EDA for ; Fri, 5 Jun 2015 11:23:33 +0200 (CEST) Received: from CO2PR05CA046.namprd05.prod.outlook.com (10.141.241.174) by BN3PR0501MB1299.namprd05.prod.outlook.com (25.160.183.153) with Microsoft SMTP Server (TLS) id 15.1.184.17; Fri, 5 Jun 2015 09:23:31 +0000 Received: from BL2FFO11OLC008.protection.gbl (2a01:111:f400:7c09::168) by CO2PR05CA046.outlook.office365.com (2a01:111:e400:1429::46) with Microsoft SMTP Server (TLS) id 15.1.184.17 via Frontend Transport; Fri, 5 Jun 2015 09:23:31 +0000 Authentication-Results: spf=pass (sender IP is 192.65.42.19) smtp.mailfrom=tekcomms.com; dpdk.org; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of tekcomms.com designates 192.65.42.19 as permitted sender) receiver=protection.outlook.com; client-ip=192.65.42.19; helo=mx.danahertm.com; Received: from mx.danahertm.com (192.65.42.19) by BL2FFO11OLC008.mail.protection.outlook.com (10.173.160.143) with Microsoft SMTP Server (TLS) id 15.1.184.11 via Frontend Transport; Fri, 5 Jun 2015 09:23:30 +0000 Received: from US-BV-EXH01-P.global.tektronix.net (128.181.11.14) by US-BV-EXE02-P.global.tektronix.net (128.181.15.52) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 5 Jun 2015 02:23:24 -0700 Received: from US-BV-EXM02-P.global.tektronix.net ([169.254.4.214]) by US-BV-EXH01-P.global.tektronix.net ([128.181.11.14]) with mapi id 14.03.0224.002; Fri, 5 Jun 2015 02:23:25 -0700 From: "Zhou, Tianlin" To: "dev@dpdk.org" Thread-Topic: Poor Virtio PMD TX Performance Thread-Index: AdCfbH3K+T6mdxm0Q3KlByXb8Zi/KQ== Date: Fri, 5 Jun 2015 09:23:24 +0000 Message-ID: <7D6C3D7847A9FE4E8EB311EAC72727A04EB1447D@US-BV-EXM02-P.global.tektronix.net> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [134.64.203.88] MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC008; 1:mGKyWxOdpiUPjiy781kHSSe9JGZeZl66KS0LkwkwT7inctjJiYH/gAxT9RZGaxnBOATnx6uA9Z5rgtabqLeM4DQf2BkQNjzdEolj+ZT0OcnqI//uogeMgN+aOkAJDze4sYOfXR8sH53FNY4R++4fXBG+hXDooFAItJW/FdvMnvB2MAfgZBOcNJOF9sb+kQdOn4mmgcYeAc+P+0I7b4hd+797vPHUqzjg8HbcSc14Ix+2Bbc8Rmrxb6yiEDK4GDwb7Z5ZAn7+dkzIdAIjv5fWJg== X-Forefront-Antispam-Report: CIP:192.65.42.19; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(438002)(189002)(199003)(87936001)(229853001)(22756005)(2351001)(512954002)(55846006)(2930100002)(102836002)(2656002)(16236675004)(46102003)(86362001)(66066001)(2920100001)(54356999)(50986999)(15975445007)(84326002)(19580395003)(106466001)(6806004)(19300405004)(189998001)(92566002)(16796002)(107886002)(5001970100001)(33656002)(5001920100001)(2501003)(110136002)(19625215002)(77156002)(62966003)(450100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1299; H:mx.danahertm.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0501MB1299; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:BN3PR0501MB1299; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0501MB1299; X-Forefront-PRVS: 05986C03E0 X-OriginatorOrg: tekcomms.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2015 09:23:30.0799 (UTC) X-MS-Exchange-CrossTenant-Id: 937985d5-3f80-4fc9-be29-0bccc11e8b77 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=937985d5-3f80-4fc9-be29-0bccc11e8b77; Ip=[192.65.42.19]; Helo=[mx.danahertm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1299 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Poor Virtio PMD TX Performance 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: Fri, 05 Jun 2015 09:23:34 -0000 Hi there, We tested TX performance of Virtio PMD by DPDK l2fwd, but found even at 60K= PPS (720B packet length) TX rate, there is 1/1000 packet dropping rate. The log shows "No free tx descriptors to transmit" in Virtio PMD. Increasing TX queues by modifying DPDK l2fwd can decreases packet dropping = rate, but can't ensure no packet dropping unless retransmitting packets tha= t can't be sent successfully. Oppositely, RX rate can be 600KPPS without packet dropping. Test Env - Host CPU: 4 cores, 2127.770MHz - Host Memory: 8G - Host OS: Linux dw-2 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 = UTC 2014 x86_64 x86_64 x86_64 GNU/Linux - Guest CPU: 4 cores, 2127.770MHz - Guest Memory: 4G - Guest OS: fedora20 Anybody here face the same problem? -Tianlin