Architecting High-Speed Data Streaming Systems. Sujit Basu

Similar documents
Modular Instrumentation Technology Overview

Integrating PCI Express into the PXI Backplane

Data storage and high-speed streaming

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

3.4 Planning for PCI Express

PCI Express* Ethernet Networking

High-Performance SSD-Based RAID Storage. Madhukar Gunjan Chakhaiyar Product Test Architect

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

The Bus (PCI and PCI-Express)

Communicating with devices

Price/performance Modern Memory Hierarchy

RAID. RAID 0 No redundancy ( AID?) Just stripe data over multiple disks But it does improve performance. Chapter 6 Storage and Other I/O Topics 29

PCIe Over Cable Provides Greater Performance for Less Cost for High Performance Computing (HPC) Clusters. from One Stop Systems (OSS)

Sistemas Operativos: Input/Output Disks

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University. (

Solid State Drive Architecture

NI Platform for automotive measurement and test applications

Introduction to I/O and Disk Management

PCI Express Basic Info *This info also applies to Laptops

What s New in Mike Bailey LabVIEW Technical Evangelist. uk.ni.com

RAID Storage System of Standalone NVR

Evaluation Report: HP Blade Server and HP MSA 16GFC Storage Evaluation

COS 318: Operating Systems. Storage Devices. Kai Li and Andy Bavier Computer Science Department Princeton University

Guide to SATA Hard Disks Installation and RAID Configuration

HP Z Turbo Drive PCIe SSD

Enterprise SSD Interface Comparisons

Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1

SATA Evolves SATA Specification v3.2 FMS 2013

Guide to SATA Hard Disks Installation and RAID Configuration

Summer of LabVIEW The Sunny Side of System Design

An Overview of Flash Storage for Databases

PCI Express Overview. And, by the way, they need to do it in less time.

CS 6290 I/O and Storage. Milos Prvulovic

Intel Solid- State Drive Data Center P3700 Series NVMe Hybrid Storage Performance

D1.2 Network Load Balancing

Disk Storage & Dependability

Strategies in Software Defined RF and Wireless Communications Test. Srini Badri Business Development Manager National Instruments

The PCIe solution from ExaSAN

Maximizing Server Storage Performance with PCI Express and Serial Attached SCSI. Article for InfoStor November 2003 Paul Griffith Adaptec, Inc.

Using NI CompactDAQ Controllers

1 Storage Devices Summary

Fusionstor NAS Enterprise Server and Microsoft Windows Storage Server 2003 competitive performance comparison

White Paper Fujitsu PRIMERGY Servers RAID Controller Performance 2013

enabling Ultra-High Bandwidth Scalable SSDs with HLnand

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected

SignalPad Data Logging and Analysis Software

Flash 101. Violin Memory Switzerland. Violin Memory Inc. Proprietary 1

VMware Virtual SAN Backup Using VMware vsphere Data Protection Advanced SEPTEMBER 2014

Chapter 10: Mass-Storage Systems

CPU. Motherboard RAM. Power Supply. Storage. Optical Drives

Eight Ways to Increase GPIB System Performance

Accelerating Server Storage Performance on Lenovo ThinkServer

The IntelliMagic White Paper: Storage Performance Analysis for an IBM Storwize V7000

PowerVault MD1200/MD1220 Storage Solution Guide for Applications

3 Port PCI Express 2.0 SATA III 6 Gbps RAID Controller Card w/ msata Slot and HyperDuo SSD Tiering

National Instruments MIMO Technology Demonstration

Cisco Unified Computing System Hardware

OBJECTIVE ANALYSIS WHITE PAPER MATCH FLASH. TO THE PROCESSOR Why Multithreading Requires Parallelized Flash ATCHING

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

5-BAY RAID STATION. Manual

Intel RAID SSD Cache Controller RCS25ZB040

Lecture 9: Memory and Storage Technologies

Distribution One Server Requirements

I3: Maximizing Packet Capture Performance. Andrew Brown

Introduction to the NI Real-Time Hypervisor

An Introduction to RAID. Giovanni Stracquadanio

PMC Solid State Memory Card Product Manual V

VTrak SATA RAID Storage System

Arrow ECS sp. z o.o. Oracle Partner Academy training environment with Oracle Virtualization. Oracle Partner HUB

The new frontier of the DATA acquisition using 1 and 10 Gb/s Ethernet links. Filippo Costa on behalf of the ALICE DAQ group

SUN HARDWARE FROM ORACLE: PRICING FOR EDUCATION

Boost Database Performance with the Cisco UCS Storage Accelerator

GENERAL INFORMATION COPYRIGHT... 3 NOTICES... 3 XD5 PRECAUTIONS... 3 INTRODUCTION... 4 FEATURES... 4 SYSTEM REQUIREMENT... 4

PCI EXPRESS TECHNOLOGY. Jim Brewer, Dell Business and Technology Development Joe Sekel, Dell Server Architecture and Technology

PCI Technology Overview

Memoright SSDs: The End of Hard Drives?

Read this before starting!

Understanding endurance and performance characteristics of HP solid state drives

How To Scale Myroster With Flash Memory From Hgst On A Flash Flash Flash Memory On A Slave Server

Architecting a High Performance Storage System

Cloud Storage. Parallels. Performance Benchmark Results. White Paper.

AirWave 7.7. Server Sizing Guide

Using Synology SSD Technology to Enhance System Performance Synology Inc.

PCI Express Impact on Storage Architectures and Future Data Centers. Ron Emerick, Oracle Corporation

IDE/ATA Interface. Objectives. IDE Interface. IDE Interface

technology brief RAID Levels March 1997 Introduction Characteristics of RAID Levels

Software-defined Storage at the Speed of Flash

SUN HARDWARE FROM ORACLE: PRICING FOR EDUCATION

White Paper: M.2 SSDs: Aligned for Speed. Comparing SSD form factors, interfaces, and software support

EMC ISILON NL-SERIES. Specifications. EMC Isilon NL400. EMC Isilon NL410 ARCHITECTURE

Dynamode External USB3.0 Dual RAID Encloure. User Manual.

EMC SYMMETRIX VMAX 20K STORAGE SYSTEM

High speed pattern streaming system based on AXIe s PCIe connectivity and synchronization mechanism

HP Smart Array Controllers and basic RAID performance factors

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Brainlab Node TM Technical Specifications

Using Synology SSD Technology to Enhance System Performance Synology Inc.

Configuring a SSD RAID-0 Array on an AMD System

Transcription:

Architecting High-Speed Data Streaming Systems Sujit Basu

stream ing [stree-ming] verb 1. The act of transferring data to or from an instrument at a rate high enough to sustain continuous acquisition or generation.

Motivation for Data Streaming Ever-increasing amounts of data Record everything and play it back later DAQ, DSA, vision, modular instruments Hard drives: faster, bigger, and cheaper RAID hardware is ubiquitous and inexpensive PCI Express, ExpressCard, USB, 1394, esata PCI Express provides higher, dedicated bandwidth

Applications Requiring Data Streaming RF Recording and Playback IF and Baseband Streaming Noise Mapping Digital Streaming Spectral Monitoring : Chengdu Huari Telecommunications Company RF Record and Playback: B&B Technologies Noise Mapping: Boeing

Key System Components Hardware Platform with High-Throughput and Low-Latency High-Speed Data Storage Hard Drives (HDDs) Solid-State Drives (SSDs) Software for Streaming to Disk at High Rates Streaming Front-End Instrumentation

Key System Components Hardware Platform with High-Throughput and Low-Latency High-Speed Data Storage Hard Drives (HDDs) Solid-State Drives (SSDs) Software for Streaming to Disk at High Rates Streaming Front-End Instrumentation

Increasing (Improving) Bandwidth Max Bandwidth (MB/s) Bandwidth versus Latency 10,000 1,000 PCI Express/ PXI Express (x4) 100 Gigabit Ethernet USB 2.0 IEEE 1394a PCI/PXI VME/VXI 10 Fast Ethernet GPIB (HS 488) USB 1.1 GPIB (488.1) 1 10,000 1,000 100 10 1 0.1 Approximate Latency (μs) Decreasing (Improving) Latency

System Streaming Architecture PXI CPU Controller Chassis Chipset Frontside Bus Northbridge (Memory & Graphics Controller) RAM Segment 1: 5 Slots Slots 2 to 6 Segment 2: 6 Slots Slots 7 to 12 Segment 3: 6 Slots Slots 13 to 18 Internal Bus PXI Slots Southbridge (IO Controller) PCI Bus PXI Slot1 Connector (PCI Bus) PCI Bridge PCI Bridge HDD PCI Bus

Streaming to/from Controller Hard Drives CPU Controller Chassis Chipset Frontside Bus RAM Segment 1: 5 Slots Slots 2 to 6 Segment 2: 6 Slots Slots 7 to 12 Segment 3: 6 Slots Slots 13 to 18 Northbridge (Memory and Graphics Controller) Internal Bus PXI Slots Southbridge (I/O Controller) PCI Bus PXI Slot1 Connector (PCI Bus) PCI Bridge PCI Bridge HDD PCI Bus

PCI Express Overview Serial interconnect at 2.5 Gbits/s PCI transactions are packetized and then serialized Low-voltage differential signaling, point-to-point, 8 B/10 B encoded x1 (by 1) has bandwidth of 250 Mbytes/s per direction x16 (by 16) has bandwidth of 4 Gbytes/s per direction Uses same software model as PCI Ensures software compatibility Road map for longevity with Gen 2 clocking (5 Gbits/s)

System Streaming Architecture PXI Express PXI System Express System NI NI PXI-8106 PXIe-8130 NI NI PXI-1045 PXIe-1062Q PCI Bus 132 MB/s Total system slot bandwidth depends on controller/chassis combination Four x4 PCI Express Links

Streaming Architecture PXI Express Controllers NI PXIe-8130 RAM CPU AMD Turion 64 X2 x4 HDD Chipset nvidia MCP55 Pro x4 x4 Forwarded to Chassis x4 Four independent x4 PCI Express Link Each capable of 1 GB/s Total bandwidth of 4 GB/s

Streaming Architecture PXI Express Controllers NI PXIe-8108 CPU Intel Core 2 Duo RAM Chipset Graphics & Memory Controller Four x1 PCI Express Links Total System Bandwidth of 1 GB/s HDD I/O Controller x1 x1 x1 Forwarded to Chassis x1

Streaming Architecture PXI Express Chassis NI PXIe 1062Q From Controller PXI Express Slot 1 Three x4 PCI Express Links Each Capable of 1 GB/s Throughput x4 x4 x4 Slot Color Legend x1 PCI Express Link x1 2 3 4 5 6 7 8 PXI Slot PXI Express/Hybrid Slot PXI Express System Timing Slot PCI Express to PCI

NI PXIe-1075 Backplane PXI Express Slot 1 x4 x4 x4 x4 Four x4 PCI Express Links PCI Express Switch PLX PEX8532 PCI Express Switch PLX PEX8525 PCI Express Switch PLX PEX8532 PCI Express Switch PLX PEX8532 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 x4 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 PCI Express to PCI Slot Color Legend Hybrid Slot PXI Express Slot PXI Express System Timing Slot PCI Express to PCI

Key System Components Hardware Platform with High-Throughput and Low-Latency High-Speed Data Storage Hard Drives (HDDs) Solid-State Drives (SSDs) Software for Streaming to Disk at High Rates Streaming Front-End Instrumentation

Stream To/From Disk Rates Drive(s) Laptop IDE SATA SATA Max Rate: Write/Read (MB/s) 30 (NI PXIe-8106 internal drive; 5,400 RPM) 57 (Western Digital 160 GB; 7,200 RPM) 62 (Western Digital 160 GB; 7,200 RPM) 75 (Seagate Barracuda 250 GB; 7,200 RPM) Most hard drive manufacturers do not specify streaming rates Specifications beyond the interface (SATA, PATA, IDE) dictate hard drive performance Seek times (ms) Rotational speed (RPM) Buffer size (MB) Density Benchmarking is the only guarantee Onboard FIFO (MBytes).

Disk Performance Outermost rim Outer rim faster, inner rim slower 62 MB/s at outer rim, 36 MB/s at inner rim Windows OS allocates file space from outer rim inward True for most RAID arrays as well

Hard Drive Streaming Performance Formatting Allocation unit size the larger the better Use quick format Write Caching must be turned ON Turn off System Restore and Recycle Bin File location on disk and fragmentation

Understanding SSDs Performance versus Capacity Two types of SSD Drives: SLC and MLC 1 1 0 1 Single-Level Cell (SLC) Pros: Performance, Life Cons: Low-Capacity, Cost Multilevel Cell (MLC) Pros: Capacity, Cost Cons: Performance, Life

Understanding SSDs Performance versus Capacity 20 GB Write on 32 GB SLC SSD 160 GB Write on 256 GB MLC SSD

What Is RAID? Redundant Array of Independent Drives, is a general term for mass storage schemes that split or replicate data across multiple hard drives.

Raid 0 RAID 0 Striping without redundancy Improved speed over streaming to a single hard drive Unimproved system reliability Transparently supported by Windows OS 0123 4567 8901 RAID 0 Controller (Striping) 0 1 2 4 5 6 8 9 0 3 7 1

Raid 1 RAID 1 Mirrored (redundancy) 100% data redundancy No write speed increase over single disk Highest overhead of all raid configurations 0123 4567 8901 RAID 1 Controller (Mirrored)

Raid 5 RAID 5 Distributed parity Very efficient does not require additional disks Can only tolerate one drive failure Poor performance with small files 012 345 678 901 RAID 5 Controller (Striped/ Parity) 0 1 2 A 3 4 B 5 6 C 7 8 D 9 0 1

Raid 1+0 RAID 1+0 or 10 Striping and mirroring Highest performance with data redundancy Can sustain multiple drive failures Configuration requires twice the hard drives 0123 4567 RAID 0 Controller (Striping) RAID 1 Controller (mirroring) 0 0 1 2 2 3 4 4 5 6 6 7 1 3 5 7

Stream To/From Disk Rates Drive(s) Max Write/Read Rate: Write/Read (MB/s) (MB/Sec) Rate Types Laptop 30 30 (PXIe-8103 (NI PXIe-8103 internal internal drive; drive; 5400 5,400 RPM) RPM) Peak IDE 57 57 (Western Digital 160 160 GB; GB; 7200 7,200 RPM) RPM) Peak SATA 62 62 (Western Digital 160 160 GB; GB; 7200 7,200 RPM) RPM) Peak SATA 75 75 (Seagate Barracuda 7200.10; 7,200.10; 250 250 GB) GB) Peak 2 RAID 114/127 (NI PXI-8351 1U Rack Mount Controller) Peak 4 RAID 200+/200+ (NI HDD-8263, NI 8353, NI 8260) Sustained 12 RAID 600/600 (NI 8264 RAID Controller) Sustained Outer rim rates. Cannot be sustained across the whole drive.

