AXIS Design tool
A helpful tool in estimating requirements for bandwidth and storage is the AXIS Design Tool.
The AXIS Design Tool includes advanced project management functionality that enables bandwidth and storage to be calculated for a large and complex system.
Network bandwidth and storage requirements are important considerations when designing a video surveillance system. The factors include the number of cameras, the image resolution used, the compression type and ratio, frame rates and scene complexity. This chapter provides some guidelines on designing a system, along with information on storage solutions and various system configurations.
Approx. bit rate / 8(bits in a byte) x 3600s = KB per hour / 1000 = MB per hour
MB per hour x hours of operation per day / 1000 = GB per day
GB per day x requested period of storage = Storage need
Note: The formula does not take into account the amount of motion, which is an important factor that can influence the size of storage required.
Motion JPEG calculation
Image size x frames per second x 3600s = Kilobyte (KB) per hour/1000 = Megabyte (MB) per hour
MB per hour x hours of operation per day / 1000 = Gigabyte (GB) per day
GB per day x requested period of storage = Storage need
NAS and SAN
When the amount of stored data and management requirements exceed the limitations of a direct-attached storage, a network-attached storage (NAS) or storage area network (SAN) allows for increased storage space, flexibility and recoverability.
NAS provides a single storage device that is directly attached to a LAN and offers shared storage to all clients on the network. A NAS device is simple to install and easy to administer, providing a low-cost storage solution. However, it provides limited throughput for incoming data because it has only one network connection, which can become problematic in high-performance systems.
SAN systems build redundancy into the storage device. Redundancy in a storage system allows video, or any other data, to be saved simultaneously in more than one location. This provides a backup for recovering video if a portion of the storage system becomes unreadable.
There are a number of options for providing this added storage layer in an IP-Surveillance system, including a Redundant Array of Independent Disks (RAID), data replication, server clustering and multiple video recipients.
RAID is a method of arranging standard, off-the-shelf hard drives such that the operating system sees them as one large hard disk. A RAID setup spans data over multiple hard disk drives with enough redundancy so that data can be recovered if one disk fails. There are different levels of RAID, ranging from practically no redundancy to a full-mirrored solution in which there is no disruption and no loss of data in the event of a hard disk failure.
Multiple video recipients
A common method to ensure disaster recovery and off-site storage in network video is to simultaneously send the video to two different servers in separate locations. These servers can be equipped with RAID, work in clusters, or replicate their data with servers even further away. This is an especially useful approach when surveillance systems are in hazardous or not easily accessible areas, such as in mass-transit installations or industrial facilities.
This is a common feature in many network operating systems. File servers in a network are configured to replicate data among each other, providing a backup if one server fails.
A common server clustering method is to have two servers work with the same storage device, such as a RAID system. When one server fails, the other identically configured server takes over. These servers can even share the same IP address, which makes the so-called “fail-over” completely transparent for users.
SANs are high-speed, special-purpose networks for storage, typically connected to one or more servers via fiber. Users can access any of the storage devices on the SAN through the servers, and the storage is scalable to hundreds of terabytes. Centralized storage reduces administration and provides a high performance, flexible storage system for use in multi-server environments. Fiber Channel technology is commonly used to provide data transfers at four gigabits per second and to allow large amounts of data to be stored with a high level of redundancy.
Depending on a PC server’s central processing unit (CPU), network card and internal RAM (Random Access Memory), a server can handle a certain number of cameras, frames per second and size of images. Most PCs can hold between two and four hard disks, and each disk can be up to approx. 300 gigabyte (GB). In a small to medium-sized installation, the PC that runs the video management software is also used for video recording. This is called a direct-attached storage.
With the AXIS Camera Station video management software, for instance, one hard disk is suitable for storing recordings from six to eight cameras. With more than 12 to 15 cameras, at least two hard disks should be used to split the load. For 50 or more cameras, the use of a second server is recommended.
Small system (1 to 30 cameras)
A small system usually consists of one server running a surveillance application that records the video to a local hard disk. The video is viewed and managed by the same server. Although most viewing and management will be done at the server, a client (local or remote) can be connected for the same purpose.
Medium system (25 to 100 cameras)
A typical, medium-sized installation has a server with additional storage attached to it. The storage is usually configured with RAID in order to increase performance and reliability. The video is normally viewed and managed from a client rather than from the recording server itself.
Large centralized system (50 to +1000 cameras)
A large-sized installation requires high performance and reliability in order to manage the large amount of data and bandwidth. This requires multiple servers with dedicated tasks. A master server controls the system and decides what kind of video is stored at what storage server. As there are dedicated storage servers, it is possible to do load balancing. In such a setup, it is also possible to scale up the system by adding more storage servers when needed and do maintenance without bringing down the entire system.
Large distributed system (25 to +1000 cameras)
When multiple sites require surveillance with centralized management, distributed recording systems may be used. Each site records and stores the video from local cameras. The master controller can view and manage recordings at each site.
|Camera||Resolution||Approx. bit rate (Kbit/s)||Frames per second||MB/hour||Hours of operation||GB/day|
|Total for the 3 cameras and 30 days of storage = 135 GB|
CameraResolutionApprox. bit rate (Kbit/s)Frames per secondMB/hourHours of operationGB/dayNo. 1CIF 1705 76.5 8 0.6 No. 2CIF 40015 180 8 1.4 No. 34CIF 88015 396 12 5 Total for the 3 cameras and 30 days of storage = 204 GB
|Camera||Resolution||Bit Rate (Kbit/s)||Frames per second||MB/hour||Hours of operation||GB/day|
|Total for the 3 cameras and 30 days of storage = 1002 GB|
Bandwidth and storage calculations
Network video products utilize network bandwidth and storage space based on their configuration. As mentioned earlier, this depends on the following:
- Number of cameras
- Whether recording will be continuous or event-based
- Number of hours per day the camera will be recording
- Frames per second
- Image resolution
- Video compression type: Motion JPEG, MPEG-4, H.264
- Scenery: Image complexity (e.g. gray wall or a forest), lighting conditions and amount of motion (office environment or crowded train stations)
- How long data must be stored
In a small surveillance system involving 8 to 10 cameras, a basic 100-megabit (Mbit) network switch can be used without having to consider bandwidth limitations. Most companies can implement a surveillance system of this size using their existing network.
When implementing 10 or more cameras, the network load can be estimated using a few rules of thumb:
- A camera that is configured to deliver high-quality images at high frame rates will use approx. 2 to 3 Mbit/s of the available network bandwidth.
- With more than 12 to 15 cameras, consider using a switch with a gigabit backbone. If a gigabit-supporting switch is used, the server that runs the video management software should have a gigabit network adapter installed.
Technologies that enable the management of bandwidth consumption include the use of VLANs on a switched network, Quality of Service and event-based recordings.