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 BBB17A04F1; Mon, 25 May 2020 04:21:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 193391D6B9; Mon, 25 May 2020 04:21:20 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id BA7401D686 for ; Mon, 25 May 2020 04:21:18 +0200 (CEST) IronPort-SDR: doba9m0fpQsJ7xOqYHOqc6DKYSLeGR3UP9pAz2P3VRT8cxYmO01gUM3tHGPKbB0v6Ztk9wfTEF 7FH7C8GJd9YA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2020 19:21:17 -0700 IronPort-SDR: A7BpOkcDePiQCtDKzyXtDyIp3D1R2kVAlI3CeyDygbDiTDmCUSbL5HO6Va2wti5Fra7uYZsChq 7zkrO47FSicA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,431,1583222400"; d="scan'208";a="467917316" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga006.fm.intel.com with ESMTP; 24 May 2020 19:21:16 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Mon, 25 May 2020 10:22:55 +0800 Message-Id: <20200525022258.3171-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200525022258.3171-1-yufengx.mo@intel.com> References: <20200525022258.3171-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" 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 the related CPU frequency base this indicator. Signed-off-by: yufengmx --- conf/power_branch_ratio.cfg | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 conf/power_branch_ratio.cfg 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 = + number=8,cpupin=1 2 3 4 5 6 7 8; +mem = + size=12196; +disk = + file=/home/image/xxxxx.img,opt_format=qcow2; +login = + user=root,password=tester; -- 2.21.0