import type { Metadata } from "next" import { Box } from "lucide-react" import CopyableCode from "@/components/CopyableCode" export const metadata: Metadata = { title: "ProxMenux Post-Install: Virtualization Settings", description: "Detailed guide to the Virtualization Settings category in the ProxMenux post-install script for Proxmox VE optimization.", openGraph: { title: "ProxMenux Post-Install: Virtualization Settings", description: "Detailed guide to the Virtualization Settings category in the ProxMenux post-install script for Proxmox VE optimization.", type: "article", url: "https://macrimi.github.io/ProxMenux/docs/post-install/virtualization", images: [ { url: "https://macrimi.github.io/ProxMenux/virtualization-settings-image.png", width: 1200, height: 630, alt: "ProxMenux Post-Install Virtualization Settings", }, ], }, twitter: { card: "summary_large_image", title: "ProxMenux Post-Install: Virtualization Settings", description: "Detailed guide to the Virtualization Settings category in the ProxMenux post-install script for Proxmox VE optimization.", images: ["https://macrimi.github.io/ProxMenux/virtualization-settings-image.png"], }, } function StepNumber({ number }: { number: number }) { return (
{number}
) } export default function VirtualizationSettingsPage() { return (

Virtualization Settings

The Virtualization Settings category focuses on optimizing your Proxmox VE installation for enhanced virtualization performance, compatibility, and functionality. These settings are crucial for creating a robust and efficient virtualization environment.

Available Optimizations

Enable VFIO IOMMU Support

This optimization enables IOMMU (Input-Output Memory Management Unit) and configures VFIO (Virtual Function I/O) for PCI passthrough, allowing direct assignment of PCI devices to virtual machines.

Why it's beneficial: IOMMU and VFIO support enables near-native performance for PCI devices (like GPUs or network cards) in virtual machines. This is crucial for high-performance virtualization scenarios, such as GPU-accelerated workloads or network-intensive applications. It allows VMs to directly access hardware, bypassing the hypervisor, which significantly improves performance and reduces latency.

This adjustment automates the following commands:

Install Relevant Guest Agent

This optimization detects the virtualization environment and installs the appropriate guest agent for improved integration between the host and guest systems.

Why it's beneficial: Guest agents improve communication and integration between the host and guest systems. They enable features like graceful shutdown of virtual machines, file sharing between host and guest, better performance monitoring, and enhanced resource allocation. This leads to more efficient management of VMs and improved overall system performance.

This adjustment automates the following commands:

Configure KSM (Kernel Samepage Merging)

This optimization installs and configures the KSM control daemon, which helps optimize memory usage in virtualized environments by sharing identical memory pages between multiple virtual machines.

Why it's beneficial: KSM can significantly reduce memory usage in environments with many similar VMs, allowing for higher VM density on a single host. This is particularly beneficial for scenarios where many VMs run similar operating systems or applications. By reducing overall memory usage, KSM can improve system performance and allow for more efficient resource utilization.

This adjustment automates the following commands:

Automatic Application

All of these optimizations are automatically applied when selected in the Virtualization section. This automation ensures that these beneficial settings are applied consistently and correctly, saving time and reducing the potential for human error during manual configuration.

) }