Data Streaming Products Rackmount (External) In-Chassis (Internal) NI HDD-8263 200 MB/s NI HDD-8260 200 MB/s 1 TB 1 TB More than 1 hour at 100 MS/s More than 1.5 hour at 100 MS/s NI HDD-8264 600 MB/s 3 TB More than 3 hours at 100 MS/s 3-slot wide, 4-drive SSD option (128 GB) available Software RAID

NI 8260 In-Chassis High-Speed Storage Module For PXI Express systems 3-slot wide storage module 4-drive software RAID 200 MB/s HDD version: 1 TB SSD version: 128 GBs

Key System Components Hardware Platform with High-Throughput and Low-Latency High-Speed Data Storage Hard Drives (HDDs) Solid-State Drives (SSDs) Software for Streaming to Disk at High Rates Streaming Front-End Instrumentation

Using Data Streaming Products The RAID hard drives appear as logical partition in Windows OS LabVIEW 8.5.1 or later Win32 file I/O VIs LabVIEW 8.6 and later Built-in file VIs LabVIEW 2009 Can Use LabVIEW 2009 TDMS

LabVIEW Programming Structure T 1 T 2 Loop Time = T 1 +T 2

Use Multithreading Acquisition Loop Thread 1 File Write Loop Thread 2 Loop Time = T 1 or T 2

