[dts] [PATCH V3 1/4] conf/power_branch_ratio: virtual machine configuration
Yao, Lei A
lei.a.yao at intel.com
Tue May 26 04:15:52 CEST 2020
> -----Original Message-----
> From: Mo, YufengX <yufengx.mo at intel.com>
> Sent: Monday, May 25, 2020 10:23 AM
> To: dts at dpdk.org; Yao, Lei A <lei.a.yao at intel.com>
> Cc: Mo, YufengX <yufengx.mo at intel.com>
> Subject: [dts][PATCH V3 1/4] conf/power_branch_ratio: virtual machine
> configuration
>
>
> 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 <yufengx.mo at intel.com>
Reviewed-by: Lei Yao<lei.a.yao at intel.com>
> ---
> 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
More information about the dts
mailing list