Blueiris Server 90-100% CPU Usage! Help, I can't figure out why?

Jsc255

n3wb
Aug 3, 2022
21
3
United States
My Blueiris is running at 96%-100% CPU! I have an newer PC that I built for my blueiris server a few years ago that has about 53 Cameras on it. This system used to run around 20-30% CPU usage and I dont recall what caused it to spike up so much.
Some cameras are mixed between H264, H265, and H265+, all cameras are at 4k, recently I reduced my FPS to 15 on all cameras configs and made sure BI matched these to try to bring the key frame rates to 1.00. However some are 0.50.
All BI camera configs are set to Intel +VPP decoding.
BI recording is set to BVR and Direct-to-disk and 24/7 recording.
Has Anyone ran in to this issue before? I am scratching my head on that to try to check to lower the CPU.

PC Specs:

CPU 12th Gen Intel(R) Core(TM) i9-12900K 16 Core 24 threads.
Memory 32GB DDR5 4800Mhz
M.2 Samsung 960 EVO 1TB for windows drive only
(6) 12TB WB Purple drives. (Every 8 Cameras are set to record to 1 drive)
3070 RTX GPU



View attachment 232140
 

Attachments

Use H264 or H264H. Do not use Hardware Acceleration.

Are you using substreams?
I do have sub streams enabled on all cameras. Do I need sub streams? I would assume its good for remote viewing when away from home?
Substreams helps keep the CPU down tremendously.
Right not
Substreams helps keep the CPU down tremendously.
I have been trying to tweak some settings, The cup is still at 61% and seem very high for what it used to run a while back. What else can I try?
1762738669389.png
 
Use H264 or H264H. Do not use Hardware Acceleration.

Are you using substreams?
I do have sub streams enabled on all cameras. Do I need sub streams? I would assume its good for remote viewing when away from home?
Substreams helps keep the CPU down tremendously.
Right not
Substreams helps keep the CPU down tremendously.
I have been trying to tweak some settings, The cup is still at 61% and seem very high for what it used to run a while back. What else can I try?
View attachment 232151
Turn off Hardware Acceleration
Ok just tried that and restarted and the CPU usage went down a little bit, now its 65%.. Any ways to reduce it further?
 
There is hardware acceleration at the global level and camera level. Make sure it is off/disabled for both.

Make sure BI and video folders are excluded from virus protection.

If the CPU is still high, then disable every camera and BI should be running at 0%. If it is higher then you have something wrong with BI.

If it is 0% CPU, then slowly enable each camera one by one and watch the CPU - when you see the big spike then you have a corrupt camera file and deleting and readding the camera should fix it.
 
  • Like
Reactions: AP514 and ticines
You have disabled the native Windows virus protection?

1762796429509.png


If you have disabled the Windows virus protection, then yeah I would reinstall BI as a 4th gen BI with all cameras disabled will run 0%.

You will probably want to export out each camera setting so that you can import them in individually.

You could also export out the global BI config file, but that may bring back in whatever issue you have.

But before you do, pop a screenshot of your task manager so we can see what is all running and make sure something else isn't causing the issue first.
 
Since you have CodeProject running - stop that and see if BI drops to zero. Maybe it is a CodeProject/BI issue.
 
I suspect one is the service and the other is the program open on the screen.
So today I reinstalled the windows and imported the settings. Everything seems to be running better.. If I turn off decode on all cameras, will this affect anything that I am doing here? I read somewhere online about turning off decoding will affect the recording and alerts?

1762877365494.png

1762877391585.png
 
Something isn't right.

Post the BI status page that shows the info below including the totals and sub info

1762878990374.png
 
Your machine is overkill powerful for Blue Iris, so there's just definitely something goofy we haven't yet nailed down here. I'd expect CPU usage to be in the ballpark of 10% (higher with remote viewing sessions active). Not 80%+.

Lets make sure you got hardware acceleration turned off properly. Go to the camera status window (the one you exported to PDF for us in the original post). In the "HA" column of the status table, you had a lot of "I" and a few "N", meaning Intel and Nvidia hardware decoding were in use. Make sure those are all showing "-" now meaning no hardware acceleration. Blue Iris's hardware acceleration is pretty buggy and not really worth the risks anymore when you're using low res sub streams with all your cameras (which you are).

"Limit decoding unless required" is a feature that makes Blue Iris only decode i-frames unless the camera is maximized. It used to be quite valuable in the years before sub streams were available to use in Blue Iris. But now it is not generally recommended anymore because it comes with penalties for BI's motion detection performance and live viewing performance. Your system should be fast enough that you absolutely do not need this feature.

I notice from your camera status export that you do not have matching frame rates and i-frame intervals in a lot of cases between main and sub streams. This should not affect CPU usage in a significant way, but later when you get this CPU usage issue resolved, I recommend checking out the sub stream guide I wrote. In particular you should have the frame rates of main streams and sub streams set to the same value. It can also be beneficial to match up their i-frame intervals with their frame rates but this is less important.



One thing I have not seen recommended yet is:
Check your CPU temperature.

If it is overheating and thermal throttling due to bad CPU cooler contact or dead CPU fan or something, that could explain why the CPU usage is drastically higher than expected.

This program should show you the temperature and the clock speed per core.
The i9-12900K should be running 2400-3900 MHz on the 8 efficiency cores and 3200-5200 MHz on the 8 performance cores and the temperature should probably be more than 5 degrees below the "Tj. Max" value shown in the program.
 
  • Like
Reactions: looney2ns
If you can't identify a problem with the CPU temperature, then I encourage you to install and run Passmark's PerformanceTest to get a baseline and make sure your system is not having some general performance problem. It'll take about 10-15 minutes or so and you can compare the results for your CPU and GPU with others.

Here's the download link:
i9-12900K reference: Intel Core i9-12900K Benchmark
RTX 3070 reference: PassMark - GeForce RTX 3070 - Price performance comparison
 
  • Like
Reactions: looney2ns