📜 ⬆️ ⬇️

Media storage system with 10G access

This article is a development of the idea of ​​creating a 10G network for image processing .

The customer is a small photo studio that actively removes all sorts of events - weddings, meetings, corporate events, etc.
After a day of shooting by one or two photographers, you need to quickly sort up to several thousand photographs, make a preliminary selection of the best ones, process them quickly, and present the first version of the sample of photographs to the customer.
Sometimes video recording of the event is added to this.
Later, more subtle processing of photo and video materials, layout of photo albums and photo books, and preparation of short films are often required.
On the computer system side, high capacity is needed (the studio produces about 10 terabytes of photo-video materials per year) and high speed access to the existing photo and video library from 3-4 computers. These are mainly computers manufactured by Apple.
A year later, about 90-95% of photo-video content is erased, the remaining 5-10% are stored for several years.

Taking into account the wishes of the total amount of stored data, it was proposed to use NAS NAS with a capacity of at least 6 disks. As a result, 8 disk storage was chosen, but at the initial stage 6 disks of 3TB each were installed into it.
The need for fast access to network resources from Apple computers was implemented in two ways:
wired access via Thunderbolt converter - 10G Ethernet.
Wireless access for laptops has been implemented on the WiFi AC standard.
')
Network storage was chosen model QNAP TS-870Pro. I have been working with the equipment of this company for quite a few years, and so far I have only positive experience.

TS-870Pro


Models with the Pro index allow you to install an additional network card, including 10 gigabit ports. Such models have been produced not for the first year, but for the first time in my project. Previous solutions, in which there were 10-gigabit backbones, were built on the basis of Windows servers, so it was interesting how the NAS behaves when working in such a high-speed network.
Some limitation was the rather short list of compatible 10G network cards. Fortunately, the distributor found one of the suitable models - Emulex OCe11102-NX.
The card was installed in the NAS and “started up” without any problems.

Emulex 10G

It was connected via a switch with 10G SFP + ports with a direct connection cable.
One of the computers managed to be connected via a copper SFP + cable, the other one via a multi-mode optics via SFP + transceivers. Transceivers were used by Chinese, from 10Gtek.
But the tests used only copper cables.

TS-870Pro back

The latest 4.1.1 firmware version available at the time of testing was installed on the drive.
The configuration based on RAID5 was tested - the one that will work for the customer.
To begin with, several synthetic tests were run.
One of the most famous is Intel NASPT.

NASPT Sum

The value for HD Video Record looks a bit suspicious. It looks like this is a result of caching.
But the result for simultaneous reading and writing is interesting for our case. And it turned out quite decent.

HD Video 1Play 1Record

The test from Atto showed the following:

Atto

But all this is synthetic tests.
It was interesting to understand how fast the read / write turned out on real tasks.
This is how the NAS Dashboard looks like. First there was a read operation from the storage, then read and write (from different computers), then read again:

Dashboard

As you can imagine, we used all the performance of our disk subsystem. Only for reading we get a little less than 500 megabytes per second. Add the write process - and the reading speed drops proportionally.
If we look at I / O operations, we get about 5000-6000 IOPS, latency in the region of 130 ms.

Iops

The processor load of the storage does not exceed 50%. Interestingly, the load is distributed over the 4 cores of the CPU fairly evenly.

On reading large files (imitation of working with “puff” Photoshop files and video files), the speed was about 400-450 megabytes per second.

Read from NAS

How difficult it is for a SOHO class device is hard for me to say. It would be interesting to know what results were obtained on other models of network drives of this class.

Feels like working in programs that work with a lot of graphic files, such as Lightroom, Premiere Pro, work when “scrolling” the image catalog, caching video files and other operations, in which the reading speed is decisive, as compared to a gigabit connection, the speed increased several times.
Work in tasks for which information processing speed is also important, although it has increased, but not so significantly. These were the tasks of generating JPG files and slide shows of video clips from RAW files, 30–50 megabytes each. In this case, the difference in processor power of the computers used became noticeable. We can download data quickly, and processing it in our case “rests on” processor performance.

For backup, use external drives connected via USB3, and copy to the “cloud” CrashPlan.

Who would benefit from such a decision?
In my opinion, these are small studios working with a stream of photo and video materials. If there are more than one people who process these materials, and they can work from different computers, it makes sense to organize all the media files, often scattered across multiple external disks, on one device. And the access speed rises (on ordinary external disks I did not see the read-write speed of more than 100-120 megabytes per second), and protection against single-disk failures and automatic backup can be configured.
In addition, this NAS provides many additional features. For some, its ability to work as a video surveillance server will be important, someone will use it for downloading torrentov, someone will find the possibility of the built-in XBMC player useful.

But what this system itself is definitely not is a backup system. Provided that you have one. RAID5, although it protects against a single disk failure, will not survive the failure of the second disk while the first one is synchronized after replacing the failed one. No one bothers to organize RAID10 or RAID6, but the loss of usable disk space will be significant, and in the event of flooding or fire it will not help. In this case, either synchronization with the second same device located in a geographically remote location, or backups to external drives, or backups “to the cloud”, which was implemented in this project.

I would be interested to know how the “colleagues in the shop” solved such a storage task - access to photo-video sources with a non-corporate budget.

Source: https://habr.com/ru/post/245993/


All Articles