Producer Consumer Loops Acquire Data File Write Data

Data Types Reduce file size 1 I16 sample = 16 bits = 2 bytes 1 DBL sample = 64 bits = 8 bytes = 4X increase in bandwidth

Demo 1

Key System Components Hardware Platform with High-Throughput and Low-Latency High-Speed Data Storage Hard Drives (HDDs) Solid-State Drives (SSDs) Software for Streaming to Disk at High Rates Streaming Front-End Instrumentation

Streaming Modules PXIe-6544/45 DIO 100/200 MHz 32 lines 1.2,1.51.8,2.5,3.3 V 660 MB/s PXIe-5442 Arb 100 MS/s 43 MHz, 16-bit 40 MHz DUC 200 MB/s PXIe-5122 Digitizer 2 channel 100 MS/s 100 MHz, 14-bit 400 MB/s

Streaming Modules PXIe-5673 VSG 85 MHz to 6.6 GHz 100 MHz Bandwidth 125 MS/s IQ Rate 500 MB/s PXIe-5663 VSA 10 MHz to 6.6 GHz 50 MHz Bandwidth 62.5 MS/s IQ Rate 250 MB/s

Streaming Modules PXIe-5450 IQ Generator 400 MS/s, 16-bit, dualchannel 145 MHz 600 MB/s dual-channel 360 MB/s single-channel PXIe-5622 IF Digitizer 150 MS/s, 16-bit 3-250 MHz 60 MHz DDC 300 MB/s

