SUSE Linux Enterprise Real Time

Similar documents
SUSE Linux Enterprise Real Time. Carl Drisko, Linux & Open Source Principal

A Low Latency Solution Stack for High Frequency Trading. High-Frequency Trading. Solution. White Paper

CSE120 Principles of Operating Systems. Prof Yuanyuan (YY) Zhou Scheduling

What s the difference between threads/processes. Operating Systems

Operating Systems ECE344. Ding Yuan

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5

How Linux RT_PREEMPT Works

G Robert Grimm New York University

IBM WebSphere MQ Low Latency Messaging Software Tested With Arista 10 Gigabit Ethernet Switch and Mellanox ConnectX

CPU Scheduling. CSE 2431: Introduction to Operating Systems Reading: Chapter 6, [OSC] (except Sections )

Job Scheduling. CS170 Fall 2018

Example Networks on chip Freescale: MPC Telematics chip

LOW LATENCY DATA DISTRIBUTION IN CAPITAL MARKETS: GETTING IT RIGHT

Receive Livelock. Robert Grimm New York University

Real-Time Performance During CUDA A Demonstration and Analysis of RedHawk CUDA RT Optimizations

Operating Systems Overview. Chapter 2

Cloud & Datacenter EGA

Operating Systems : Overview

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013)

FROM HPC TO THE CLOUD WITH AMQP AND OPEN SOURCE SOFTWARE

Latency on preemptible Real-Time Linux

A TimeSys Perspective on the Linux Preemptible Kernel Version 1.0. White Paper

