Streaming and storing CineGrid data: A study on optimization methods - - PowerPoint PPT Presentation

streaming and storing cinegrid data a study on
SMART_READER_LITE
LIVE PREVIEW

Streaming and storing CineGrid data: A study on optimization methods - - PowerPoint PPT Presentation

CineGrid Streaming 4K Storage 4K Future work and Conclusions Streaming and storing CineGrid data: A study on optimization methods Sevickson.Kwidama os3.nl July 2, 2008 1 / 18 CineGrid Streaming 4K Storage 4K Future work and


slide-1
SLIDE 1

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Streaming and storing CineGrid data: A study on optimization methods

Sevickson.Kwidama ⇒ os3.nl July 2, 2008

1 / 18

slide-2
SLIDE 2

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Mission statement

“CineGrid’s mission is to build an interdisciplinary community focused on the research, development, and demonstration of networked collaborative tools, enabling the production, use and exchange of very high-quality digital media over high-speed photonic networks.”

2 / 18

slide-3
SLIDE 3

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Media Formats(1)

3 / 18

slide-4
SLIDE 4

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Media Formats(2)

4K

4096 × 2160 4.3× 1080p HD 36 bpp Color One frame = 40 MB Uncompressed 7.6 Gb/s

SHD1

3840 × 2160 4× 1080p HD 24 bpp Color One frame = 25 MB Uncompressed 6 Gb/s Mostly used in CineGrid, because of hardware limitations

1Super High-Definition also known as Quad HD 4 / 18

slide-5
SLIDE 5

CineGrid Streaming 4K Storage 4K Future work and Conclusions

SAGE vs NTT jpeg2000 codec

SAGE2

Software implementation Performance may depend on hardware Used for tiled displays DXT compression technique Compression ratio 6:1

NTT jpeg2000 codec

Hardware implementation, 4 jpeg2000 codec boards Stream is not influenced by hardware jpeg2000 compression technique Compression ratio 12:1

2Scalable Adaptive Graphics Environment 5 / 18

slide-6
SLIDE 6

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Research question 1

Streaming

A streaming tool is an essential part in CineGrid.

Streaming question

How do SAGE and NTT jpeg2000 codec compare against each

  • ther, regarding network streams?

6 / 18

slide-7
SLIDE 7

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Test Material

7Bridges Length: 138 secs Size: 4.3 GB Rate: 30 fps PragueTrain Length: 97 secs Size: 2.5 GB Rate: 24 fps

7 / 18

slide-8
SLIDE 8

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Experiments

Tools: top, measure CPU load tcpdump, capture packets send/received SAGE manager log, application layer measurements

SAGE test setup

8 / 18

slide-9
SLIDE 9

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Bandwidth Results

SAGE Manager log

50 100 150 200 250 300 350 400 10 20 30 40 50 Bandwidth (Mbps) Time (secs) Display Render 50 100 150 200 250 300 350 400 10 20 30 40 50 Bandwidth (Mbps) Time (secs) Display Render

L: UDP stream 218.4Mb/s, R: TCP stream 208.1Mb/s

9 / 18

slide-10
SLIDE 10

CineGrid Streaming 4K Storage 4K Future work and Conclusions

CPU load SAGE Manager

20 40 60 80 100 120 50 100 150 200 Load (%) Time (0.5 sec) CPU usage on SAGE Manager/Renderer CPU1 CPU0 bplay-noglut fsManager

fsManager: window manager SAGE | bplay-noglut: compresses video and sends

10 / 18

slide-11
SLIDE 11

CineGrid Streaming 4K Storage 4K Future work and Conclusions

CPU load SAGE Display

CPU usage on SAGE display

20 40 60 80 100 50 100 150 200 Load (%) Time (0.5 sec) sageDisplayMana 20 40 60 80 100 50 100 150 200 Load (%) Time (0.5 sec) sageDisplayMana

L: UDP stream, R: TCP stream

11 / 18

slide-12
SLIDE 12

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Research question 2

Storage

Local Filesystem does not meet demand storage space. NFS does not meet requirement of scalability and read speed.

Storage question

Can GlusterFS improve the performance of the CineGrid storage?

12 / 18

slide-13
SLIDE 13

CineGrid Streaming 4K Storage 4K Future work and Conclusions

GlusterFS

GlusterFS is a Cluster Filesystem Aggregates “storage bricks” → parallel network file system Several translators , i.e., clustering translators and performance translators

13 / 18

slide-14
SLIDE 14

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Experiments

Tools: dd, block level measurement iozone, file level measurement Methods: Read performance Striping translator Filesize 7GB

14 / 18

slide-15
SLIDE 15

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Results(1)

4KB test results used for these percentages. 4KB was used because it is the standard block size in most Linux filesystems. Filesystem Read speed dd

MB/s %

Local 85.9 NFS 73.8 14.1% GlusterFS 1 brick 56 34.8% GlusterFS 2 bricks 56.3 34.5% GlusterFS 3 bricks 104 21%

Absolute Read speed, percentage loss or gain in comparison with Local Filesystem

Bottleneck 1Gb/s interface. Tests with more than three servers were not possible.

15 / 18

slide-16
SLIDE 16

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Results(2)

Upgraded to 10 Gb/s connection to client. Also used Read Ahead Translator and Threaded I/O Translator. Filesystem Read speed dd

MB/s %

GlusterFS 1 brick 86.6 0.8% GlusterFS 2 bricks 103 19.9% GlusterFS 3 bricks 294 242.3% GlusterFS 4 bricks 306 256.2% GlusterFS 5 bricks 315 266.7%

Absolute Read speed, percentage loss or gain in comparison with Local Filesystem

16 / 18

slide-17
SLIDE 17

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Future work

NTT jpeg2000 codec measurements SHD instead of 1080p HD SAGE setup Test setup GlusterFS for long term stability Investigate Translators

17 / 18

slide-18
SLIDE 18

CineGrid Streaming 4K Storage 4K Future work and Conclusions

Conclusions

Streaming

The SAGE performance was as expected. The video player is CPU-bound. Performance easily influenced by running processes.

Storage

GlusterFS increases the read performance for streaming from CineGrid storage.

18 / 18