Storage - How much free space?

jelf4352

Getting the hang of it
Aug 11, 2023
96
29
los angeles
How much free space are you leaving? I have about 15% free space (1TB). Is that too much?

I also don't understand how blue iris distinguishes between "allocated free space" and "extra free space"? See below.

1737435759528.png
 

Attachments

  • 1737435665547.png
    1737435665547.png
    43.6 KB · Views: 0
  • Like
Reactions: Flintstone61
mine seems to be running great looking like this.
image_2025-01-21_014156377.png
 
How much free space are you leaving? I have about 15% free space (1TB). Is that too much?

I also don't understand how blue iris distinguishes between "allocated free space" and "extra free space"? See below.

View attachment 212594
I believe it's like this:

Drive size - used - allocated free space = extra free space

Also, I suggest this:

 
I believe it's like this:

Drive size - used - allocated free space = extra free space

Also, I suggest this:

Thanks, Tony. I read that link and Ive formatted my disk now and also created subfolders for each camera. I previously had have 6TB dedicated to the new folder and 500GB to alerts. I think 500GB is too much for alerts. How much do you typically allocate for alerts? My alerts folder currently has 211,000 files in it....
 
Thanks, Tony. I read that link and Ive formatted my disk now and also created subfolders for each camera. I previously had have 6TB dedicated to the new folder and 500GB to alerts. I think 500GB is too much for alerts. How much do you typically allocate for alerts? My alerts folder currently has 211,000 files in it....

I have 1GB for my Alerts folder and have zero files in it.

What is in your alerts folder - hi-rez photos and .dat files for AI, etc.?

I used to save hi-rez and all that stuff and realized it just clogged up the machine, made the DB unstable after 200,000 items, and if I really needed a hi-rez photo of something I could just go into the video file and save a snapshot. No real reason to save .dat files once you got the AI tuned in.
 
  • Wow
Reactions: Flintstone61
+1^^^.
My Alerts folder is set at 2GB and have about 40 snapshots in it that were put in there last year when experimenting with notifications from Pushover.
 
  • Like
Reactions: Flintstone61
Do keep in mind that the alerts folder does hold on to the thumbnail pointers for the alerts, you just don't see them in the alerts folder (hidden files), so do give it at least 1GB.
 
Ok, I’ve been able to allocate an additional 700 GB to my new folder and lowered my alerts to 2 GB. With this storage I can record 2-3 weeks continuously on mainstreams and probably 6-7 weeks on substreams.

So I decided to switch my 9 cameras( all of them are 4mp) to record continuously in mainstream. I’m no longer using substreams.

My cpu usage averages around 1-3%. I know everyone talks about optimizing and using sub streams….but I am I missing something here? Why not just record all the time with mainstreams. Do other people have like 50 cameras or something?

I have a used dell of eBay that’s probably at least 7 years old . And no gpu.
 

Attachments

  • IMG_0493.png
    IMG_0493.png
    306.9 KB · Views: 0
11 cams ....12 if you count the Color4K 180 as two cams.
1-8mp Color4k in garage.
the rest average about 4Mp.
I'd like to see another 5 days out of it but I'm ok with this.

1737792856803.png
 
  • Like
Reactions: jelf4352
Ok, I’ve been able to allocate an additional 700 GB to my new folder and lowered my alerts to 2 GB. With this storage I can record 2-3 weeks continuously on mainstreams and probably 6-7 weeks on substreams.

So I decided to switch my 9 cameras( all of them are 4mp) to record continuously in mainstream. I’m no longer using substreams.

My cpu usage averages around 1-3%. I know everyone talks about optimizing and using sub streams….but I am I missing something here? Why not just record all the time with mainstreams. Do other people have like 50 cameras or something?

I have a used dell of eBay that’s probably at least 7 years old . And no gpu.

What computer do you have and did you do any changes out of the ordinary, like checking this box will keep CPU low, but will cause all sorts of issues

1737843463200.png
 