CPU Scheduling. Operating Systems (Fall/Winter 2018) Yajin Zhou ( Zhejiang University

Multiprocessor and Real- Time Scheduling. Chapter 10

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Device-Functionality Progression

Chapter 12: I/O Systems. I/O Hardware

IX: A Protected Dataplane Operating System for High Throughput and Low Latency

SAP SD Benchmark with DB2 and Red Hat Enterprise Linux 5 on IBM System x3850 M2

Chapter 5: CPU Scheduling. Operating System Concepts 8 th Edition,

QLogic 16Gb Gen 5 Fibre Channel for Database and Business Analytics

SMD149 - Operating Systems

Chapter 5: CPU Scheduling

Chapter 5: CPU Scheduling

Real Time: Understanding the Trade-offs Between Determinism and Throughput

Chapter 5: CPU Scheduling. Operating System Concepts Essentials 8 th Edition

QLogic/Lenovo 16Gb Gen 5 Fibre Channel for Database and Business Analytics

WebSphere MQ Low Latency Messaging V2.1. High Throughput and Low Latency to Maximize Business Responsiveness IBM Corporation

Opera&ng Systems ECE344

Real-Time Systems Hermann Härtig Real-Time Operating Systems Brief Overview

HYBRID TRANSACTION/ANALYTICAL PROCESSING COLIN MACNAUGHTON

Chapter 13: I/O Systems

Oracle Exadata: Strategy and Roadmap

Real Time Linux patches: history and usage

Department of Computer Science Institute for System Architecture, Operating Systems Group REAL-TIME MICHAEL ROITZSCH OVERVIEW

Chapter 5 CPU scheduling

Subject Name: OPERATING SYSTEMS. Subject Code: 10EC65. Prepared By: Kala H S and Remya R. Department: ECE. Date:

Embedded Systems. 6. Real-Time Operating Systems

RT extensions/applications of general-purpose OSs

Operating System Overview. Chapter 2

Using a Real-time, QoS-based ORB to Intelligently Manage Communications Bandwidth in a Multi-Protocol Environment

Multiprocessor and Real-Time Scheduling. Chapter 10

Abstract. Testing Parameters. Introduction. Hardware Platform. Native System

Low Latency Data Grids in Finance

Optimized Distributed Data Sharing Substrate in Multi-Core Commodity Clusters: A Comprehensive Study with Applications

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

Evaluation of uclinux and PREEMPT_RT for Machine Control System

VoltDB vs. Redis Benchmark

Lecture 5 / Chapter 6 (CPU Scheduling) Basic Concepts. Scheduling Criteria Scheduling Algorithms

LECTURE 3:CPU SCHEDULING

Chapter 5: CPU Scheduling

Market Data Publisher In a High Frequency Trading Set up

CS307: Operating Systems

Accelerating Workload Performance with Cisco 16Gb Fibre Channel Deployments

Chapter 13: I/O Systems

Chapter 13: I/O Systems. Chapter 13: I/O Systems. Objectives. I/O Hardware. A Typical PC Bus Structure. Device I/O Port Locations on PCs (partial)

Oracle Event Processing Extreme Performance on Sparc T5

NuttX Realtime Programming

What's New in SUSE LINUX Enterprise Server 9

Real-Time Technology in Linux

Solace Message Routers and Cisco Ethernet Switches: Unified Infrastructure for Financial Services Middleware

The Desired State. Solving the Data Center s N-Dimensional Challenge

EECS 571 Principles of Real-Time Embedded Systems. Lecture Note #10: More on Scheduling and Introduction of Real-Time OS

iseries Tech Talk Linux on iseries Technical Update 2004

CS370 Operating Systems

Using Software Transactional Memory In Interrupt-Driven Systems

CPU Scheduling: Objectives

A Comparison of Scheduling Latency in Linux, PREEMPT_RT, and LITMUS RT. Felipe Cerqueira and Björn Brandenburg

Traditional Approaches to Modeling

DB2 purescale: High Performance with High-Speed Fabrics. Author: Steve Rees Date: April 5, 2011

Reservation-Based Scheduling for IRQ Threads

Hyper-Threading Performance with Intel CPUs for Linux SAP Deployment on ProLiant Servers. Session #3798. Hein van den Heuvel

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Supporting Time-sensitive Applications on a Commodity OS

Chapter 5: Process Scheduling

PERFORMANCE ACCELERATED Mellanox InfiniBand Adapters Provide Advanced Levels of Data Center IT Performance, Productivity and Efficiency

Realtime BoF Session RealTime Testing Best Practice of RealTime WG YungJoon Jung

Problems Kernel Scheduler User Level Scheduler Universität Karlsruhe (TU), System Architecture Group

Craig Blitz Oracle Coherence Product Management

OPERATING SYSTEM CONCEPTS UNDERSTAND!!! IMPLEMENT!!! ANALYZE!!!

Ref: Chap 12. Secondary Storage and I/O Systems. Applied Operating System Concepts 12.1

Optimizing High-Performance Trading Solutions: An Engineering Perspective

Performance Tuning Guidelines for Low Latency Response on AMD EPYC -Based Servers Application Note

HP ProLiant BladeSystem Gen9 vs Gen8 and G7 Server Blades on Data Warehouse Workloads

Resource Containers. A new facility for resource management in server systems. Presented by Uday Ananth. G. Banga, P. Druschel, J. C.

Operating System Concepts Ch. 5: Scheduling

Chapter 13: I/O Systems

Interconnecting Components

Benchmark Study: A Performance Comparison Between RHEL 5 and RHEL 6 on System z

Computer Systems Laboratory Sungkyunkwan University

Transcription:

SUSE Linux Enterprise Real Time Matthias Nagorni Product Manager SUSE Linux Enterprise 22. März 2007

What is SUSE Linux Enterprise Real Time? An add-on to SUSE Linux Enterprise Server providing deterministic performance in time-critical environments. An industry-standard real-time version of Linux for x86 architectures engineered and supported in cooperation with Concurrent Computer Corp. providing the following key features: CPU Shielding: Dedicated resources (such as CPU, memory, fabric) for high priority processes Kernel Preemption: Fast response to external events, optimized kernel critical sections (aggressive lock breaking) Priority Inheritance: Solves priority inversion problem for mission critical processes 2

Real Time The problem and its solution Problem: Multi-tasking systems with scheduler-driven task execution do not provide deterministic timing. Solution: Exclude processes with real-time requirements from scheduling by running them on an isolated CPU/Core. SLE RT allows to explicitely and exclusively assign a process to a CPU/Core. CPU/Cores can be excluded from ordinary scheduling and interrupts. Together with other measures this results in predictable timing of the shielded process. 3

CPU Shielding: The Processing Highway The way CPU Shielding improves processing can most easily be understood by the analogy of cars running on a highway. Associate: CPU/Core --> Lane, Process/Thread --> Car Interrupt --> Truck, Consumed CPU time --> Distance While this analogy is not strict, it illustrates many effects of Shielding: Shielding of CPUs/Cores from other processes and interrupts is pictured in the upper lane The advantage of shielding is less apparent when there is little load ( = traffic on highway) Even at times of very low traffic, there is no guarantee that no truck will show up. Workloads with few high-priority Processes/Threads benefit most from Shielding. 4

Real Time as a time machine In Real Time applications for Financial Services, SLE RT can give a competitive advantage close to a time machine. Events 5

What's the secret? Standard Linux Kernel Measured 44,759,417 samples Max latency: 92.3 millisecs 44374681 samples < 0.1ms (99.140%) 219672 samples < 0.2ms (99.630%) 93496 samples < 1.0ms (99.843%) 44452 samples < 10.ms (99.939%) 16188 samples < 30.ms (99.975%) 10761 samples < 60.ms (99.999%) 166 samples < 90.ms (99.999%) 1 sample < 100ms (100%) Interrupts fire at 490 us /dev/rtc Kernel with Real-time Extensions Measured 28,800,882 samples Max latency: 27 microsecs Min latency: 11 microsecs Average latency: 11.3 microsecs 28,808,870 samples < 0.02 ms (99.99999%) 12 samples < 0.03 ms (100%) 6 September 08, 2005 Novell Inc, Confidential & Proprietary

Technical Benefits of SUSE Linux Enterprise Real Time Predictable response times with minimal latency High Quality of Service (QoS) even under heavy load High I/O throughput (integration with Infiniband) Fast response to external events 6-11 usec interrupt response time Deterministic and repeatable program execution 7 usec context switch times Optimized interprocess communication Signal delivery 6 usec 7

When Is Real-Time The Appropriate Platform? Standard Kernel: Throughput Sensitive Workloads Non-time sensitive workloads, applications with no process or transaction priority hierarchy, environments with no performance SLAs When fair scheduling algorithms are required across compute resources (time sharing) Web farms serving FIFO based requests Enterprise mail servers Batch processing Real Time Kernel Latency Sensitive Workloads Most improvement applications with a limited number of threads or clear hierarchy with priority; applications requiring faster, predictable data delivery predictable, low data latency Market data feeds (Wombat, Tibco, Reuters) Algorithmic Trading Real Time Enterprise Risk Management High volume Transaction Processing & High Volume Query Processing - Applications, e.g. ATM transactions, credit card authorizations, etc. Use standard kernel for throughput sensitive workloads and real-time kernel for latency sensitive workloads 8

Real Time in Financial Services Applications requiring predictable, low data latency Market Data Delivery > Assure fair access to pricing information. Trading / Algorithmic Trading > Maximize stock trading profit > Minimize time from receipt of new market information to re-calculation of risk and trade execution > Faster trade matching & execution > E.g., Foreign Exchange, Bond, MBS, Equity, and Derivatives trading Other high volume Transaction Processing Applications > E.g., ATM transactions, credit card authorizations, websites, etc. 9

Results in Financial Services Business Results > Large investment bank has said that for every 1 millisecond their program trading applications can beat the market, they would earn an additional $100 Million per year! > A leading Wall Street firm has shown it needs only 20% of its existing market data servers to meet performance SLAs Performance Results > Another Investment Bank is seeing 30%+ improvements for a time-critical program trading application > A large regional Bank has seen performance improvements ranging between 10% to 150%+ under heavy loads for their enterprise Identity Management solution while decreasing their overall physical server footprint by 75% > In database benchmarks, Oracle and Ingres database queries execute 5+ times faster under load 10

Real Time Doubles Wombat Feed Handler capacity to 200,000 messages per second 2 Consumer Applications/Client Handling a total of 200,000 msgs/sec Server 1 Wombat Feed Handler 4 Consumer Application Connections Subscribing to 100,000 Symbols Each 50,000/second per connection Server 2 Wombat Client Switch Server 3 Wombat Client Customer Benefits 2x improvement for Wombat customers running SLERT Partner Components Intel Woodcrest Chips 11

Benchmarks Time (s) 2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 Maximum Response Time 1 5 10 15 20 User Load Oracle 10g Benchmark 550 500 450 400 350 300 250 200 150 100 50 0 Archipelago Data Using The Flood Test RHEL4 SLERT SLES SLE RT 3 4 5 6 7 8 9 10 11 12 13 14 Market Data Flood Test Time In Seconds 275 250 225 200 175 150 125 100 Standard Linux Kernel: Windows Server 2003: 75 50 25 Real Time Kernel: 0 Ingres Database Performance RHEL4 SLERT 1 1 1 2 2 2 4 4 4 8 8 8 16 16 16 Threads Generating System Load Ingres Benchmark 90 milliseconds 2.3 seconds 22 microseconds Maximum Process Dispatch Latency 12