Jump to content
XPEnology Community

md1 (swap) partition in RAID0


Recommended Posts

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?

Link to comment
Share on other sites

  • 2 weeks later...

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


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...