Proxmox Swap and Memory Hack for Home Labs!
About
No channel description available.
Video Description
When it comes to performance, Swap space is generally considered a negative. When you start swapping to disk, performance usually suffers. However, if you running a RAM starved home lab host and maybe you are physically maxed out in the RAM you can install such as with today's SODIMM modules, using ultra-fast storage for swap space can actually be an advantage. I tested Intel Optane storage as swap space for a Proxmox host with only 48 GB of memory and the results were really amazing in terms of performance and the "feel" of the box, even with RAM maxed completely out. U.2 to M.2 adapter: https://amzn.to/40FZY4N Proxmox server build components list: Minisforum BD795M – https://geni.us/bd795m RackChoice 2U Micro ATX Compact – https://geni.us/rackchoice2u Cooler Master MWE Gold 850 V2 – https://geni.us/coolermaster850 Crucial 128 GB 5600MT/sec RAM – https://geni.us/crucial128gbramkit Noctua NH-L9i-17xx, Premium Low-Profile CPU Cooler – https://amzn.to/4hAKIwG Crucial 96GB kit of DDR5 SODIMM memory kit – https://geni.us/noctuanhl9i17xx Intel X520-DA2 10 GbE network adapter – https://geni.us/intelx520 Kingston 240 GB drive for boot – https://geni.us/kingston240 Samsung EVO 990 Pro 2TB – https://geni.us/samsung990pro2tb MX-4 Thermal paste – https://geni.us/mx4thermalpaste Case fans: https://geni.us/arcticp8 See the written blog covering the information in the video: https://www.virtualizationhowto.com/2025/02/proxmox-swap-tweaks-guide-dedicated-drive-swappiness-page-cluster/ Subscribe to the channel: https://www.youtube.com/channel/UCrxcWtpd1IGHG9RbD_9380A?sub_confirmation=1 ★ My blog: https://www.virtualizationhowto.com ★ Twitter: https://twitter.com/vspinmaster ★ LinkedIn: https://www.linkedin.com/in/brandon-lee-vht/ ★ Github: https://github.com/brandonleegit ★ Facebook: https://www.facebook.com/people/VirtualizationHowto/100092747277326/ ★ Discord: https://discord.gg/Zb46NV6mB3 ★ Pinterest: https://www.pinterest.com/brandonleevht/ Introduction to using Intel Optane - 0:00 Discussing memory limitations - 0:40 Intel Optane Drives - 1:06 NVMe memory tiering - 2:04 Introducing Optane for Proxmox system swap - 2:19 The Intel Optane hardware - 2:30 U.2 to M.2 adapter - 2:56 Proxmox Server Build 2025 - 3:02 Looking at the physical adapter - 3:23 Configuring Intel optane as Promxox swap space - 3:53 Turning off default swap storage - 4:28 Identifying the optane drive - 4:43 mkswap command to designate the drive as swap - 4:48 Turning on swap functionality for the optane hard drive - 5:00 Viewing the summary of swap storage - 5:14 Making the swap storage configuration as persistent - 5:28 Checking system memory and swap storage - 5:53 Swappiness! 5:57 Describing our use case with RAM starved system - 6:26 Adjusting swappiness value - 6:45 Making the swappiness change persistent - 7:07 vm.page-cluster setting - 7:23 Changing the vm.page-cluster setting - 8:32 Saturating memory in Proxmox and using Intel Optane as swap - 8:52 Tools to saturate memory - 9:59 Proxmox host is still very responsive - 11:31 The outcome and thinking about what this gives you in the home lab - 12:37 Responsiveness of virtual machines in Proxmox with Intel Optane as swap - 13:38 Comparing VMware memory NVMe memory tiering with Proxmox swap - 14:45 Is it worth adding Intel Optane to your Proxmox host? 15:39 Pros of using Intel Optane as Proxmox swap memory - 16:25 Cons of using Intel Optane as Proxmox swap memory - 16:43 Wrapping up Proxmox Swap on Intel Optane 17:22 Proxmox Home Lab Server Build 2025 - 17:38
Boost Your Home Lab Today
AI-recommended products based on this video

Firewall Mini PC N100 Fanless Pocket Computer 2x2.5G I226-V Micro Router Appliance, AES-NI, HDMI DP Support Dual 4K Proxmox Server, 32GB RAM 1TB SSD

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge R660XS R760XS

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge XE9680

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge R6625 R760 R7615 R7625

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge HS5610 HS5620

Crucial 64GB DDR5 RAM, 5600MHz (or 5200MHz or 4800MHz) Desktop Memory Kit, UDIMM 288-Pin, Compatible with 13th Gen Intel Core and AMD Ryzen 7000 - CT2K32G56C46U5

Samsung 990 EVO Plus - 4TB PCIe Gen4. X4, Gen5. X2 NVMe 2.0 - M.2 Internal SSD, Speed Up to 7,250 MBs, Upgrade Storage for PC-Laptops, HMB Technology and Intelligent Turbowrite (MZ-V9S4T0B/AM)
![SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]](https://m.media-amazon.com/images/I/71lzXt4djxL._AC_UY654_FMwebp_QL65_.jpg)
SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]
![Samsung EVO Select Micro SD Memory Card + Adapter, 256GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME256SA/AM) [Canada Version]](https://m.media-amazon.com/images/I/71gQWJ9ufdL._AC_UL960_FMwebp_QL65_.jpg)
Samsung EVO Select Micro SD Memory Card + Adapter, 256GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME256SA/AM) [Canada Version]
![SAMSUNG 870 EVO SATA SSD 500GB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E500B/AM [Canada Version]](https://m.media-amazon.com/images/I/911ujeCkGfL._AC_UL960_FMwebp_QL65_.jpg)
SAMSUNG 870 EVO SATA SSD 500GB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E500B/AM [Canada Version]

PNY GeForce RTX™ 4070 Super 12GB Verto™ OC Dual Fan Graphics Card DLSS 3 (NVIDIA GeForce SFF-Ready, 192-bit, GDDR6X, PCIe 4.0, HDMI/DisplayPort, Supports 4k, incl. Adapter, 2 Slot)

TP-Link WiFi 6 AX3000 PCIe WiFi Card Archer TX55E - Bluetooth 5.2, 802.11AX Dual Band Wireless Adapter with MU-MIMO, OFDMA, Ultra-Low Latency, Supports Windows 11, 10 (64bit) only

Dell Inspiron 3030 Desktop - Intel Core i7-14700 Processor, 16GB DDR5 RAM, 1TB SSD, Intel UHD 770 Graphics, Windows 11 Pro, Onsite & Migrate Service - Mist Blue

Lenovo IdeaPad 3i 15.6" FHD Touchscreen Laptop, Intel Gen 11th i3-1115G4, 16GB RAM, 512GB PCIe SSD, Intel UHD Graphics, Numeric Keypad, HD Webcam, WiFi 6, Win 11 Pro, Grey, 32GB Hotface USB Card

acer Nitro 50 N50-620-UA91 Gaming Desktop | 11th Gen Intel Core i5-11400F 6-Core Processor | NVIDIA GeForce GTX 1650 | 8GB DDR4 | 512GB NVMe M.2 SSD | Intel Wi-Fi 6 AX201 | Keyboard and Mouse

Fit for GIGABYTE B365M AORUS Elite Micro ATX Intel B365 M.2 SSD 64G Double Channel Support 8 9 Gen LGA 1151 CPU Motherboard Gaming Motherboard




















