AdvancedMachineFeatures

Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the

GuestOsFeatures

of an

Image

(e.g., whether or not the OS in the

Image

supports nested virtualization being enabled or disabled).

JSON representation
{
  "enableNestedVirtualization": boolean,
  "threadsPerCore": integer,
  "visibleCoreCount": integer,
  "enableUefiNetworking": boolean,
  "performanceMonitoringUnit": enum (PerformanceMonitoringUnit),
  "turboMode": string
}
Fields
enableNestedVirtualization

boolean

Whether to enable nested virtualization or not (default is false).

threadsPerCore

integer

The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

visibleCoreCount

integer

The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.

enableUefiNetworking

boolean

Whether to enable UEFI networking for instance creation.

performanceMonitoringUnit

enum (PerformanceMonitoringUnit)

Type of Performance Monitoring Unit requested on instance.

turboMode

string

Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX

Using empty string or not setting this field will use the platform-specific default turbo mode.

PerformanceMonitoringUnit

XXX: This enum is external facing (used directly in mixer_instances.proto)

Enums
PERFORMANCE_MONITORING_UNIT_UNSPECIFIED
ARCHITECTURAL Architecturally defined non-LLC events.
STANDARD Most documented core/L2 events.
ENHANCED Most documented core/L2 and LLC events.