Hi, I am currently running a TrueNAS Core system for CCTV and it is working perfect under the current load. We are currently recording 268 4K cameras to a 50 drive RAIDZ2 storage pool (50x 16TB enterprise drives [10 drives per zdev]). The system will be expanding to accommodate another 400+ cameras and will be adding additional drives as well. Since 99% of the traffic is being written to the drives, with the occasional read from pulling archived footage, I am interested to get feedback on how best to expand the storage.
The Write Transaction happens every 4-5 seconds writing an entire 1GB of data in a sec. I have tried to extend the write transactions to 30 seconds, but it seems the system applys a cap of 1GB RAM Cache before writing the transaction to the drives. I know extending the write transaction time could cause data loss in the event of a system failure, but I am willing on accepting this risk. I hear of another idea to create another layer of Cache by creating a drive using your RAM but I believe my current motherboard does not support this. The goal is to minimize write time to allow for better read speeds. If there is a better solution I am all ears.
Overall, I have 3 ideas on how to expand. The first being to add additional zdevs to the original 50 drive pool. This will allow us to achieve better read and write speeds, but 1 pool means 1 point of failure. Another Idea is to just create another pool with the additional drives and associate the new cameras with the new pool. This sounds the easiest, but will restrain read and write and create a little complexity with iSCSI extents. The last idea I have is to just add another TrueNAS server and send all the new cameras there. This will incur more cost and maintenance, but will alleviate all said issues.
Current Throughput:
1.5Gbps
Estimated Future Throughput
3.7Gbps
Communication Protocol = iSCSI
The current build is:
TrueNAS-12.0-U2.1
2x Intel(R) Xeon(R) Silver 4208
Drives: 50x Segate SAS Exos 16TB
64GB RAM (Will expand to 256GB)
Raid: HBA Controller
Network: Dual 10Gb SFP+ (LAGG)
The Write Transaction happens every 4-5 seconds writing an entire 1GB of data in a sec. I have tried to extend the write transactions to 30 seconds, but it seems the system applys a cap of 1GB RAM Cache before writing the transaction to the drives. I know extending the write transaction time could cause data loss in the event of a system failure, but I am willing on accepting this risk. I hear of another idea to create another layer of Cache by creating a drive using your RAM but I believe my current motherboard does not support this. The goal is to minimize write time to allow for better read speeds. If there is a better solution I am all ears.
Overall, I have 3 ideas on how to expand. The first being to add additional zdevs to the original 50 drive pool. This will allow us to achieve better read and write speeds, but 1 pool means 1 point of failure. Another Idea is to just create another pool with the additional drives and associate the new cameras with the new pool. This sounds the easiest, but will restrain read and write and create a little complexity with iSCSI extents. The last idea I have is to just add another TrueNAS server and send all the new cameras there. This will incur more cost and maintenance, but will alleviate all said issues.
Current Throughput:
1.5Gbps
Estimated Future Throughput
3.7Gbps
Communication Protocol = iSCSI
The current build is:
TrueNAS-12.0-U2.1
2x Intel(R) Xeon(R) Silver 4208
Drives: 50x Segate SAS Exos 16TB
64GB RAM (Will expand to 256GB)
Raid: HBA Controller
Network: Dual 10Gb SFP+ (LAGG)
Last edited: