From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id A3E5BADA2 for ; Thu, 28 Jan 2016 07:15:36 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 27 Jan 2016 22:15:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,357,1449561600"; d="scan'208";a="870408457" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 27 Jan 2016 22:15:25 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 27 Jan 2016 22:15:24 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 27 Jan 2016 22:15:24 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.215]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.117]) with mapi id 14.03.0248.002; Thu, 28 Jan 2016 14:15:22 +0800 From: "Xie, Huawei" To: Tetsuya Mukawa , "dev@dpdk.org" , "yuanhan.liu@linux.intel.com" , "Tan, Jianfeng" Thread-Topic: [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment Thread-Index: AdFZIjDEAunQ5LVPT++h9TW0MGQ/9A== Date: Thu, 28 Jan 2016 06:15:21 +0000 Message-ID: References: <1453108389-21006-2-git-send-email-mukawa@igel.co.jp> <1453374478-30996-6-git-send-email-mukawa@igel.co.jp> <56A9815F.6040205@igel.co.jp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.4.160] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment 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: Thu, 28 Jan 2016 06:15:37 -0000 On 1/28/2016 10:48 AM, Tetsuya Mukawa wrote:=0A= > I measured it, and seems it takes 0.35 seconds in my environment.=0A= > This will be done only once when the port is initialized. Probably it's= =0A= > not so heady.=0A= =0A= There are 256 x 32 loop of pci scan. That is too long if we dynamically=0A= start/tear down the container, otherwise it is ok. Some people are=0A= struggling reducing the VM booting time from seconds to milliseconds to=0A= compete with container technology. Let us consider if we could optimize=0A= this.=0A= For example, QEMU supports specifying bus/dev for a device in its=0A= commandline, so could we assign fixed bus for virtio-net and ivshm=0A= device? And for piix3, is it on bus 0/1?=0A= =0A=