PC now struggling. 70 to 99% cpu

bbwolfe

Getting the hang of it
Feb 10, 2025
99
39
us
My old PC is starting to struggle with my upgraded cameras. The cpu now runs at 70% to 99%. It runs 24/7.
I wonder if there are some BI tuning I can do?
OR
Is it time to upgrade the PC or move to an NVR?

---------------------------------------------
BI:
  • 3 external SSD disks attached via USB
  • Direct to Disk set

PC:
Window 10 pro (hardware won't allow upgrade to 11)
Intel i7-3770K
8GB ram
Graphics intel HD 4000

10 running cameras
 
Have you enabled substreams for all your cameras?
 
Have you enabled substreams for all your cameras?
That might be it! I actually disabled substream on the two newest high end cameras. I was working on improving the video during motion (trying to eliminate blur).

Edit: Nope. Turns out during rebooting the cameras reenabled substream.
I went into BlueIris Video setting but I am not sure how to make sure the "Direct to Disk" recording comes from Main, but the video displayed on the PC (BlueIris screen) is displaying from the lower resolution sub-stream?
 
Last edited:
Have you enabled substreams for all your cameras?
I am hoping you will stick with me as I learn how to tune BI correctly. I will have stupid Noob questions since the instructions "words" do not match the current version of BlueIris. (he changes menu options and labels during upgrades)
I'm using BI Release 5.9.9.23 x64 (1/22/2025)
 
I am starting to drive down the CPU to 47% by making the following changes but the video is now choppy vs smooth playback on 15 fps vs 25 fps.

BI changes made so far:

Record:
Direct to Disk -
Disabled RECORD>FILE FORMAT AND COMPRESSION - (Record dual-stream & Save blackout/mask)

Video:
Set Max frame rate to 15 fps at camera and BI
 
Intel i7-3770K
Are you really using a gen 3 i7? or is it a typo. That is from 2012. Not trying to sound bad here its just super old.
Launch Date
Q2'12

Its best to be on a Gen 6 or higher. That would be a i7 6770 or higher generation. first # denotes generation. To use Intel Quick sync you need to be on Gen 6 or higher.
Hardware

Models recommended here are chosen for favorable pricing. These are not the most powerful computers by modern standards, but are still very capable if you follow the Blue Iris optimization guide and especially if you use sub streams.

Some models to search for:
SeriesSuggested Models
Intel 8th generation (Win11 support)i7-8700, i5-8600, i5-8500, i5-8400
Intel 7th generationi7-7700, i5-7600, i5-7500, i5-7400
Intel 6th generationi7-6700, i5-6600, i5-6500, i5-6400

While I think you can get better performance by doing the Wiki guides. A newer used pc with a higher generation will be much better. They are super cheap on ebay.

3 external SSD disks attached via USB
Also are these SSDs for recording video or the OS?

its not recommend to use SDD for recording

Storage for Video​


For video recording, you want a mechanical hard drive (HDD) as these are more cost-effective than SSDs and have better write endurance. For best performance, buy a surveillance drive such as Western Digital Purple or Seagate SkyHawk. Configure Blue Iris to put all recording folders on the HDD(s), via Blue Iris Options > Clips and archiving.
 
Last edited:
As an eBay Associate IPCamTalk earns from qualifying purchases.
As an Amazon Associate IPCamTalk earns from qualifying purchases.
  • Like
Reactions: Flintstone61
8GB ram
10 running cameras
Whether you get different PC or not I would opt for 16 gigs of ram.

For sure if you are using or wanting to use Code Project AI

"The largest systems (20+ cameras or 800+ MP/s) benefit from 16 GB. If you intend to use Blue Iris's AI integrations, expect the AI engine to require a few gigabytes of memory. 16 GB should still be sufficient however for most users."
 
  • Like
Reactions: SouthernYankee
Thank you everyone for all these points. Sure does sounds like I need to upgrade for sure.
Are you really using a gen 3 i7? or is it a typo. That is from 2012. Not trying to sound bad here its just super old.
Launch Date
Q2'12

Its best to be on a Gen 6 or higher. That would be a i7 6770 or higher generation. first # denotes generation. To use Intel Quick sync you need to be on Gen 6 or higher.
Hardware

Wow, thank you for this information! Do you have any recommendation on a decent PC I can purchase? (I see the specs, but wonder if I should just go to DELL or something?)

Yes, it is that old of a PC. It has been running 24/7 dedicated BlueIris PC since then.
Yes, I am ignorantly using (3) SSD drives. I will now move to HDD.
 
Whether you get different PC or not I would opt for 16 gigs of ram.

For sure if you are using or wanting to use Code Project AI

"The largest systems (20+ cameras or 800+ MP/s) benefit from 16 GB. If you intend to use Blue Iris's AI integrations, expect the AI engine to require a few gigabytes of memory. 16 GB should still be sufficient however for most users."
Perfect! Will do. Thank you.
 
If you like BI, then no sense moving to an NVR - an NVR will cost you more than a new computer.

With that said, you must not be using substreams.

Make sure you have done all of the optimizations.

Post a screenshot of the camera status page that shows the MP/bitrate and at the bottom will show MP/s.


People run 30 cameras on a 3rd gen. Not that I am advocating to buy a 3rd gen, but if you have one and 10 cameras, you have something off.

Older computer is fine

But if you are going to get a newer computer, the recommendation is an 8th gen as it can run Windows 11. Can be found for under $150.


Quick sync/hardware acceleration isn't really needed anymore and it can be an energy hog.

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.
 
Quick sync/hardware acceleration isn't really needed anymore and it can be an energy hog.
are you saying we dont need this? Maybe this isnt quick sync?
1739472181164.png
 
No problem.

Sure. One question Are you using or wanting to use AI?
its this tab here
View attachment 214445
I am not smart enough to know if there are tradeoff's using the AI function of BlueIris. I have different cameras tuned to different needs.
Two are dedicated license plate capture (front and then rear of vehicle). Day and Night tuning.
One dedicated to front of house and tuned for low light.
One is dedicated to capture vehicle and face about 100ft. up the driveway.
Others are pretty generic, such as front door dome camera, etc.

Cost is not an issue if it is the right product. I found the following on eBay search:
(image attached)
 

Attachments

  • 2025-02-13_10-48-57.jpg
    2025-02-13_10-48-57.jpg
    933.3 KB · Views: 0
As an eBay Associate IPCamTalk earns from qualifying purchases.
That is quick sync and it is best to run without it.

While some haven't had a problem, at some point it does seem to create a problem.

But if you decide to run it, best to be just Intel without the variant.

The wiki mentions this as well.
Dang it all.. I missed that. Still trying to be less of a n3wb. So does this mean I can run an AMD cpu if I wanted instead of intel?
 
Dang it all.. I missed that. Still trying to be less of a n3wb. So does this mean I can run an AMD cpu if I wanted instead of intel?

Yes that is the beauty of substreams is that it opened up a lot of computers, from older gens to AMD.

I would simply compare the benchmark of an AMD to say an i7 4th gen and if it is higher, it can probably do ok.

I have a 4th gen SFF I got off the refurb list of a business lease with over 30 cameras ranging from 2MP to 8MP, running OpenALPR for two cameras, the plate utility to log the plates, and DeepStack on 5 cameras, with most of the cameras running at 15FPS, but a few are down in the 8-12 range and one is at 20FPS. Recording 24/7 substream with mainstream on triggers and not running hardware acceleration.

I have optimized the system fully to the Wiki. At night it will sip in the single digits. In the daytime it is in the teens. It will jump with OpenALPR in the daytime.

This program is running to monitor temps, CPU%, memory, etc. It shows what it is at now and the max it has seen. I wish it showed the min also, but oh well. I am remote desktop in at the moment and that adds a few percent, but you can see it is sitting in the single digits at night and had a max of 30ish% for the past week.

1679846083447.png




Here is my nighttime CPU%:

1681089536351.png
 
I am not smart enough to know if there are tradeoff's using the AI function of BlueIris. I have different cameras tuned to different needs.
Two are dedicated license plate capture (front and then rear of vehicle). Day and Night tuning.
One dedicated to front of house and tuned for low light.
One is dedicated to capture vehicle and face about 100ft. up the driveway.
Others are pretty generic, such as front door dome camera, etc.

Cost is not an issue if it is the right product. I found the following on eBay search:
(image attached)

Unless you have special use cases or cameras without built-in AI and need to use CodeProject or Deepstack, you may find the camera AI to be better.

Many here use strictly the camera AI and get no false triggers and none of the CPU maxing out during rain events and don't wake up to hundreds of "no object find" triggers either.

You may find that the camera AI has got so good that doing CodeProject is kinda overkill and adds more complexity, time delay, and potential for issues.

Whether to use camera AI or BI AI is obviously up to you, but of course, the AI in the camera may be more than sufficient for your needs without needing BI AI. Do you need the orange box around every object? Do you want to identify animals or logos? Or is just human or vehicle sufficient.

The camera AI is useful to many people, but BI has way more motion setting granularity than the cameras, and some people need that additional detail, especially if wanting AI for more than a car or person. For folks that want AI and alerts on animals or specifically a UPS truck then they need the additional AI.

There isn't really a best practice because every field of view is different and use case and needs are different.

To many here, BI motion without AI is more than adequate for what they do.

To many here, camera AI is more than adequate for what they do.

To many here, using the BI AI adds additional functionality that the above alone can not do.

It comes down to testing with each field of view and which one gives you the most consistent results.


While some of that third party stuff is cool like tagging was it a dog or a bear, I don't need all that fancy stuff. If my camera triggers BI to tag an alert for human or vehicle and BI can accomplish what I need by way of a text or email or push or whatever, that is sufficient for my needs. I just want to be alerted if a person or vehicle is on my property and the camera AI does a fine job with that.

However, I do run BI AI on a few cameras so that it knocks out headlight shine so that the alert image includes the vehicle. The camera AI will trigger for a car, but the alert image was always just the headlights. I also run the ANPR AI module. I am running it with the CPU and not a GPU.

The true test....I have found the AI of the cameras to work even in a freakin blizzard....imagine how much the CPU/GPU would be maxing out sending all the snow pictures for analysis to CodeProject LOL. My non-AI cams in BI were triggering all night. This picture was ran through AI (without the IVS or red lines on it) and it failed to recognize a person in the picture, but the camera AI did. This pic says it all and the video had the red box over it even in complete white out on the screen:

1679354257954.png



See this thread on how using just Dahua AI may be sufficient for your needs (and other cameras with AI would perform similar):

Who uses Dahua AI capable cameras? Reliable AI for triggering events? Pro's/con's?
 
As an eBay Associate IPCamTalk earns from qualifying purchases.
If you like BI, then no sense moving to an NVR - an NVR will cost you more than a new computer.

With that said, you must not be using substreams.

Make sure you have done all of the optimizations.

Post a screenshot of the camera status page that shows the MP/bitrate and at the bottom will show MP/s.
I greatly appreciate your help and have a lot to learn from this so please excuse me if I haven't yet understood everything you've posted. I will study it and get up to speed believe me! I am slower than the normal human.....

Yes, I am a big BlueIris fan and even though I have not spent the time to understand it well enough, I do prefer BI if possible.

With those caveats, I just tuned all cameras to have the Main stream go direct to disk, not recording "both streams if available". I set the substream to 15fps and the lowest resolution (since it is just for the BI screen).

I believe this is the status page:
 

Attachments

  • 2025-02-13_11-05-51.jpg
    2025-02-13_11-05-51.jpg
    560.2 KB · Views: 0