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

View File

@ -46,9 +46,8 @@ export default function VirtualizationSettingsPage() {
<h1 className="text-3xl font-bold">Virtualization Settings</h1>
</div>
<p className="mb-4">
The <strong>Virtualization Settings</strong> 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.
The <strong>Virtualization Settings</strong> category optimizes Proxmox VE for enhanced virtualization performance,
compatibility, and functionality.
</p>
<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
</h3>
<p className="mb-4">
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.
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.
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> 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.
<strong>Why it's beneficial:</strong> Enables near-native performance for PCI devices, such as <strong>GPUs</strong> or <strong>network cards</strong>,
by allowing direct access from VMs. This is essential for <strong>GPU acceleration, low-latency networking</strong>,
and <strong>high-performance workloads</strong>, reducing hypervisor overhead and improving efficiency.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode
@ -86,14 +84,12 @@ sudo update-initramfs -u -k all
Install Relevant Guest Agent
</h3>
<p className="mb-4">
This optimization detects the virtualization environment and installs the appropriate guest agent for improved
integration between the host and guest systems.
This optimization installs the appropriate <strong>guest agent</strong> based on the virtualization environment.
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> 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.
<strong>Why it's beneficial:</strong> Enhances host-guest integration by enabling <strong>graceful shutdown</strong>,
<strong>file sharing, performance monitoring</strong>, and <strong>better resource allocation</strong>.
This improves VM management and overall system efficiency.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode
@ -114,14 +110,13 @@ sudo apt-get install -y virtualbox-guest-utils
Configure KSM (Kernel Samepage Merging)
</h3>
<p className="mb-4">
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.
This setting enables and configures <strong>KSM</strong> to optimize memory usage by sharing identical
memory pages across multiple virtual machines.
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> 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.
<strong>Why it's beneficial:</strong> Reduces <strong>RAM consumption</strong> in environments with similar VMs,
allowing for <strong>higher VM density</strong> on a single host. This is particularly useful for systems
running multiple instances of the same OS or application, improving memory efficiency and overall performance.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode