RAM Requirements

nhabbott

Dabbler
Joined
Jan 23, 2023
Messages
10
I currently have two TrueNAS Core systems each with a pool of 130TB of storage running in 2 RAIDZ2 arrays. Each system has 64GB of DDR4 ECC RAM. I am seeing occasional stability issues (lock ups) with a VM that has the entire 130TB mounted as a VirtIO drive. The VM is running an IP surveillance software called DW Spectrum. Is this amount of RAM sufficient for this amount of storage?

Edit: The VM is running on a separate pool of a 250GB Mirror with two Samsung 870 EVO drives.
 
Last edited:
Joined
Oct 22, 2019
Messages
3,641
RAIDZ2 arrays
with a VM that has the entire 130TB mounted as a VirtIO drive

Perhaps due to running a VM on a RAIDZ2 pool?

 

nhabbott

Dabbler
Joined
Jan 23, 2023
Messages
10
Perhaps due to running a VM on a RAIDZ2 pool?

I'm sorry, I failed to mention that the VM is running on a separate pool of a 250GB Mirror with two Samsung 850 EVO drives.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Some questions;
  • How full are those 130TB pools?
  • What is the layout of of the pools?
  • What is the make & model of the drives?
  • How does that VM access the 130TB worth of data, Samba, NFS, iSCSI?
ZFS pools should be kept less than 80% full. At some point, I think 95% full, ZFS goes into extreme space saving mode, slowing things down.
 

nhabbott

Dabbler
Joined
Jan 23, 2023
Messages
10
Some questions;
  • How full are those 130TB pools?
  • What is the layout of of the pools?
  • What is the make & model of the drives?
  • How does that VM access the 130TB worth of data, Samba, NFS, iSCSI?
ZFS pools should be kept less than 80% full. At some point, I think 95% full, ZFS goes into extreme space saving mode, slowing things down.
  • The pool stays at 78% used
  • RAIDZ2 (7 drives) + RAIDZ2 (7 drives)
  • The drives are Western Digital 16TB Purple Pro (WD181PURP)
  • The VM accesses the pool by a VirtIO device attached to it. Inside the VM it is seen as one 130TB VirtIO disk
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776

nhabbott

Dabbler
Joined
Jan 23, 2023
Messages
10
What do you mean by "device attached to a pool"?
Here are screenshots because I think I'm using the wrong terminology.

Screenshot_4.png

Screenshot_2.png

Screenshot_3.png
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Ah ... so you created a Zvol on the pool and use that as a block device for a virtual disk?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
How large are these Zvols?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Bet they are nearly the same size as the pool.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Thats inside the zvol - what about the zvol itself?
How much space is left in the pool?
 

nhabbott

Dabbler
Joined
Jan 23, 2023
Messages
10
Thats inside the zvol - what about the zvol itself?
How much space is left in the pool?
The zvol is 120 TiB while the pool is 152 TiB. The remaining 32 TiB stays free to keep the total pool size less than 80% used.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
OK - well thats good. And completely blows my ideas out the window
 
Top