1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
.. _config: ../../vim/host/CpuSchedulerSystem/HyperThreadScheduleInfo.rst#config
.. _vim.Task: ../../vim/Task.rst
.. _vmodl.fault.NotSupported: ../../vmodl/fault/NotSupported.rst
.. _vim.ExtensibleManagedObject: ../../vim/ExtensibleManagedObject.rst
.. _vim.host.CpuSchedulerSystem.HyperThreadScheduleInfo: ../../vim/host/CpuSchedulerSystem/HyperThreadScheduleInfo.rst
vim.host.CpuSchedulerSystem
===========================
This managed object provides an interface through which you can gather and configure the host CPU scheduler policies that affect the performance of running virtual machines.Note: This managed object is useful only on platforms where resource management controls are available to optimize the running of virtual machines.
:extends: vim.ExtensibleManagedObject_
Attributes
----------
hyperthreadInfo (`vim.host.CpuSchedulerSystem.HyperThreadScheduleInfo`_):
The hyperthread configuration for the CpuSchedulerSystem. The existence of this data object type indicates if the CPU scheduler is capable of scheduling hyperthreads as resources.
Methods
-------
EnableHyperThreading():
Treat hyperthreads as schedulable resources the next time the CPU scheduler starts. If successful, this operation will set the `config`_ property to "true".
Privilege:
Host.Config.HyperThreading
Args:
Returns:
None
Raises:
`vmodl.fault.NotSupported`_:
if the hyperthreading optimization is not available on the host (the boolean `available`_ is set to false).
DisableHyperThreading():
Don't treat hyperthreads as schedulable resources the next time the CPU scheduler starts. If successful, this operation will change the configured setting.
Privilege:
Host.Config.HyperThreading
Args:
Returns:
None
Raises:
`vmodl.fault.NotSupported`_:
if the hyperthreading optimization is not available on the host (the boolean `available`_ is set to false).
|