27
Linux on POWER emPOWER your Open Source Andrea Nardone [email protected] Technical Sales IBM POWER Systems

MariaDB and Linux on Power

  • Upload
    mariadb

  • View
    210

  • Download
    2

Embed Size (px)

Citation preview

Linux on POWERemPOWER your Open Source

Andrea Nardone

[email protected]

Technical Sales

IBM POWER Systems

Agenda

• POWER8 Technology

• OpenPOWER Foundation and IBM’s strategy

• MariaDB and POWER8

• From x86 to POWER

POWER8 Servers

IBM POWER8 in the press

What do they say about us...

To make the chip faster, IBM has turned to a more advanced manufacturing process,

increased the clock speed and added more cache memory, but perhaps the biggest

change heralded by the Power8 cannot be found in the specifications. After years of

restricting Power processors to its servers, IBM is throwing open the gates and

will be licensing Power8 to third-party chip and component makers.

POWER8 is so clearly engineered for midrange and enterprise systems for running

applications on a giant shared memory space, backed by lots of cores and threads.

It most certainly does belong in a badass server, and Power8 is by far one of the

most elegant chips that Big Blue has ever created, based on the initial specs.

With Power8, IBM has more than doubled the sustained memory bandwidth

from the Power7 and Power7+, to 230 GB/s, as well as I/O speed, to 48 GB/s. Put

another way, Watson’s ability to look up and respond to information has more than

doubled as well.

Called Power8, the new chip delivers impressive numbers, doubling the

performance of its already powerful predecessor, Power7+. Oracle currently

leads in server-processor performance, but IBM’s new chip will crush those records.

The Power8 specs are mind boggling

POWER8 Processor Highlights

Innovation across the whole chip

Cores

•12 cores (SMT8)

•8 dispatch, 10 issue,

16 exec pipe

•2X internal data

flows/queues

•Enhanced prefetching

•64K data cache, 32K

instruction cache

Accelerators

•Crypto & memory

expansion

•Transactional Memory

•VMM assist

•Data Move / VM

Mobility

Caches

•512 KB SRAM L2 / core

•96 MB eDRAM shared L3

•Up to 128 MB eDRAM L4

(off-chip)

Memory

•Up to 230 GB/s sustained

bandwidth

• - 25% memory latency

improvement via on-chip

fastpath interconnect

Bus Interfaces

•Durable open memory

attach interface

•Integrated PCIe Gen3

•SMP Interconnect

•CAPI (Coherent

Accelerator Processor

Interface)

Technology

•22nm SOI, eDRAM, 15 ML 650mm2

Energy Management

•On-chip Power Management Micro-controller

•Integrated Per-core VRM

•Critical Path Monitors

POWER8 Processor Highlights

Innovation across the whole chip

Cores

•12 cores (SMT8)

•8 dispatch, 10 issue,

16 exec pipe

•2X internal data

flows/queues

•Enhanced prefetching

•64K data cache, 32K

instruction cache

Accelerators

•Crypto & memory

expansion

•Transactional Memory

•VMM assist

•Data Move / VM

Mobility

Caches

•512 KB SRAM L2 / core

•96 MB eDRAM shared L3

•Up to 128 MB eDRAM L4

(off-chip)

Memory

•Up to 230 GB/s sustained

bandwidth

• - 25% memory latency

improvement via on-chip

fastpath interconnect

Bus Interfaces

•Durable open memory

attach interface

•Integrated PCIe Gen3

•SMP Interconnect

•CAPI (Coherent

Accelerator Processor

Interface)

Technology

•22nm SOI, eDRAM, 15 ML 650mm2

Energy Management

•On-chip Power Management Micro-controller

•Integrated Per-core VRM

•Critical Path Monitors

IBM POWER Systems Family

7

Power

770

Power

780

Power

710

Power

730

Power

720

Power

740

IBM Systems Software

Power

795

Power S812L

Power S822L

Power

750

Power

760

Power

S824

Power

S822

Power

S814

POWER7+

POWER8

POWER7

Power

E870

Power

E880

Power

S824L

IBM POWER8 Systems Family on Linux

8

IBM Systems Software

S812L

10, 12 Cores

3.02 – 3.42 GHz

S822L

20, 24 Cores

3.02 – 3.42 GHz

Linux-only Machines (Entry-Level) IFL (High-End)

S824L

20, 24 Cores

3.02 – 3.42 GHz

(1-2 NVidia GPU)

Power

E870

32 to 80 Cores

4.02 - 4.19 GHz

Power

E880

64 cores

4.35 GHz

Linux support for IBM POWER

SUSE, RHEL, Ubuntu and more...

9

RHEL 7.1 (LE and BE) POWER8 (native mode) and

POWER 7/7+

RHEL 6 (BE)• POWER8 supported with U5

(P7-compatibility mode)• Full support of POWER6 and

POWER7(native mode)

Fedora (LE + BE)• Fedora 16 was first release to

