CPU Usage

diver165

Young grasshopper
May 26, 2016
48
16
I have a BI system that has 24 cameras. I've been using Blue Iris for years. I am running BI 6 ALL are recording continuous plus triggered. All are running 15 FPS. All are using sub-streams, direct to disk recording. Intel HA and BVR. My CPU usage used to run 10-20% typically. I don't use this PC for anything other than BI. It is a Intel i5 12400 CPU w/ 32gig RAM and 24tb of HD space. So what's with the jump in resources? I started noticing the jump a few months before BI 6 was available. Nothing has changed on the system. I've got it pretty well insulated so I don't run windows defender or antivirus. It's almost like I've got some memory that is going bad. There are times where I'll check the system and I'll be using 80-90% of my available RAM. I reboot and I'm good to go until the next random memory issue.
 
Sounds like a memory leak in BI. Alternatively an issue in a Windows Update causing a memory leak. Try leaving it without rebooting and see if it runs out of memory and crashes or hits 100% and goes slow as it writes to disk instead. Sure sign of a memory leak.

I think someone else has posted on here of a potential memory leak in a late 5 update.

BTW you can test memory using Memtest 86 but it does take your system down for hours.

 
Sounds like a memory leak in BI. Alternatively an issue in a Windows Update causing a memory leak. Try leaving it without rebooting and see if it runs out of memory and crashes or hits 100% and goes slow as it writes to disk instead. Sure sign of a memory leak.

I think someone else has posted on here of a potential memory leak in a late 5 update.

BTW you can test memory using Memtest 86 but it does take your system down for hours.

I think it's a memory leak in Blue Iris. I open task manager and sort by memory usage and the amount fluctuates but gradually increases over time. Everything else fluctuates but settles in a ball park range. BI just keeps going up and up.
 
I think we are recommending to run with Intel HA decode "OFF" ....Globally, or running only a few on HA.
Free to try.....Try removing and reseating the RAM modules. or running with 1/2 the ram pulled and monitor the situation. might find an unhappy ram module.
1766378759099.png
 
Sounds suspiciously similar to the Intel graphics drivers issues from some 4th-5th-6th generation Intel processors in early Blue Iris 5.
 
I think I found the bulk of my problem. Seems during the upgrade from BI 5 to 6, half of my camera's substream URL were copied over with the main stream. I'm a bit embarrassed it didn't jump out at me over the last several weeks of me beating my head on the keyboard. I found all of them and fixed it.

But....still having no benefit from Hardware Acceleration. While CPU/memory usage dropped back down to normal, I'm just not seeing the benefit of having it on. No matter how I enable it (per camera, individual camera, Intel or Intel+VPP) my GPU performance never changes, my CPU performance raises slightly and memory usage creeps up ever so slowly). The only way I can keep things stable in the long run is to keep it off.
 
  • Like
Reactions: Flintstone61
I think I found the bulk of my problem. Seems during the upgrade from BI 5 to 6, half of my camera's substream URL were copied over with the main stream. I'm a bit embarrassed it didn't jump out at me over the last several weeks of me beating my head on the keyboard. I found all of them and fixed it.

But....still having no benefit from Hardware Acceleration. While CPU/memory usage dropped back down to normal, I'm just not seeing the benefit of having it on. No matter how I enable it (per camera, individual camera, Intel or Intel+VPP) my GPU performance never changes, my CPU performance raises slightly and memory usage creeps up ever so slowly). The only way I can keep things stable in the long run is to keep it off.

Glad you found the problem.

As far as using hardware decoding is concerned, around the time AI was introduced in BI, many here had their system become unstable with hardware acceleration (hardware decode) (Quick Sync) on (even if not using DeepStack or CodeProject). Some have also been fine. I started to see errors when I was using hardware acceleration several updates into when AI was added.

This hits everyone at a different point. Some had their system go wonky immediately, some it was after a specific update, and some still don't have a problem, but the trend is showing running hardware acceleration will result in a problem at some point.

However, with substreams being introduced, the CPU% needed to offload video to a GPU (internal or external) is more than the CPU% savings seen by offloading to a GPU. Especially after about 12 cameras, the CPU goes up by using hardware acceleration. The wiki points this out as well.

Plus substreams opens up the possibility for older machines to be just fine, along with non-intel computers.

My CPU % went down by not using hardware acceleration.

Here is a recent thread where someone turned off hardware acceleration based on my post and their CPU dropped 10-15% and BI became stable.

But if you use HA, use plain intel and not the variants.

Some still don't have a problem, but eventually it may result in a problem.

Here is a sampling of recent threads that turning off HA fixed the issues they were having....

No hardware acceleration with subs?


Hardware decoding just increases GPU usage?


Can't enable HA on one camera + high Bitrate


And as always, YMMV.
 
  • Like
Reactions: Bruce_H