Ubiquiti NVR Performance Improvement
-
Hey guys, from a storage point of view, how can I improve the Ubiquiti NVR performance? The host I have is a Dell R530, dual proc, 16 cores each, 64 GB of RAM, 8 TB of HDD's (4, 2-TB HDD's in RAID 10, SAS 7200RPM), using Xenserver 7.2 release. I do have most of my vm's hosted on this one. I am considering moving the vm to my 2nd host which doesn't have any real vm's running all the time.
Ubiquiti support has enabled a RAM Disk on the vm. It's Windows Server 2012 R2. The vm has 4 vCPU's, 16 GB RAM, 1 TB HDD.
Problem we are getting is the storage is getting slow enough to impact the write heavy camera's hitting the nvr.
-
Really your only option is to get faster storage. 1TB SSDs right now are very inexpensive.
-
@coliver That's not the only option though. Switching from 7.2 to 10k and 15k are two different options as much as getting ssds or nvme. I due believe strongly in going ssd first but at the time of the purchase, ssd wasn't considered. 90% of the workloads we have are running ok with good performance!
-
@krisleslie said in Ubiquiti NVR Performance Improvement:
@coliver That's not the only option though. Switching from 7.2 to 10k and 15k are two different options as much as getting ssds or nvme. I due believe strongly in going ssd first but at the time of the purchase, ssd wasn't considered. 90% of the workloads we have are running ok with good performance!
At the price of 10K or 15K drives you can just about get SSDs of the same capacity.
-
@krisleslie said in Ubiquiti NVR Performance Improvement:
@coliver That's not the only option though. Switching from 7.2 to 10k and 15k are two different options as much as getting ssds or nvme. I due believe strongly in going ssd first but at the time of the purchase, ssd wasn't considered. 90% of the workloads we have are running ok with good performance!
But my point still stands. The only option is faster storage. SSDs at the current price point make the most sense but yes there are other options.
-
@coliver I agree just making a point that wasn't the only option
-
@coliver Also to point out, it's only this 1 vm that needs performance like crazy for all the time writes. I know one idea is to increase the ram to the vm and add more to the RAMDISK to hopefully not saturate the buffer. But that is a limited option.
-
@krisleslie said in Ubiquiti NVR Performance Improvement:
@coliver Also to point out, it's only this 1 vm that needs performance like crazy for all the time writes. I know one idea is to increase the ram to the vm and add more to the RAMDISK to hopefully not saturate the buffer. But that is a limited option.
Ubiquiti NVR does not require a lot of resources if you have fast enough drives. How many cameras are we talking about and what are your settings?
-
@penguinwrangler yes it doesn't require that much but ohhhh you can get penalized on the storage. 25 Cameras.
-
Which settings specifically? I know reducing some of the video settings will lessen the performance impact.
-
For all the vm's everything else is running pretty smoothly. This is the first time at any point I've felt a IOPS issue. Which is good We are tiny so we only have about 25 VM's running.
-
I have done a 60 camera system at a huge hog farm with Ubiquiti. It is always the IOPS. I just broke mine up between 3 servers. Not the prettiest thing to do but that is what I had to do. Ran each with four 2TB drives in a RAID 10
-
@penguinwrangler said in Ubiquiti NVR Performance Improvement:
I have done a 60 camera system at a huge hog farm with Ubiquiti. It is always the IOPS. I just broke mine up between 3 servers. Not the prettiest thing to do but that is what I had to do. Ran each with four 2TB drives in a RAID 10
Does the client have to log in to 3 different servers to switch between the cameras?
-
Our NVR is on AWS S3 as the storage so no problem there.
-
How would you be able to sustain it on AWS?
-
@krisleslie said in Ubiquiti NVR Performance Improvement:
How would you be able to sustain it on AWS?
In what way do you mean?
-
@scottalanmiller if the nvr is in the cloud, that's gotta be a lot of data going over WAN.
-
@krisleslie said in Ubiquiti NVR Performance Improvement:
How would you be able to sustain it on AWS?
Is a VM in AWS, that's why. Data is not going over WAN is in the same zone.
-
-
With that in mind, if adding additional drives will add to the read/write performance, then I should be able to just add additional sas drives. I only have 8 bays for storage. 4 are being used.