feat(cameras): 24/7 recording (7 d) + 30 d event clips; pin frigate to 6 CPUs

The UI on-demand toggle was rejected because record.enabled was false in config.
OpenVINO used ~6.5 cores with all 52 threads visible; cpuset 0-5 brings frigate to ~1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ginnoirandClaude Opus 5.5 committed 2026-10-08 03:05:32 -05:00
1 parent 981c7a65b5
commit abf17cbf24
2 files changed
+28 -3

No files matched your search

+7 -2
View File
@@ -1,4 +1,4 @@
# cameras stack — Reolink E1 live view + detection snapshots.
# cameras stack — Reolink E1 live view, 24/7 recording, detection snapshots, PTZ page.
#
# The E1 (192.168.1.99) has NO RTSP/RTMP/ONVIF: only Reolink's Baichuan protocol on its
# media port (9001 — set in the Reolink app; neolink breaks if it changes). neolink logs
@@ -6,7 +6,8 @@
# cameras net (unauthenticated, so it is never on edge). frigate's built-in go2rtc is the
# only neolink client; the browser gets MSE through Caddy (cam.ginnoir.com).
#
# Recording is OFF — snapshots only (/storage1/labdata/frigate). Detection is OpenVINO on
# Recording: 24/7 main stream kept 7 d, person/pet clips 30 d, snapshots 30 d — all under
# /storage1/labdata/frigate (~310 GB rolling). Detection is OpenVINO on
# CPU, deliberately not the P100 (llama-swap owns its VRAM; CDI breaks after reboots).
#
# Configs are host-managed at /config/<svc>/ (Portainer's checkout won't materialize a
@@ -51,6 +52,10 @@ services:
labels:
- "com.centurylabs.watchtower.enable=false"
env_file: stack.env
# OpenVINO (CPU) spawns one worker per visible CPU and busy-spins them: with all 52
# threads visible the detector alone burned ~6.5 cores. Pinned to 6 threads it's
# ~1.2 cores total (incl. 24/7 recording) at ~23 ms inference. Measured 2026-10-08.
cpuset: "0-5"
shm_size: "256mb"
depends_on: [neolink]
networks: [edge, cameras]