- Joined
- Nov 25, 2013
- Messages
- 7,776
I thought you were going to have a VM pool on SSDs?My NAS zpool consists of 3.5” HDDs.
I thought you were going to have a VM pool on SSDs?My NAS zpool consists of 3.5” HDDs.
Youtubers do stupid things, sometimes. Stating he was using an SSD cache instead of swap is just nonsense. Generally you do not want to create the swap partition on your boot medium - so far he is correct, but for the wrong reasons. Putting swap on the boot drive will put additional write load and wear on what might be a single SSD. So yes, skip that.So the YouTuber opted out for SWAP and dug in for L2ARC. Have you watched it ?
My plan is that I will be having the VMs stored on the 2.5” SATA SSD (Samsung 850 Evo 256gb). But I believe the NVMe SSD is much faster than all the SATA drives, hence I intend to divide the NVMe drive into smaller partitions, each for using as cache to the zpools (e.g. NAS, VM, etc.).I thought you were going to have a VM pool on SSDs?
Currently, I am having 4x 8GB DDR4 UDIMM ECC 2400 RAM sticks. I plan to upgrade to 4x 16 (32) GB DDR4 UDIMM ECC 2666 as soon as I can find 2nd-handed sticks taken from corporate servers around.Still one question: how much memory are you going to put in this server?
So my system will still function normally without SWAP on the boot drive, won’t it ? Will there be any significant difference in speed between booting SWAP and SWAP-less ?Putting swap on the boot drive will put additional write load and wear on what might be a single SSD. So yes, skip that.
Yes and no. Yes, it will boot. No, no noticeable difference at all. Swap is not a speed up mechanism, rather the opposite. It will give the operating system some maneuvering room when running out of physical memory at the expense of speed. RAM is always faster than even the fastest NVME SSD. When running low on memory the OS will clean up cache pages and other things to make room for new data, But it needs some wiggle room to do that. So that's when the swap space might come into play.So my system will still function normally without SWAP on the boot drive, won’t it ? Will there be any significant difference in speed between booting SWAP and SWAP-less ?
Thanks for your patience buddy. Some questions before I assemble this server :bring the system into operation and measure.
No.If I replace the OS drive with a M2 SATA one, will it bottleneck the performance of the NVMe SSDs in the VM’s zpool ?
How will client systems be accessing this two pools? If they are using SMB an SLOG will buy you absolutely nothing as has been repeatedly brought up. An SLOG only helps in the case of synchronous writes, e.g. when serving VM storage via iSCSI or NFS.Assuming my system has already had 128gb RAM in it, SLOG cache for CCTV zpool & L2ARC for NAS zpool or vice versa ?
With 128 G of memory there is a high probability of a good cache hit rate. Build the machine without L2ARC and measure the hit rate, then decide if an L2ARC might be useful.As the cache disks for the NAS & CCTV pools will be 250/256gb SATA SSDs as well as the HDDs included in these pools, will it boost the respective pool’s read (write) speed significantly ?
No idea, sorry.Is the Transcend SSD452P, with PLP functionality, be a good alternative to Intel Optanes ( https://us.transcend-info.com/embedded/product/embedded-ssd-solutions/ssd452p-ssd452p-i ) ?
ARC total accesses (hits + misses): 9.7G Cache hit ratio: 99.8 % 9.7G Cache miss ratio: 0.2 % 17.9M Actual hit ratio (MFU + MRU hits): 99.8 % 9.7G Data demand efficiency: 94.0 % 148.8M Data prefetch efficiency: 5.7 % 4.9M
For my NAS zpool, I will be implementing the SMB protocol.If they are using SMB an SLOG will buy you absolutely nothing as has been repeatedly brought up.
What commands in the CLI to use for measuring these rates ?99.8% cache hit rate
So no SLOG.For my NAS zpool, I will be implementing the SMB protocol.
What commands in the CLI to use for measuring these rates ?
arc_summary
I see. I am asking about the possibility of using a L2ARC ssd for NAS zpool & another one as SLOG for CCTV zpool. From what you have been responding to my question, I get that this combination is a viable possibility, am I correct ?So no SLOG.
Because SSD is much faster than HDD, regardless of the interface it is implemented on.Why are you so obsessed with "cache SSDs"?
I believe I will be setting up a VM (docker, depends on whether it is in the repository or not) running either Shinobi or ZoneMinder. From there, clients will access them locally using their mobile app, and via VPN remotely.How will client systems (cameras?) access the CCTV pool?
Correct. But RAM is still faster than any SSD. And ZFS very aggressively caches everything using all available RAM. So if your introduction of an SSD leads to data ending up in the SSD cache instead of the RAM cache, you will actually slow down your system.Because SSD is much faster than HDD, regardless of the interface it is implemented on.
Will all the storage for your CCTV reside inside the VM's virtual disks or will there be a network drive/sharing involved? If the former, will you set the VM pool toI believe I will be setting up a VM (docker, depends on whether it is in the repository or not) running either Shinobi or ZoneMinder. From there, clients will access them locally using their mobile app, and via VPN remotely.
sync=always
?I will spare the entire CCTV zpool just for the CCTV vm (docker) to use it.Will all the storage for your CCTV reside inside the VM's virtual disks or will there be a network drive/sharing involved?
What do you think, buddy ? Is this a viable possibility in case of more memory is needed ?I am asking about the possibility of using a L2ARC ssd for NAS zpool & another one as SLOG for CCTV zpool.
I have not yet even assembled the system. Would you pls tell me more about this ?If the former, will you set the VM pool tosync=always
sync=always
for your VM pool an SLOG will not improve anything. Not. at. all.sync=always
do?sync=always
for the pool enforces synchronous writes.