Is RAID1 good for performance?

onam

New Member
Nov 7, 2022
9
0
1
Hello,
I have 1 SSD 256GB, 2 HDDs each with 1TB. I did a software RAID 1 using only the HDD through proxmox environment. It is ZFS filesystem.
Imported a vm (4GB RAM). It uses 12GB of RAM.

I wanted to host three websites and considering each has 4GB RAM it looks like the RAM will be used fully.

Is this a good solution, because it seems to me that it does use a lot of memory to use this kind of setup.
 

Attachments

  • Screenshot from 2022-11-09 15-50-52.png
    Screenshot from 2022-11-09 15-50-52.png
    160.5 KB · Views: 23
ZFS will use UP TO 50% of your hosts total RAM for its ARC (read cache). But if something else needs that RAM the ARC will also shrink again.
And yes, raid1 is beneficial for performance, as you get double the read performance. Of cause not as fast as a raid0 which would also double the write performance, but thats not really the point when using raid1. Its all about not loosing your data (either bit rot over time or failed disk) and less downtime. The additional read performance of raid1 is just a nice side effect.
 
Thanks for the reply. Where should I store these VMs? Should I get a bigger SSD, say 1TB and use that to store VM?
 
Yes, SSDs for the VM storage would be highly recommended as HDDs lack the needed IOPS performance.
 
  • Like
Reactions: onam

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!