diff --git a/web/app/docs/post-install/basic-settings/page.tsx b/web/app/docs/post-install/basic-settings/page.tsx index cc5ce54..4038290 100644 --- a/web/app/docs/post-install/basic-settings/page.tsx +++ b/web/app/docs/post-install/basic-settings/page.tsx @@ -52,7 +52,7 @@ export default function BasicSettingsPage() {

Available Optimizations

-

+

Install Common System Utilities

@@ -155,7 +155,7 @@ export default function BasicSettingsPage() { libguestfs-tools: A set of tools for accessing and modifying virtual machine disk images -

This adjustment automates the following command:

+

This adjustment automates the following command:

-

+

Skip Downloading Additional Languages

@@ -183,7 +183,7 @@ sudo apt-get install -y libguestfs-tools improve the speed of package management operations. This is particularly useful in server environments where multiple language support is often not required.

-

This adjustment automates the following command:

+

This adjustment automates the following command:

-

+

Synchronize Time Automatically

@@ -204,7 +204,7 @@ echo 'Acquire::Languages "none";' | sudo tee /etc/apt/apt.conf.d/99-disable-tran consistency, and proper functioning of time-sensitive applications. Automatic synchronization ensures your Proxmox VE system maintains the correct time without manual intervention.

-

This adjustment automates the following command:

+

This adjustment automates the following command:

-

+

Update and Upgrade System

@@ -229,7 +229,7 @@ sudo timedatectl set-timezone "$TIMEZONE" performance. This optimization ensures you have the latest patches and features, while also configuring the correct repositories for Proxmox VE, enabling access to necessary updates and tools.

-

This adjustment automates the following command:

+

This adjustment automates the following command:

+ {number} + + ) +} + export default function NetworkSettingsPage() { return (
@@ -38,22 +46,29 @@ export default function NetworkSettingsPage() {

Network Settings

- The Network Settings 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 Network Settings 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.

Available Optimizations

- -
-

Apply Network Optimizations

-

- This optimization applies various network-related sysctl settings to improve network performance, security, and stability. -

-

- Why it's important: 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. -

-

To apply this setting manually, run:

- + + Apply Network Optimizations + +

+ This optimization applies various network-related sysctl settings to improve network performance, security, and + stability. +

+

+ Why it's beneficial: 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. +

+

This adjustment automates the following commands:

+ -
+sudo sysctl -p /etc/sysctl.d/99-network-performance.conf + `} + /> -
-

Enable TCP BBR and Fast Open

-

- This optimization enables Google's TCP BBR congestion control algorithm and TCP Fast Open. -

-

- Why it's important: 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. -

-

To apply this setting manually, run:

- + + Enable TCP BBR and Fast Open + +

This optimization enables Google's TCP BBR congestion control algorithm and TCP Fast Open.

+

+ Why it's beneficial: 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. +

+

This adjustment automates the following commands:

+ -
- -
-

Force APT to Use IPv4

-

- This optimization configures APT (Advanced Package Tool) to use IPv4 exclusively. -

-

- Why it's important: 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. -

-

To apply this setting manually, run:

- -
- -
-

Install Open vSwitch

-

- This optimization installs Open vSwitch, a production quality, multilayer virtual switch. -

-

- Why it's important: 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. -

-

To apply this setting manually, run:

- + +

+ + Force APT to Use IPv4 +

+

This optimization configures APT (Advanced Package Tool) to use IPv4 exclusively.

+

+ Why it's beneficial: 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. +

+

This adjustment automates the following commands:

+ + +

+ + Install Open vSwitch +

+

This optimization installs Open vSwitch, a production quality, multilayer virtual switch.

+

+ Why it's beneficial: 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. +

+

This adjustment automates the following commands:

+ -
- -
-

Optimize Network Interface Settings

-

- This optimization adjusts settings for network interfaces to improve performance and reliability. -

-

- Why it's important: 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. -

-

To apply this setting manually, run:

- + +

+ + Optimize Network Interface Settings +

+

+ This optimization adjusts settings for network interfaces to improve performance and reliability. +

+

+ Why it's beneficial: 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. +

+

This adjustment automates the following commands:

+

Automatic Application

- All of these optimizations are automatically applied when selected in the Network section 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. + All of these optimizations are automatically applied when selected in the Network 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.

- ); -} \ No newline at end of file + ) +} + diff --git a/web/app/docs/post-install/system/page.tsx b/web/app/docs/post-install/system/page.tsx index 2009c2a..3823834 100644 --- a/web/app/docs/post-install/system/page.tsx +++ b/web/app/docs/post-install/system/page.tsx @@ -65,7 +65,7 @@ export default function SystemSettingsPage() { updates. In a virtualization environment where multiple VMs might be running, minimizing host downtime is crucial for maintaining high availability and reducing disruption to services.

-

This adjustment automates the following commands:

+

This adjustment automates the following commands:

> ~/.bash_profile on its own. This is particularly crucial in remote or lights-out data center environments where immediate physical access might not be possible.

-

This adjustment automates the following commands:

+

This adjustment automates the following commands:

-

This adjustment automates the following commands:

+

This adjustment automates the following commands:

-

This adjustment automates the following commands:

+

This adjustment automates the following commands:

-

This adjustment automates the following commands:

+

This adjustment automates the following commands:

+ {number} + + ) +} + export default function VirtualizationSettingsPage() { return (
@@ -38,22 +46,30 @@ export default function VirtualizationSettingsPage() {

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. + 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 important: 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. -

-

To apply this setting manually, run:

- + + 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:

+ -
+sudo update-initramfs -u -k all + `} + /> -
-

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 important: 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. -

-

To apply this setting manually, run:

- + + 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 important: 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. -

-

To apply this setting manually, run:

- + +

+ + 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:

+ -
- -
-

Optimize CPU Governor

-

- This setting configures the CPU governor to optimize performance for virtualization workloads. -

-

- Why it's important: The CPU governor controls how the processor scales its frequency based on system load. For virtualization environments, setting the governor to 'performance' ensures that the CPU always runs at its maximum frequency, providing consistent performance for VMs. This is crucial for workloads that require predictable and high CPU performance. -

-

To apply this setting manually, run:

- + +

+ + Optimize CPU Governor +

+

+ This setting configures the CPU governor to optimize performance for virtualization workloads. +

+

+ Why it's beneficial: The CPU governor controls how the processor scales its frequency based on + system load. For virtualization environments, setting the governor to 'performance' ensures that the CPU always + runs at its maximum frequency, providing consistent performance for VMs. This is crucial for workloads that + require predictable and high CPU performance. +

+

This adjustment automates the following commands:

+ -
- -
-

Enable Huge Pages Support

-

- This optimization enables and configures huge pages support, which can improve memory management efficiency for large-memory VMs. -

-

- Why it's important: Huge pages reduce the overhead of Translation Lookaside Buffer (TLB) lookups, which can significantly improve performance for memory-intensive applications running in VMs. This is particularly beneficial for databases, in-memory caches, and other applications that manage large amounts of memory. -

-

To apply this setting manually, run:

- + +

+ + Enable Huge Pages Support +

+

+ This optimization enables and configures huge pages support, which can improve memory management efficiency for + large-memory VMs. +

+

+ Why it's beneficial: Huge pages reduce the overhead of Translation Lookaside Buffer (TLB) + lookups, which can significantly improve performance for memory-intensive applications running in VMs. This is + particularly beneficial for databases, in-memory caches, and other applications that manage large amounts of + memory. +

+

This adjustment automates the following commands:

+ -
- +sudo mount -a + `} + /> +

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. + 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.

- ); -} \ No newline at end of file + ) +} +