From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91EC9A04A4; Tue, 26 May 2020 04:15:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4C61E1D9B4; Tue, 26 May 2020 04:15:58 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A830F1D978 for ; Tue, 26 May 2020 04:15:56 +0200 (CEST) IronPort-SDR: glkQWNTXLezE2KlBMOEJWuFPaEdqmKwOos1zpOo3O5rAsXfSpjEX1dODi8H6iniS872pqI/xrU nthUMcAh9W7g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2020 19:15:55 -0700 IronPort-SDR: oB7l0UXKQsww/kCLBfRfryFjcJ5EpZVlTnopC8SK7oXtIF5vvPqBfNiYJe3PDWyIpFr1j7Pio1 z44NsrHGRR7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,435,1583222400"; d="scan'208";a="441903573" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 25 May 2020 19:15:54 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 May 2020 19:15:54 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 26 May 2020 10:15:52 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Tue, 26 May 2020 10:15:52 +0800 From: "Yao, Lei A" To: "Mo, YufengX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V3 1/4] conf/power_branch_ratio: virtual machine configuration Thread-Index: AQHWMjsulyVxQ8QzxUSW4FWiSfKmjqi5oo7g Date: Tue, 26 May 2020 02:15:52 +0000 Message-ID: <8b76a66d22cb48eb8d5c142d7a6b01bd@intel.com> References: <20200525022258.3171-1-yufengx.mo@intel.com> <20200525022258.3171-2-yufengx.mo@intel.com> In-Reply-To: <20200525022258.3171-2-yufengx.mo@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V3 1/4] conf/power_branch_ratio: virtual machine configuration X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" > -----Original Message----- > From: Mo, YufengX > Sent: Monday, May 25, 2020 10:23 AM > To: dts@dpdk.org; Yao, Lei A > Cc: Mo, YufengX > Subject: [dts][PATCH V3 1/4] conf/power_branch_ratio: virtual machine > configuration >=20 >=20 > Based on the branch ratio info offered by CPU, the DPDK user can know if > the CPU's real workload is high or Low. Then the host server can adjust t= he > related CPU frequency base this indicator. >=20 > Signed-off-by: yufengmx Reviewed-by: Lei Yao > --- > conf/power_branch_ratio.cfg | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100644 conf/power_branch_ratio.cfg >=20 > diff --git a/conf/power_branch_ratio.cfg b/conf/power_branch_ratio.cfg > new file mode 100644 > index 0000000..bb4af67 > --- /dev/null > +++ b/conf/power_branch_ratio.cfg > @@ -0,0 +1,30 @@ > +# libvirtd options: > +# [VM name] section value is the name for VM > +# cpu # hard code type to host-passthrough > +# number: number of vcpus > +# cpupin: host cpu list > +# mem > +# size: 4096 > +# disk > +# file: absolute path to disk image > +# type: disk image format > +# login > +# user: user name to login into VM > +# password: passwork to login into VM > +# device > +# pf_idx: pass-through device index of DUT ports > +# guestpci: hardcode value of guest pci address > +# virtio_serial_channel > +# path: virtio unix socket absolute path > +# name: virtio serial name in VM > + > +# vm configuration for vm power management case > +[vm0] > +cpu =3D > + number=3D8,cpupin=3D1 2 3 4 5 6 7 8; > +mem =3D > + size=3D12196; > +disk =3D > + file=3D/home/image/xxxxx.img,opt_format=3Dqcow2; > +login =3D > + user=3Droot,password=3Dtester; > -- > 2.21.0