re-launch POWER• Fedora 20 has POWER8

support• Fedora 21 has LE and BE

support

Supported add-ons• JBoss• High Performance Network Add-

on

Built from the same source as x86

Delivered on the same schedule as x86

Supported at the same time as x86

SLES 12 (LE)• POWER8 (native mode) and

POWER 7/7+

SLES 11 (BE) POWER8 with SP3 (P7-

compatibility mode) POWER7+ encryption, RNG

accelerators with SP3 Full support of POWER7 (native

mode)

openSUSE (LE + BE)• openSUSE 12.2 re-launched for

IBM POWER• openSUSE 13.2 includes

POWER8 support

Supported add-ons• SUSE Linux Enterprise High

Availability Extension

Ubuntu 14.10 (LE) POWER8 (native mode)

Ubuntu 14.04 (LE) POWER8 enabled (native

mode) No official support for

POWER7+ and older systems No support for 32-bit

applications. 64-bit only. Supported in KVM only at this

time

Supported add-ons• JuJu Charms• MaaS (Metal as a Service)• Landscape

Debian (LE + BE)• Debian community now

supports Power as of Sid release

OpenPOWER

Foundation

The OpenPOWER Foundation

Opening the architecture to Partners

11

The goal is to create an open ecosystem, using the POWER Architecture to share

expertise, investment, and server-class intellectual property to serve the evolving

needs of the customers.

Open ecosystem based on the IBM POWER Architecture.

Allows the industry to

innovate across the full

Hardware and Software

stack.

Provide partners and customers with the flexibility to build servers best suited to the Power architecture.

Platinum Members

Founding Members

12 MariaDB Roadshow in Düsseldorf,

München und Wien im April 2015

Welcoming new members in all areas of the ecosystem

100+ inquiries and numerous active dialogues underway

I/O / Storage / Acceleration

Chip / SoC

System / Software / Services

Implementation / HPC / Research

HuaxunZhongxingTech. Co.

Boards / Systems

https://ibm.biz/BdE5RD

OpenPOWER Ecosystem

Based on open and existing standards

MariaDB Roadshow in Düsseldorf, München und Wien im April 2015 13

Cloud

Software

Operating

System / KVM

Standard Operating

Environment

(System Mgmt)

Firmware

Hardware OpenPOWER

Technology

OpenPOWER

Firmware

Software

Open

Source

Hardware

POWER

Arch.

CAPI

OpenPOWER compliant products

Also non-IBM Products

MariaDB Roadshow in Düsseldorf, München und Wien im April 2015 14

Palmetto System TYAN GN70-BP010 is the first commercialized customer

reference system provided from an official member from the OpenPOWER

ecosystem, it is based POWER 8 Architecture and follows the OpenPOWER

Foundation's design concept.

• POWER8 Turismo SCM Processor

• 4x DDR3L-16000 MHz memory DIMMS

• 500 GB 3.5’’ HDD

Servergy, Inspur, ChuangHe, ZTE, and

Hitachi have also committed to create

Power8-based servers

MariaDB and LAMP

Stack

MariaDB performance on Linux on POWER

Providing more capabilities to the Software

Results show that MariaDB is more performant on POWER8 than on x86, up to:

2.2x trasactions/second

/core

1.9x trasactions/second

/system

IBM Power S822L vs. IBM x3650 M4 – per core(Both running Ubuntu as KVM guest – Sysbench benchmark)

Read-

only

Read-

Write

Tra

ns

acti

on

/ seco

nd

/ c

ore

Read-

only

Read-

Write

2.2x

2.1xT

ran

sacti

on

/ seco

nd

/ s

yste

m

IBM Power S822L vs. IBM x3650 M4 - per system(Both running Ubuntu as KVM guest – Sysbench benchmark)

1.7x

1.9x

Read-

only

Read-

Write

Read-

only

Read-

Write

More info: https://ibm.biz/BdXiA8

MariaDB performance on Linux on POWER

Why so great?

The reasons why this level of performance can be achieved can be linked to:

• SMT8 (8 symultaneous threads per core)

– Enable more transactions to be conducted in parallel, optimizing throughput

• Large on-chip cache

– Larger «workplace» for the chip to store data and do operations, before being

written to the Memory subsystem; that minimizes latency

• High memory (230 GB/s) and I/O bandwith (192 GB/s)

– More bandwidth for transactions to be written on disk and/or loaded into memory

– Storage Backplane providing write-cache, enabling data to be cached before

being written to disk

• Optimization for the POWER Platform

More info: https://ibm.biz/BdXiA8

TurboLAMP Stack

Teaming up to provide a more performant stack

The LAMP Stack is an open-source standard widely used today for web

applications, like e-Commerce platforms (Magento, OpenCart), content

management (Drupal, Joomla), or blogging (Wordpress).

It makes use of:

IBM teamed up with

In order to provide a «turbo» version of this stack, using high-speed data transfer

from Mellanox and based on the POWER architecture: the TurboLAMP Stack.