im running substreams on all except the hikvision in the lobby/front entry way.
 
What computer do you have and did you do any changes out of the ordinary, like checking this box will keep CPU low, but will cause all sorts of issues

View attachment 212873
No, that's not checked. I can't see anything in my settings that seems odd - see attached screenshots. I looked at my task manager to see there is also a blue iris service that runs at around 5-10% cpu.

system about.jpg
 

Attachments

  • recording format.jpg
    recording format.jpg
    60.4 KB · Views: 0
  • Video Settings.jpg
    Video Settings.jpg
    59.6 KB · Views: 0
  • webcamgui.jpg
    webcamgui.jpg
    163.8 KB · Views: 0
Do keep in mind that the alerts folder does hold on to the thumbnail pointers for the alerts, you just don't see them in the alerts folder (hidden files), so do give it at least 1GB.
This is not quite right... The alert thumbnail images (sometimes called ‘postage stamps’ in the Help PDF, see the screenshot below) are stored inside the database clips.dat file... A peak inside of the C:\BlueIris\db\ folder reveals that this is relatively large file. The reason why is that it can contain thousands of these images.

BTW, the database thumbnail images can be user-accessed via the \thumbs\{filename} or \thumbs\{@record} HTTP interface command. If you want to try this, an easy way to get and use an alert's @record is to ctrl-right-click the alert in the Window app clips list (the @record is loaded to the Windows clipboard, ready to paste as needed, more here).

This also explains why you lose all the alert thumbnails when you do a Database Delete & Regenerate action. The sole exception are protected alerts that ALSO have a hi-res JPG files, or AI mark-up image. More here.

As suggested, there is a good reason to allocate the Alerts folder at least 1 GB - even if you are not intentionally saving hi-res JPGs, or AI mark-up images. The reason is that in the absence of an internationally saved JPG file, Blue Iris uses this folder to save a temporary JPG file when an action uses the &ALERT_PATH macro. This is how actions using the macro still work - like those we use to send Pushover notifications - with the lack of an intentionally saved JPG file. More info here, here, and here.

For obvious reasons, I’ve not tested how Blue Iris handles the &ALERT_PATH macro in actions if you've allocated 0 GB to the Alerts folder. I am guessing it probably forces the allocation of 1 GB to the folder.

Excerpt from the Help PDF...
1737870765473.jpg
 
Last edited:
I used to save hi-rez and all that stuff and realized it just clogged up the machine, made the DB unstable after 200,000 items, and if I really needed a hi-rez photo of something I could just go into the video file and save a snapshot. No real reason to save .dat files once you got the AI tuned in.
I routinely save AI-markup images and DAT files for all alerts for 9 cameras. My Alerts folder allocation is set at 3GB, and I've never seen more than 5000 files. This allocation enables me to retain about 3-4 weeks of alerts in case I need research or protect a recent event.

I do realize that many users have a lot more cameras, and more active alerting, so YMMV.

Here are my reasons for routinely saving Alert JPG images and DAT files:
  1. When I decide to protect an alert, the fact that it has a JPG file helps to ensure that it will survive a DB regenerate action... more here.
  2. DAT files are a great source for very useful images, which I exploit for my bi_gif_tool utility.
  3. My protected DAT files are also a potential source of images for AI model training... more here.
My experience with the latest versions of Blue Iris is that all items in the Alerts folder (*.jpg images, *.mp4 videos, AI *.dat files) are well-managed by Blue Iris rules (assuming the default management setting). There was a time when this was not so. For example, DAT files were not managed when first introduced and could get out of hand. This was rectified in v5.5.4. And the automatic protection of Alerts via AI analysis results was was another issue that was rectified n v5.6.8.

If I notice that my set of protected alert JPG and DAT files are preventing my from keeping 3-4 weeks of recent alerts, I'll bump up the Alerts folder allocation.

To aid me in keeping an eye on this, I've just added feature to my bi_clips_usage utility to report on the balance of Read-Only/Total file usage. I'll post an update soon.