Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post Reply
whitec369
Posts: 2
Joined: Thu Feb 17, 2022 5:21 pm

Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by whitec369 »

I have been chasing this problem for a few days, and I am hoping someone can point me in the right direction
hardware:
7700k
32gb of ram
4tb blue
8tb purple (direct to disk recording goes here)
no dedicated gpu, using intel iGPU

cameras:
2 Reolink RLC-510's
6 Reolink RLC-520's
all POE

symptoms:
System has ran great for a few years, installing new cameras and adding them to the system, it runs great for a few hours. With a fresh install cpu usage is around 20-25 percent. This is with no overlay, deepstack running detection and alerts. 5fps is the setting for the preview and i have hardware (quick sync) enabled and direct to disk recording enabled. After about an hour, the disk usage slowly (not cpu) goes up. about a percent every 5 minutes. then when it reaches 100 percent disk usage it drops immediatly to zero, and then the CPU is pegged out.

things I have tried:
hard ware acceleration on off
different intel igpu drivers
different chipset drivers
fresh install of windows (different versions of windows)
multiple version (including the latest as i bought another upgrade just incase) of blue iris inclusing an older 5.4 version

and the behavoir is the same, i think there is a setting I am missing, or dont remember setting up. Before I had a problem of no matter what camera, or settings or preview blue iris always instantly went to max cpu usage even with no gui open. I never figured it out, so I tried reinstalling everything and it fixes the max cpu usage but only for a few hours until the disk usage creeps up, resets to zero and now its back to maxing out the cpu.

Can someone please help me? This is very frustrating as it as always worked smoothly before with 5 cameras for so long, no problem.
User avatar
TimG
Posts: 2690
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by TimG »

Well you've tried most things already ! It is weird that DISK usage goes up rather than anything else - could this be pointing to impending hard drive failure ? Can you see WHICH disk ?

There are quite a few tools available to check or rule it out.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
whitec369
Posts: 2
Joined: Thu Feb 17, 2022 5:21 pm

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by whitec369 »

Well I figured out how to fix the disk issue. I had it copying the clips to a new folder on the same purple drive. Changed it to allow the new folder to use most of the purple drive and changed the stored folder to the second drive. But now I am still facing a 100% CPU usage. Even with a restart of windows or blue iris, it immediately goes back up to 100% and stays there. I also just tried to convert a clip to mp4 to watch it on another computer, and the recording itself was slowed and choppy like it was lagging behind, including jumps in frames.
User avatar
YrbkMgr
Posts: 587
Joined: Sun Nov 24, 2019 12:56 am
Location: Chicagoland

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by YrbkMgr »

In my experience those are telltale signs of subpar optimization. See BI Playback skips thread and links within. Also, post a screenshot of the Status window -> Cameras Tab.
If you have questions or need clarification, let us know.
  • "Whenever I take something apart to fix it and put it back together again, I end up with like six really important looking pieces left over" -Tim Allen
  • If you know what your after, you'll recognize it when you see it.
User avatar
TimG
Posts: 2690
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by TimG »

I had it copying the clips to a new folder on the same purple drive. Changed it to allow the new folder to use most of the purple drive and changed the stored folder to the second drive. But now I am still facing a 100% CPU usage
I use a second ssd for New, as they are faster than the rusty disks. I have been doing this for years without a hitch. Did you check the health of your hard drives ? The manufacturer usually provides diagnostic tools, and there are third party tools to read the SMART parameters too. The fact that your cpu usage was 25% for the cameras hopefully means that is the standard BI5 load, and so 100% (disk OR cpu) means something is wrong :shock:

If it's not that, then it could be your antivirus (did you set it to miss the BI5 folders as per the help file ?), but I don't expect it to be file corruption (other than by a failing drive).
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
MikeBwca
Posts: 1124
Joined: Thu Jun 20, 2019 5:39 am

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by MikeBwca »

I do not mean to be critical... but...

Why are you moving from New to another folder? Let the bvr's & clips live & die in NEW. BI will delete old clips as needed.

If you want/need more space, you can use Windows Disk Management to raid (the same type) of hard drives or SSD's together as 1 drive.

I have 3 2tb SSD's raided together using Windows Disk Management as 1 drive. I do not need redundancy. Works flawlessly. I have only 7 cameras recording continuously, and 3 clones on trigger. I can get about 5 weeks, If I don;t see a problem in that time - it's on me.
User avatar
YrbkMgr
Posts: 587
Joined: Sun Nov 24, 2019 12:56 am
Location: Chicagoland

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by YrbkMgr »

Totally agree Mike.
  • "Whenever I take something apart to fix it and put it back together again, I end up with like six really important looking pieces left over" -Tim Allen
  • If you know what your after, you'll recognize it when you see it.
User avatar
TimG
Posts: 2690
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by TimG »

I have 3 2tb SSD's raided together using Windows Disk Management as 1 drive.
8-)

Yup, SSD's again. My SSD was simply one out of the parts box when I built the first BI pc. "Keep BI db on a fast drive " ? OK, added another SSD for it, and might as well put "New" on it too. BI can then move the files at a leasurely rate to my rusty platters - 18TB of Storage drives this year :shock:

Anyway, we're wandering off on a tangent here, I think the OP needs to do some diagnostics to figure the issue out (or at least to rule things out).
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
User avatar
YrbkMgr
Posts: 587
Joined: Sun Nov 24, 2019 12:56 am
Location: Chicagoland

Re: Disk Usage Slowly creeps up to 100 then zero, max CPU usaage

Post by YrbkMgr »

I picked up the following recommendations from a credible source. I can't testify to whether or not it's gospel, but it's not a bad set of guidelines in my opinion.
1) Do not use time (limit clip age)to determine when BI video files are moved or deleted, only use space. Using time wastes disk space. 
2) If New and stored are on the same disk drive do not used stored, set the stored size to zero, set the new folder to delete, not move. All it does is waste CPU time and increase the number of disk writes. You can leave the stored folder on the drive just do not use it. 
3) Never allocate over 90% of the total disk drive to BI. 
4) if using continuous recording on the BI camera settings, record tab, set the combine and cut video to 1 hour or 3GB. Really big files are difficult to transfer. 
5) it is recommend to NOT store video on an SSD (the C: drive). 
6) Do not run the disk defragmenter on the video storage disk drives. 
7) Do not run virus scanners on BI folders
8) an alternate way to allocate space on multiple drives is to assign different cameras to different drives, so there is no file movement between new and stored. 

Advanced storage:
If you are using a complete disk for large video file storage (BVR) continuous recording, I recommend formatting the disk, with a windows cluster size of 1024K (1 Megabyte). This is a increase from the 4K default. This will reduce the physical number of disk write, decrease the disk fragmentation, speed up access. 
  • "Whenever I take something apart to fix it and put it back together again, I end up with like six really important looking pieces left over" -Tim Allen
  • If you know what your after, you'll recognize it when you see it.
Post Reply