Moving to a TurboLAMP stack is quite straightforward (see example below).

More info: TurboLAMP https://ibm.biz/BdXiud

Linux as the Operating System

Apache as the Web Server

MariaDB as the Database

PHP as the programming language

From x86 LAMP to P8 LAMP: https://ibm.biz/BdXiuD

Migrating from x86 to

POWER

Porting applications

Interpreted and Script Languages

Applications written in script languages and interpreted languages should be

platform-independent.

They rely on a specific program (the language interpreter) to make the same

program run across different architectures (ex. Java Development Kit - JDK): they

take the code and translate it into instructions for the underlying architecture.

Code written in these languages would run «as-is» on POWER.

Some of these languages are:

• Java (ex.: Apache Tomcat, JBOSS, ...)

• Python (ex.: Ansible)

• PHP

• Ruby

• Lua

Porting applications

Open Source Software

Open Source Software is by definition free to compile and adapt to different

platforms, so it can run on POWER after a re-compile.

POWER supports both:

• IBM Compilers (XLC, XLF, ...)

• GNU Compilers Collection (GCC)

IBM is working towards further extending the Open Source Software Ecosystem,

many of today’s most popular Open Source Software is on Linux on POWER.

From experience: Scilab and R.

Porting applications

Closed-Source C, C++, FORTRAN and the likes

Linux on POWER Servers target mostly Open Source Software.

However, compiling a non open source application can be easily done too.

Based on experience from our developers that porten applications for customers

and business partners:

• 95% was ported with no issues: «young code» (<10y), in C/C++/FORTRAN

• 3% required modifications: «old code» (>10y), not following standards, written

to take exclusive advantage of x86

• 2% was not possible to port: assembler code, device drivers, network cards

IBM Support

How we help to port your applications to POWER

IBM offers several means to support customers and BPs in porting applications:

• Teams:

– Innovation Centers: POWER Pre-Sales resources help you on-site for free

– Chiphopper Program, Migration Factory: developers provide competent

recommendations for porting the code

– Linux Competence Centers: help you tune your code to exploit POWER

– Business Partners

• Software

– SDK for PowerLinux: scans x86 code and provides recommendations to change

it in order to exploit POWER (e.g.: parallelisation): https://ibm.biz/BdXiAr

– SUSE’s SDK, EPEL Repo: developer packages for Linux (all platforms)

– Advance Toolchain: optimised libraries for POWER (https://ibm.biz/BdRCHZ)

IBM Support

How we help to port your applications to POWER

IBM offers several means to support customers and BPs in porting applications:

• Books

– IBM Tuning Guide: a comprehensive book to help you find the best optimisation

settings to exploit POWER: https://ibm.biz/BdXiAF

– Moving LAMP Stack applications: an example for moving OpenCart from an

x86-based LAMP to a P8 LAMP

• Hardware

– Latest POWER8 Servers at Innovation Centers, like here in Zurich

– POWER Development Cloud: a cloud based on P8 to use for a limited time to

test your code: https://ibm.biz/BdXiu4

– Softlayer (soon) or OVH (now): Public-Cloud providers of P8-based Servers

Save the Date!

Linux on POWER eventIBM Switzerland – Vulkanstrasse 106, 8048 Zurich

• Understand from IBM subject matter experts:

- how your customers and in turn their customers, can experience improved

performance and deliver better and faster results with IBM Power8.

Hear directly from IBM Open Source Business Partners:

- what are the use cases and customer scenarios which you can relate to

Get involved in the "try your own application" session on Linux on Power:

- Access a live environment, dedicated to test your application on Linux on

Power.

- Network with IBM Open Source Business Partners and IBM technical experts.

- Explore how to leverage the IBM Power Development Platform, allowing you

no-charge remote access to IBM hardware

• Registrations are open! https://ibm.biz/BdXibh 25

Save the Date!

Linux on POWER eventIBM Forum - Wilhelm-Fay-Strabe 32, Frankfurt

• Understand from IBM subject matter experts:

- how your customers and in turn their customers, can experience improved

performance and deliver better and faster results with IBM Power8.

Hear directly from IBM Open Source Business Partners:

- what are the use cases and customer scenarios which you can relate to

Get involved in the "try your own application" session on Linux on Power:

- Access a live environment, dedicated to test your application on Linux on

Power.

- Network with IBM Open Source Business Partners and IBM technical experts.

- Explore how to leverage the IBM Power Development Platform, allowing you

no-charge remote access to IBM hardware

• Registrations are open! https://ibm.biz/BdXi6A 26

Summary

POWER8 is a highly performant architecture

• 8 Threads per Core

• High Bandwidth

MariaDB can achieve a higher performance thanks to POWER

• Exploits POWER’s technical features

• 2.2x throughput/sec/core and 1.9x /system as Intel Ivy Bridge

Porting applications to POWER can be easily done

• IBM’s Support

• Use of Industry Standards (LAMP, OpenStack, ...)