Help with CPU performance [Solved]

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
After adding 6 new cameras I'm looking for some improvements on our CPU performance as our server is running about 85% CPU for BI and overall 92-95%. I've followed this post (Optimizing Blue Iris's CPU Usage | IP Cam Talk) and have done all of them except for the 'Limit decoding unless required' option. I noticed with this checked on all cameras CPU was down to only 15% but noticed that the motion detection wasn't picking up a lot of actual motion needing to record and saw from a different post this is a downfall. Anyways was wondering if there are any other tweaks I can apply to help CPU performance without loosing motion dection? Thanks for the help.

Most settings listed below, not a network issue as on the BI server with a webpage open to the cameras stream is clear with 0 lag. h.264 HW decode: yes no VPP

BI Specs: Tweaks listed in above post - Camera FPS to 20 - Prerecord 7sec - 20sec after record.

Our current DVR system is as follows
Xeon E5-2690 2.90ghz (2 sockets) 16 total cores - 32GB memory - Integrated Video - 22 Cameras Hikvision/NSC - 55TB usable Raid 5 or 6 (cant remember)

Camera Specs: 25fps - 1080p or Higher Resolution - Constant bitrate - max @ 2048Kbps - H.264 encoding
8 - DS-2CD2032-I
3 - NSC-4A320-PTZir
4 - NSC-204-BT
2 - NSC-2X4-DM
6 - XC-2032FI
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
Havent yet, however I will. Should I change the setting in the camera or in BI, or both?
 

gwminor48

Known around here
Joined
Jul 16, 2015
Messages
3,647
Reaction score
6,987
Location
Texas
In the camera. I know that's easier said than done with that many cameras.
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
Luckily I still had all of my tabs open to the cameras settings page, lowered to 15fps and lowered CPU to about 80% now. Looks like it helped, anything else to try?
 

gwminor48

Known around here
Joined
Jul 16, 2015
Messages
3,647
Reaction score
6,987
Location
Texas
I assume you are already doing direct to disc since you looked at the post for optimizing Blue Iris. And limiting the fps in the live view in BI.
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
@drunkpenguin - I'll try changing that as well if everyone else uses Variable
@looney2ns - Can you clarify? like for viewing the server?
@gwminor48 - yes, already doing direct to disc recording, found a few cameras when going though that guide that didnt :) Also BI live view settings I had at 20 but guess i can lower to 15 now thats what the cameras are on.

Thanks for all of the help!

Also was wondering from another thread I saw about a video driver issue memory leak, right now BI is using 6.24gb but looks like I need to do some more reading.
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,606
Reaction score
22,832
Location
Evansville, In. USA
@drunkpenguin - I'll try changing that as well if everyone else uses Variable
@looney2ns - Can you clarify? like for viewing the server?
@gwminor48 - yes, already doing direct to disc recording, found a few cameras when going though that guide that didnt :) Also BI live view settings I had at 20 but guess i can lower to 15 now thats what the cameras are on.

Thanks for all of the help!

Also was wondering from another thread I saw about a video driver issue memory leak, right now BI is using 6.24gb but looks like I need to do some more reading.
Remotely viewing the console via team viewer or such. This will jackup the CPU useage, in some case's significantly.
The live view FPS can be lowered more, it doesn't affect recordings.
 

gwminor48

Known around here
Joined
Jul 16, 2015
Messages
3,647
Reaction score
6,987
Location
Texas
On live view I'm happy with mine set at 10, some people go lower, It makes a difference on the cpu but does not effect recordings, they will still be 15fps.
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
@looney2ns - Ahh ok, we are using a RDP session to view the video stream and have the 'video during remote desktop' so to unrestricted. We are in NOC and need a live view of all the cameras up on the TVs. Right now this works great but if there is a better way to have a live view of all cameras with less CPU I'm all ears.
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
Would PTZ cameras with smart tracking have any affect on the CPU usage and motion detection? Seems like they are a bit weird on picking up the motion while the camera is PTZ on the object.

Down to 72% CPU and holding there, much better so far!
 

gwminor48

Known around here
Joined
Jul 16, 2015
Messages
3,647
Reaction score
6,987
Location
Texas
I use RDP too, I know what you are saying about the "unrestricted" but if I change to 2 or 3 fps live view in BI I can see a difference. I like my 10 fps for myself.
 

gwminor48

Known around here
Joined
Jul 16, 2015
Messages
3,647
Reaction score
6,987
Location
Texas
+1 @looney2ns. And if you are pushing it on cpu I would not recommend TeamViewer, it's a good program but definitely uses more cpu than rdp.
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
@looney2ns - wow the ui3 is excellent! Just wish the streaming profile was as clear as the RDP session. jpeg best looks pretty great though. Thank you!
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,901
Reaction score
21,269
@looney2ns - wow the ui3 is excellent! Just wish the streaming profile was as clear as the RDP session. jpeg best looks pretty great though. Thank you!
it is as clear as rdp...you simply need to properly setup the webserver bitrates...webserver tab..
 

nutt318

Young grasshopper
Joined
Jul 28, 2015
Messages
51
Reaction score
18
Using the new UI3 interface and killing the RDP session of the console view has dropped about 15% CPU usage off. Amazing! Down to 45% CPU usage now. Very happy with performance and thank you all for the help!

Is it possible to change the size or move the cams around in the layout? I'll also do some looking in the forum for the UI3 as well.
 

JonW

Young grasshopper
Joined
Apr 4, 2017
Messages
38
Reaction score
19
If it's the same as UI2, the layout mimics how you have your cameras arranged in Blue Iris
 
Top