Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::LinuxNodeConfig::NodeVfioConfig (v1.18.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::LinuxNodeConfig::NodeVfioConfig.

Configuration settings for VFIO (Virtual Function I/O) on a node. VFIO allows safe, unprivileged, userspace drivers to access I/O devices.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dma_entry_limit

def dma_entry_limit() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the maximum number of DMA entries (pages) that can be mapped by the VFIO IOMMU type 1 driver for a container. This limit affects the total amount of host memory that can be pinned for direct device access, which is often critical for high-performance devices like TPUs and GPUs. This setting corresponds to the kernel parameter at: /sys/module/vfio_iommu_type1/parameters/dma_entry_limit. The default value in the kernel is 65535. Higher values may be needed for workloads mapping large memory regions. Supported values are integers between 65535 and 4194304.

#dma_entry_limit=

def dma_entry_limit=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the maximum number of DMA entries (pages) that can be mapped by the VFIO IOMMU type 1 driver for a container. This limit affects the total amount of host memory that can be pinned for direct device access, which is often critical for high-performance devices like TPUs and GPUs. This setting corresponds to the kernel parameter at: /sys/module/vfio_iommu_type1/parameters/dma_entry_limit. The default value in the kernel is 65535. Higher values may be needed for workloads mapping large memory regions. Supported values are integers between 65535 and 4194304.
Returns
  • (::Integer) — Optional. Specifies the maximum number of DMA entries (pages) that can be mapped by the VFIO IOMMU type 1 driver for a container. This limit affects the total amount of host memory that can be pinned for direct device access, which is often critical for high-performance devices like TPUs and GPUs. This setting corresponds to the kernel parameter at: /sys/module/vfio_iommu_type1/parameters/dma_entry_limit. The default value in the kernel is 65535. Higher values may be needed for workloads mapping large memory regions. Supported values are integers between 65535 and 4194304.