From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 7A3FB594F for ; Mon, 17 Feb 2014 18:51:01 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by azsmga101.ch.intel.com with ESMTP; 17 Feb 2014 09:52:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,862,1384329600"; d="scan'208";a="476615604" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2014 09:52:21 -0800 Received: from orsmsx156.amr.corp.intel.com (10.22.240.22) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 17 Feb 2014 09:52:21 -0800 Received: from orsmsx102.amr.corp.intel.com ([169.254.1.111]) by ORSMSX156.amr.corp.intel.com ([169.254.8.214]) with mapi id 14.03.0123.003; Mon, 17 Feb 2014 09:52:21 -0800 From: "Venkatesan, Venky" To: Stephen Hemminger , jigsaw Thread-Topic: [dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ? Thread-Index: AQHPK0m3hCuSaFX1xUqOsxjrFk010Jq57QKAgABA1gD//4yJ0A== Date: Mon, 17 Feb 2014 17:52:20 +0000 Message-ID: <1FD9B82B8BF2CF418D9A1000154491D973FEEC89@ORSMSX102.amr.corp.intel.com> References: <5D695A7F6F10504DBD9B9187395A21797C6E384A@ORSMSX103.amr.corp.intel.com> <20140216110241.0e789750@nehalam.linuxnetplumber.net> <20140217084150.4a2d1f4c@nehalam.linuxnetplumber.net> In-Reply-To: <20140217084150.4a2d1f4c@nehalam.linuxnetplumber.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ? 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: Mon, 17 Feb 2014 17:51:02 -0000 If in-lining is that big a concern, you could create your own wrapper funct= ion and explicitly mark it no-inline. Personally, I haven't seen any inordi= nate increase in i-cache miss rates because of in-lining on the application= s we have - prefetchers on IA are usually capable of keeping up. However, e= very application is different enough that there really is no "general" rule= here. -Venky -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen Hemminger Sent: Monday, February 17, 2014 8:42 AM To: jigsaw Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Is it possible to have dpdk running with no depende= ncy on a nic ? On Mon, 17 Feb 2014 14:49:47 +0200 jigsaw wrote: > Hi Stephen, >=20 > Have you tried link time optimization on DPDK application? Does it=20 > decrease the I-cache miss rate evidently? >=20 > thx & > rgds, > -Qinglai >=20 We use link-time-optimization without any problem. No big performance gain, but I really don't think all the inlining of big f= unctions is necessary.