f2cal6fg Posted November 8, 2023 Share #1 Posted November 8, 2023 Hi all! Has anyone ever tried configuring md1/swap partition with RAID0 instead of default RAID1? I have terrible QD and latency using swap. My Synology NAS has small built-in memory so it often pages in and out. My theory is that 4 HDDs in RAID0 (instead of RAID1) for swap partition should give slightly better random read and writes. Any experience out there please? Quote Link to comment Share on other sites More sharing options...
f2cal6fg Posted November 19, 2023 Author Share #2 Posted November 19, 2023 So I enabled swapfile on a different volume with higher priority instead. Make sure swapfile priority is higher than of other swaps. Configure swapfile setup on system boot. $ sudo truncate -s 2G /volumeX/swapfile $ sudo mkswap /volumeX/swapfile $ sudo swapon -p 9 /volumeX/swapfile $ swapon --show Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.