# System Requirements and Storage Sizing

## Overview

**Edge AI video analytics** and continuous recording both cost resources, and the two compete
for the same machine. This guide gives you the minimum and comfortable specifications per
channel count, then shows how to size a disk for the retention period you actually need.

Getting this wrong shows up later as dropped frames, missed AI events and disks that fill in
a week.

## Prerequisites

- Your plan's channel count and maximum resolution (see the table in
  [Getting Started](/docs/getting-started/)).
- The resolution and frame rate you intend to run on each camera.
- The retention period required by your insurer, regulator or internal policy.

## Step-by-step instructions

### Step 1 — Pick the tier for your channel count

| Channels | CPU | RAM | Disk | Network | Notes |
|---|---|---|---|---|---|
| 1–4 | 4 cores, modern i5/Ryzen 5 | 8 GB | 1 TB | Gigabit | A desktop PC is fine |
| 5–8 | 6 cores, i5/i7 or Ryzen 5/7 | 16 GB | 2–4 TB | Gigabit | Add AI models sparingly |
| 9–16 | 8 cores, i7/Xeon E-series | 16–32 GB | 4–8 TB | Gigabit | Dedicated recorder recommended |
| 17–32 | 12+ cores, Xeon Silver | 32 GB | 8–16 TB | 2.5 GbE | Use substreams for live view |
| 33–64 | Dual-socket server | 64 GB | 16 TB+ | 10 GbE | VLM-grade analytics need GPU assistance and engineering review |

### Step 2 — Decide resolution and frame rate per camera

| Purpose | Resolution | Frame rate | Why |
|---|---|---|---|
| Overview / corridor | 720p | 10–12 FPS | Cheap to store, enough to see movement |
| Identification at a door | 1080p | 15–20 FPS | Faces and clothing need detail |
| Number plates | 1080p+ with tight framing | 20–25 FPS | Plates need sharp, frequent frames |
| Perimeter with AI | 1080p | 15 FPS | Balance between detection quality and CPU |

The plan caps maximum FPS (often 30). Running below the cap saves disk and CPU with little loss
for most scenes.

### Step 3 — Calculate storage

Use this formula:

```
storage (GB per day) = bitrate (Mbps) × 10.8 × hours recording per day × cameras
```

The multiplier 10.8 comes from `Mbps × 3600 s ÷ 8 ÷ 1000`.

A worked example — 8 cameras at 4 Mbps, recording 24 hours:

```
4 × 10.8 × 24 × 8 = 8,294 GB per day  →  about 8.1 TB per day
```

That is a lot, which is why most installations record on motion rather than continuously, or
use substreams. Recording 8 cameras at 2 Mbps only when motion occurs for an average of six
hours:

```
2 × 10.8 × 6 × 8 = 1,037 GB per day  →  about 21 days on a 22 TB volume
```

> Keep at least 15% of the disk free for the database, snapshots and Windows. Auto disk cleanup
> begins deleting the oldest footage at your configured threshold so recording never stalls.

### Step 4 — Check the network

1. Each camera's stream must reach the server without packet loss. Wi-Fi is acceptable for one or
   two low-frame-rate cameras, never for a wall of them.
2. Prefer a dedicated VLAN for cameras.
3. Give the server a static IP address so cameras, clients and port forwarding keep working after
   a reboot.

### Step 5 — Set the power plan and updates

1. Set Windows to **High performance** and disable sleep on the recording server.
2. Schedule Windows updates outside working hours, and reboot manually afterwards so recording is
   not interrupted mid-event.

## Configuration examples

| Site | Channels | Resolution / FPS | Recording | Retention | Disk |
|---|---|---|---|---|---|
| Retail shop | 4 | 1080p / 15 | Motion only | 30 days | 4 TB |
| Office | 8 | 1080p / 15 | Motion, 24/7 on entrance | 21 days | 6 TB |
| Factory gate | 6 | 1080p / 20 (LPD camera 25) | Continuous on gate, motion elsewhere | 14 days | 8 TB |
| Campus | 32 | Mixed 720p/1080p | Motion + scheduled | 30 days | 16 TB |

## What you should see

- The server performance dashboard stays below roughly 70% CPU and 80% memory at peak.
- No dropped-frame warnings on any camera.
- Disk usage grows predictably and cleanup keeps it under the threshold.
- AI events continue to fire during the busiest hour of the day.

## Troubleshooting

| Symptom | Likely cause |
|---|---|
| Video stutters only when AI is enabled | CPU bound — reduce AI models, resolution or FPS |
| Disk full despite retention setting | Cleanup threshold not enabled, or snapshots/recordings written elsewhere |
| Cameras drop at the same time each day | Backup job or Windows update competing for disk |
| Remote live view is slow but local is fine | Upload bandwidth limit — use substreams for remote viewing |

## Related guides

- [Installation](/docs/installation/)
- [CCTV Camera Configuration](/docs/camera-configuration/)
- [Live Monitoring](/docs/live-monitoring/)
- [Troubleshooting](/docs/troubleshooting/)

**Next step:** [CCTV Camera Configuration](/docs/camera-configuration/) →