hardware Acceloration

miles267
Posts: 20
Joined: Mon May 04, 2020 3:38 pm

Re: hardware Acceloration

Post by miles267 » Tue Sep 08, 2020 3:48 pm

Oddly since enabling substreams, my CPU usage on the BI5 server has jumped from about 30% to 75%+! Even with Intel hardware virtualization (also tried Intel + VPP option). Yikes. Despite my substream setup being lower resolution, same frame rate, same i-frame. What would cause this?
Matts1984
Posts: 363
Joined: Fri Apr 10, 2020 1:12 pm
Location: Maryland, USA

Re: hardware Acceloration

Post by Matts1984 » Tue Sep 08, 2020 6:46 pm

Wow um something is definitely not right. I'd expect stats to trend the other way. Can you show your Camera Stats page and maybe the configuration of streams on one of your cameras?
Blue Iris 5.4.2.x | Server 2019 VM | Xeon X5650 @ 2.67GHz - 10 Cores | 12GB RAM | 7TB RAID | Sophos UTM WAF | 3x SV3C 5MP Bullet A | 2x SV3C 3MP Bullet A | 1x SV3C 5MP Bullet HX | 1x SV3C 5MP Dome HX | 2x Amcrest 5MP Bullet
miles267
Posts: 20
Joined: Mon May 04, 2020 3:38 pm

Re: hardware Acceloration

Post by miles267 » Tue Sep 08, 2020 9:44 pm

Thanks for your help. So I am running the latest 5.2.3.7 x64 release on an Intel Core i5-9500 w 16 GB RAM. It runs at 18% CPU and 1.61GB RAM. I have my hardware accelerated decode (restart cameras) set to Intel option. Limit live preview rate is 1 fps.

Each of my cameras is set to a max rate of 15 fps, limit decoding unless required and Also BVR is checked. Receive buffer = 20 MB. These are all Amcrest 1080P cameras. They are all recording continuously.

Each camera main stream is set to:
Encode mode: H.264 (not H.264H)
Resolution: 1080p (1920x1080)
GPS: 15
Bit Rate Type: VBR
Quality 4
Bit Rate: 4096
I-Frame: 15

Sub Stream:
Encode Mode: H.264
Resolution: VGA (640x480)
FPS: 15
Bit rate type: CBR
Bit Rate: 1024
I-Frame: 15

Motion detection on all cameras is off.
Udr RTSP/stream timecode is unchecked
Skup initial HTTP DNS and reachability tests is unchecked
Decoder compatibility mode is unchecked
Get ONVIF trigger events is unchecked

The moment I populate the the sub-stream: Camera > Video > Configure > substream (+params) dialog box in BI5, with:
/cam/realmonitor?channel={CAMNO}&subtype=1&authbasic={AUTH64} for each camera, my CPU usage climbs rapidly to 80%+ until I remove the sub stream info from each camera.
avery
Posts: 1
Joined: Thu Jan 07, 2021 5:31 am

Re: hardware Acceloration

Post by avery » Thu Jan 07, 2021 5:46 am

miles267 wrote: Tue Sep 08, 2020 9:44 pm Thanks for your help. So I am running the latest 5.2.3.7 x64 release on an Intel Core i5-9500 w 16 GB RAM. It runs at 18% CPU and 1.61GB RAM. I have my hardware accelerated decode (restart cameras) set to Intel option. Limit live preview rate is 1 fps.

The moment I populate the the sub-stream: Camera > Video > Configure > substream (+params) dialog box in BI5, with:
/cam/realmonitor?channel={CAMNO}&subtype=1&authbasic={AUTH64} for each camera, my CPU usage climbs rapidly to 80%+ until I remove the sub stream info from each camera.
Not a BI user atm (I intend to migrate over the next few months), but logically speaking if one adds additional streams to be monitored or recorded, you should see some additional resources being used. That being said, it does seem like an inordinate amount. Are you using direct-to-disk recording for the substreams, as well?
Post Reply