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 12887B3AB for ; Tue, 26 Aug 2014 18:55:20 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 26 Aug 2014 09:59:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,405,1406617200"; d="scan'208";a="472837887" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by azsmga001.ch.intel.com with ESMTP; 26 Aug 2014 09:59:17 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 26 Aug 2014 09:59:17 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.17]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.147]) with mapi id 14.03.0195.001; Wed, 27 Aug 2014 00:59:15 +0800 From: "Zhou, Danny" To: Stephen Hemminger , "Michael Marchetti" Thread-Topic: [dpdk-dev] overcommitting CPUs Thread-Index: Ac/BSK4Ie9dEDL+WSrSuFei6WRfr+f//gOWA//91kbA= Date: Tue, 26 Aug 2014 16:59:14 +0000 Message-ID: References: <20140826093837.4e3d1d4b@urahara> In-Reply-To: <20140826093837.4e3d1d4b@urahara> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] overcommitting CPUs 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, 26 Aug 2014 16:55:21 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Wednesday, August 27, 2014 12:39 AM > To: Michael Marchetti > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] overcommitting CPUs >=20 > On Tue, 26 Aug 2014 16:27:14 +0000 > "Michael Marchetti" wrote: >=20 > > Hi, has there been any consideration to introduce a non-spinning networ= k driver (interrupt based), for the purpose of overcommitting > CPUs in a virtualized environment? This would obviously have reduced hig= h-end performance but would allow for increased guest > density (sharing of physical CPUs) on a host. > > > > I am interested in adding support for this kind of operation, is there = any interest in the community? > > > > Thanks, > > > > Mike. >=20 > Better to implement a NAPI like algorithm that adapts from poll to interr= upt. Agreed, but DPDK is currently pure poll-mode based, so unlike the NAPI' sim= ple algorithm, the new heuristic algorithm should not switch from poll-mode= to interrupt-mode immediately once there is no packet in the recent poll. = Otherwise, mode switching will be too frequent which brings serious negativ= e performance impact to DPDK.