Streaming Modules PXIe-8234 GigE Interface Dual-port gigabit Ethernet NI Vision software 250 MB/s

Streaming Performance Most operations are possible with a direct link to the PXI Express controller (no switches) Chassis and controller set maximum system bandwidth Module location and type (input or output) are critical factors

Instrument Behavior: Input Memory Switch/ Bridge/ Chipset Switch/ Bridge/ Chipset Input Device Data

Instrument Behavior: Output Memory Switch/ Bridge/ Chipset Switch/ Bridge/ Chipset Output Device Read Request Data

High-Level Guidelines Streaming devices should be given their own dedicated link or switch, if possible RAID arrays should be the only streaming device on a dedicated controller link, whether or not they are behind a switch Modules with opposite streaming direction (input and output) should not be grouped behind the same switch Devices based on PXI Express NI-DAQmx (small onboard memory) should share their own switch Lower than 400 MB/s aggregate bandwidth (input + output); these should not be a problem

NI PXIe-5122 NI PXIe-5450 NI PXIe-5122 NI PXIe-5450 NI PXI-5122 NI PXIe-5450 NI PXIe-5122 NI PXIe-5450 A High-Performance Application CPU Controller 3.2 GB/s Memory PCI Express PXIe Switch Switch PCI Express PXIe Switch Switch PCI Express PXIe Switch Switch PCI Express PXIe Switch Switch

Demo 2

Questions?