This commit is contained in:
MacRimi 2025-03-02 13:20:26 +01:00
parent 123d95ec47
commit 39f5eedfee
2 changed files with 45 additions and 50 deletions

View File

@ -46,9 +46,9 @@ export default function NetworkSettingsPage() {
<h1 className="text-3xl font-bold">Network Settings</h1> <h1 className="text-3xl font-bold">Network Settings</h1>
</div> </div>
<p className="mb-4"> <p className="mb-4">
The <strong>Network Settings</strong> category focuses on optimizing network performance and configuration for The <strong>Network Settings</strong> category focuses on optimizing network performance and configuration in Proxmox VE.
your Proxmox VE installation. These settings are crucial for ensuring efficient network operations, which is These settings are essential for efficient network operations in virtualized environments where multiple VMs and containers
vital in a virtualized environment where multiple VMs and containers share network resources. share network resources.
</p> </p>
<h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2> <h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2>
@ -57,13 +57,12 @@ export default function NetworkSettingsPage() {
Apply Network Optimizations Apply Network Optimizations
</h3> </h3>
<p className="mb-4"> <p className="mb-4">
This optimization applies various network-related sysctl settings to improve network performance, security, and This setting adjusts various <strong>sysctl</strong> parameters to enhance network performance, security, and stability.
stability.
</p> </p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> These optimizations can significantly improve network throughput, reduce <strong>Why it's beneficial:</strong> Improves <strong>throughput, reduces latency</strong>, and <strong>enhances security</strong>
latency, and enhance security. They adjust various kernel parameters related to networking, which is crucial in by fine-tuning kernel network settings. These optimizations are critical in virtualization environments where network
a virtualization environment where network performance directly impacts the performance of VMs and containers. efficiency directly impacts VMs and container performance.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode
@ -123,13 +122,15 @@ sudo sysctl -p /etc/sysctl.d/99-network-performance.conf
<StepNumber number={2} /> <StepNumber number={2} />
Enable TCP BBR and Fast Open Enable TCP BBR and Fast Open
</h3> </h3>
<p className="mb-4">This optimization enables Google's TCP BBR congestion control algorithm and TCP Fast Open.</p> <p className="mb-4">This optimization enables <strong>TCP BBR</strong>, Google's congestion control algorithm, and <strong>TCP Fast Open</strong>.</p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> TCP BBR can significantly improve network throughput and reduce latency, <strong>Why it's beneficial:</strong>
especially on long-distance or congested networks. TCP Fast Open reduces connection establishment time, <ul className="list-disc pl-5">
improving the speed of short-lived connections. These optimizations are particularly beneficial in virtualized <li><strong>TCP BBR</strong> improves network throughput and reduces latency, especially over long-distance or congested links.</li>
environments where network performance is crucial for overall system responsiveness. <li><strong>TCP Fast Open</strong> accelerates connection establishment, benefiting short-lived connections.</li>
</p> <li>These enhancements improve <strong>network responsiveness</strong> in virtualized environments where efficient communication between systems is critical.</li>
</ul>
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode
code={` code={`
@ -147,12 +148,11 @@ sudo sysctl -p /etc/sysctl.d/99-tcp-fastopen.conf
<StepNumber number={3} /> <StepNumber number={3} />
Force APT to Use IPv4 Force APT to Use IPv4
</h3> </h3>
<p className="mb-4">This optimization configures APT (Advanced Package Tool) to use IPv4 exclusively.</p> <p className="mb-4">This setting forces <strong>APT (Advanced Package Tool)</strong> to use <strong>IPv4</strong> exclusively.</p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> Forcing APT to use IPv4 can resolve issues in environments where IPv6 is <strong>Why it's beneficial:</strong> Ensures <strong>reliable package management operations</strong> in environments where <strong>IPv6 </strong>
not properly configured or is causing slowdowns. This ensures more reliable package management operations, which is misconfigured or causes slow downloads. This is particularly useful in networks where <strong>IPv6 connectivity
is crucial for maintaining and updating your Proxmox VE system. It's particularly useful in networks where IPv6 is unstable or unsupported</strong>, reducing potential update and repository access issues.
connectivity might be unreliable or not fully supported.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode
@ -165,12 +165,12 @@ echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
<StepNumber number={4} /> <StepNumber number={4} />
Install Open vSwitch Install Open vSwitch
</h3> </h3>
<p className="mb-4">This optimization installs Open vSwitch, a production quality, multilayer virtual switch.</p> <p className="mb-4">This optimization installs <strong>Open vSwitch (OVS)</strong>, a multilayer virtual switch designed for modern virtualized environments.</p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> Open vSwitch provides advanced networking capabilities for virtualized <strong className="block">Why it's beneficial:</strong>
environments. It allows for more flexible and powerful network configurations, including support for VLAN Provides <strong>advanced networking capabilities</strong>, including <strong>VLAN tagging, trunking,
tagging and trunking, advanced traffic shaping, and Quality of Service (QoS) capabilities. This is particularly traffic shaping, and Quality of Service (QoS)</strong>. OVS enables more <strong>flexible</strong> and <strong>scalable</strong> network configurations,
beneficial for complex virtualization setups where fine-grained control over network traffic is required. making it ideal for complex virtualization setups requiring fine-grained traffic control.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode
@ -188,13 +188,13 @@ sudo ovs-vsctl --version
Optimize Network Interface Settings Optimize Network Interface Settings
</h3> </h3>
<p className="mb-4"> <p className="mb-4">
This optimization adjusts settings for network interfaces to improve performance and reliability. This setting adjusts network interface parameters to enhance performance and reliability.
</p> </p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> Proper configuration of network interfaces can significantly improve <strong className="block">Why it's beneficial:</strong>
network performance, reduce latency, and increase stability. This is particularly important in virtualized PProper <strong>NIC tuning</strong> reduces <strong>latency, packet loss</strong>, and <strong>improves stability </strong>
environments where multiple VMs and containers share network resources. Optimizations like increasing the TX in environments with high network loads. Adjustments like <strong>increasing TX queue length</strong> prevent packet drops
queue length can help prevent packet drops under high load. and enhance network responsiveness, which is essential in virtualized infrastructures with multiple VMs and containers.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode

View File

@ -46,9 +46,8 @@ export default function VirtualizationSettingsPage() {
<h1 className="text-3xl font-bold">Virtualization Settings</h1> <h1 className="text-3xl font-bold">Virtualization Settings</h1>
</div> </div>
<p className="mb-4"> <p className="mb-4">
The <strong>Virtualization Settings</strong> category focuses on optimizing your Proxmox VE installation for The <strong>Virtualization Settings</strong> category optimizes Proxmox VE for enhanced virtualization performance,
enhanced virtualization performance, compatibility, and functionality. These settings are crucial for creating a compatibility, and functionality.
robust and efficient virtualization environment.
</p> </p>
<h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2> <h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2>
@ -57,14 +56,13 @@ export default function VirtualizationSettingsPage() {
Enable VFIO IOMMU Support Enable VFIO IOMMU Support
</h3> </h3>
<p className="mb-4"> <p className="mb-4">
This optimization enables IOMMU (Input-Output Memory Management Unit) and configures VFIO (Virtual Function I/O) This setting enables <strong>IOMMU</strong> (Input-Output Memory Management Unit) and configures <strong>VFIO</strong> (Virtual Function I/O)
for PCI passthrough, allowing direct assignment of PCI devices to virtual machines. for PCI passthrough, allowing direct assignment of PCI devices to virtual machines.
</p> </p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> IOMMU and VFIO support enables near-native performance for PCI devices <strong>Why it's beneficial:</strong> Enables near-native performance for PCI devices, such as <strong>GPUs</strong> or <strong>network cards</strong>,
(like GPUs or network cards) in virtual machines. This is crucial for high-performance virtualization scenarios, by allowing direct access from VMs. This is essential for <strong>GPU acceleration, low-latency networking</strong>,
such as GPU-accelerated workloads or network-intensive applications. It allows VMs to directly access hardware, and <strong>high-performance workloads</strong>, reducing hypervisor overhead and improving efficiency.
bypassing the hypervisor, which significantly improves performance and reduces latency.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode
@ -86,14 +84,12 @@ sudo update-initramfs -u -k all
Install Relevant Guest Agent Install Relevant Guest Agent
</h3> </h3>
<p className="mb-4"> <p className="mb-4">
This optimization detects the virtualization environment and installs the appropriate guest agent for improved This optimization installs the appropriate <strong>guest agent</strong> based on the virtualization environment.
integration between the host and guest systems.
</p> </p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> Guest agents improve communication and integration between the host and <strong>Why it's beneficial:</strong> Enhances host-guest integration by enabling <strong>graceful shutdown</strong>,
guest systems. They enable features like graceful shutdown of virtual machines, file sharing between host and <strong>file sharing, performance monitoring</strong>, and <strong>better resource allocation</strong>.
guest, better performance monitoring, and enhanced resource allocation. This leads to more efficient management This improves VM management and overall system efficiency.
of VMs and improved overall system performance.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode
@ -114,14 +110,13 @@ sudo apt-get install -y virtualbox-guest-utils
Configure KSM (Kernel Samepage Merging) Configure KSM (Kernel Samepage Merging)
</h3> </h3>
<p className="mb-4"> <p className="mb-4">
This optimization installs and configures the KSM control daemon, which helps optimize memory usage in This setting enables and configures <strong>KSM</strong> to optimize memory usage by sharing identical
virtualized environments by sharing identical memory pages between multiple virtual machines. memory pages across multiple virtual machines.
</p> </p>
<p className="mb-4"> <p className="mb-4">
<strong>Why it's beneficial:</strong> KSM can significantly reduce memory usage in environments with many <strong>Why it's beneficial:</strong> Reduces <strong>RAM consumption</strong> in environments with similar VMs,
similar VMs, allowing for higher VM density on a single host. This is particularly beneficial for scenarios allowing for <strong>higher VM density</strong> on a single host. This is particularly useful for systems
where many VMs run similar operating systems or applications. By reducing overall memory usage, KSM can improve running multiple instances of the same OS or application, improving memory efficiency and overall performance.
system performance and allow for more efficient resource utilization.
</p> </p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p> <p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode <CopyableCode