- May 19, 2015
- 104
- 6
Just for background, I have been running my own BI setup for about 4 years now with 9 1080p cameras. I have also been installing for clients on minor systems for business using around 4-8 cameras total all 1080p. I know the usual tweaks, add-ons like UI3, BI Tools etc. And have gone thru all the performance tips etc to squeeze every inch of performance out of the systems.
The latest setup thou has me pulling my hair out.
The new setup is not quite 100% complete, but will total:
When first setting up, in the first few days, I was getting great results on UI3. I was getting 12FPS viewing all cameras. I would also get 12FPS view one camera (have group settings capped at 12FPS and 1024 x 720).
But now I have added all cameras (I even added the, to be installed ones and have disabled those for now), I am getting weird results. Nothing is consistent where sometimes I just reboot or restart BI and the results change.
Sometimes I get UI3 reporting 12FPS on all cameras group, but you can clearly see it isn't. Then clicking on a camera shows it as 1FPS. Other times I get 3-4 FPS on all camera group, and full 12FPS on each camera alone.
I originally thought that maybe the graphics drivers, which I made the patch to the Intel Drivers as instructed in the Wiki to prevent the memory leak. I have all cameras using GPU decoding just fine, can see 40-50% GPU usage.
CPU usage is also a weird one, most of the time I get 40-50% CPU with BI open and dropping to 20-30 with it closed. I get around 20-30% when running as a service. But sometimes I get 1% CPU usage, and when looking at the Task manager it seems that sometimes it stops using multicore and starts using a single core when showing very low CPU. If I restart BI when like this it sometimes stays only using 1 or 2 cores and really low CPU and after another restart, it might go back to normal 40-50% and multicore again.
RAM usage is only at around 8Gb of the 16Gb so that's never an issue. and I have checked and am not having throttling issues either.
For recording I have Direct to Disk, to the SSD then convert files while moving to the SATA, then after move to a Dual Synology 12 Drive NAS HA setup.
I also have only 2 profiles, Day & Night based on Sunrise and Sunset. Daytime I have all cameras continuous recording, no motion detection or anything. At night, I have all indoor cameras (currently 15) and recording on motion only, and all outdoor ones (currently 4 4K ones) recording continuously still, no change for daytime. No change in performance between the 2 to clearly show that a profile setup is the issue either. A couple of times thou, I have had the PC go 100% CPU and stay there when profiles change. A restart of BI seems to fix that untill the next profile change.
All I want is good frame rates on UI3 for viewing and I can get them sometimes I cannot seem to make it consistent, nor can I make a particular change to settings and get a clear repeatable issue.
Another smaller but still annoying issue is that on 1 camera I have setup line crossing detection in the camera, and it triggers an alert on BI. It is supposed to post an image to a folder, then calls a webhook I built that in turns sends the office PC's a Chrome Notification that someone has entered the entry area and shows a snap from that notification. Thou I had it working on the exact same settings prior on a smaller NVR before this major upgrade, I now cannot get BI to post the images to either Local Drive, Mapped NAS folder or a Direct Network UNC path. It sometimes will but I am talking maybe 1 in a dozen forced triggers (to test). I get same results using FTP upload instead, maybe slightly more hits that misses but still not enough of a difference to clearly say that one has a problem and the other doesn't. Seems that the whole posting an image has a problem.
Can anyone please help. I am running out of ideas to test and check and am thinking that maybe someone on the outside may have fresh eyes.
BTW: I am willing to give access to someone if they need it to take a deeper look into the settings etc.
Forgot to metion: We have 100Mb Down 40Mb Upload Fibre internet connection. I have also got the connection for NVR setup with QoS and such to make it a priority over everything else barring phones. I have also tested with and without QoS turned on and no difference. I get the above issues both locally on the 1Gb network and from Home where I also have the 100/40 Fibre.
The latest setup thou has me pulling my hair out.
The new setup is not quite 100% complete, but will total:
- 19 x 1080p 12FPS@2048 2032 Hikvisions - 13 Installed
- 1 x 1080p 24FPS@2048 Mini-PTZ - 1 Installed
- 1 x 2160p 24FPS@4096 2085 Hikvisions - 0 Installed
- 5 x 2160p 12FPS@4096 2085 Hikvisions - 5 Installed
- i7 8700K Standard Clocking
- 16Gb RAM
- 250Gb SSD
- 1TB SATA
- Blue Iris
- Blue Iris Tools
- BI UI3
When first setting up, in the first few days, I was getting great results on UI3. I was getting 12FPS viewing all cameras. I would also get 12FPS view one camera (have group settings capped at 12FPS and 1024 x 720).
But now I have added all cameras (I even added the, to be installed ones and have disabled those for now), I am getting weird results. Nothing is consistent where sometimes I just reboot or restart BI and the results change.
Sometimes I get UI3 reporting 12FPS on all cameras group, but you can clearly see it isn't. Then clicking on a camera shows it as 1FPS. Other times I get 3-4 FPS on all camera group, and full 12FPS on each camera alone.
I originally thought that maybe the graphics drivers, which I made the patch to the Intel Drivers as instructed in the Wiki to prevent the memory leak. I have all cameras using GPU decoding just fine, can see 40-50% GPU usage.
CPU usage is also a weird one, most of the time I get 40-50% CPU with BI open and dropping to 20-30 with it closed. I get around 20-30% when running as a service. But sometimes I get 1% CPU usage, and when looking at the Task manager it seems that sometimes it stops using multicore and starts using a single core when showing very low CPU. If I restart BI when like this it sometimes stays only using 1 or 2 cores and really low CPU and after another restart, it might go back to normal 40-50% and multicore again.
RAM usage is only at around 8Gb of the 16Gb so that's never an issue. and I have checked and am not having throttling issues either.
For recording I have Direct to Disk, to the SSD then convert files while moving to the SATA, then after move to a Dual Synology 12 Drive NAS HA setup.
I also have only 2 profiles, Day & Night based on Sunrise and Sunset. Daytime I have all cameras continuous recording, no motion detection or anything. At night, I have all indoor cameras (currently 15) and recording on motion only, and all outdoor ones (currently 4 4K ones) recording continuously still, no change for daytime. No change in performance between the 2 to clearly show that a profile setup is the issue either. A couple of times thou, I have had the PC go 100% CPU and stay there when profiles change. A restart of BI seems to fix that untill the next profile change.
All I want is good frame rates on UI3 for viewing and I can get them sometimes I cannot seem to make it consistent, nor can I make a particular change to settings and get a clear repeatable issue.
Another smaller but still annoying issue is that on 1 camera I have setup line crossing detection in the camera, and it triggers an alert on BI. It is supposed to post an image to a folder, then calls a webhook I built that in turns sends the office PC's a Chrome Notification that someone has entered the entry area and shows a snap from that notification. Thou I had it working on the exact same settings prior on a smaller NVR before this major upgrade, I now cannot get BI to post the images to either Local Drive, Mapped NAS folder or a Direct Network UNC path. It sometimes will but I am talking maybe 1 in a dozen forced triggers (to test). I get same results using FTP upload instead, maybe slightly more hits that misses but still not enough of a difference to clearly say that one has a problem and the other doesn't. Seems that the whole posting an image has a problem.
Can anyone please help. I am running out of ideas to test and check and am thinking that maybe someone on the outside may have fresh eyes.
BTW: I am willing to give access to someone if they need it to take a deeper look into the settings etc.
Forgot to metion: We have 100Mb Down 40Mb Upload Fibre internet connection. I have also got the connection for NVR setup with QoS and such to make it a priority over everything else barring phones. I have also tested with and without QoS turned on and no difference. I get the above issues both locally on the 1Gb network and from Home where I also have the 100/40 Fibre.
Last edited: