oracle solaris - the best platform to run your oracle applications · ibta standard wire protocol...

28
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle Solaris - The Best Platform to run your Oracle Applications David Brean Oracle Solaris Core Technology

Upload: others

Post on 08-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Oracle Solaris - The Best Platform to run your Oracle Applications

David Brean Oracle Solaris Core Technology

Page 2: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The following is intended to outline our general product direction. It is intended for

information purposes only, and may not be incorporated into any contract. It is not a

commitment to deliver any material, code, or functionality, and should not be relied

upon in making purchasing decisions. The development, release, and timing of any

features or functionality described for Oracle’s products remains at the sole

discretion of Oracle.

Safe Harbor Statement

Page 3: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Solaris 11. The First Cloud OS.

•! #1 UNIX

–! Industry leading availability, security and

performance

•! Built for Cloud Infrastructures

–! Breakthrough architecture to deploy and

secure and manage enterprise clouds

•! Engineered for Oracle

–! Optimized for Oracle software and hardware

Next Generation of UNIX

Page 4: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Oracle and Oracle Solaris

Investing in Best of Breed Top to Bottom Engineering

Co-Engineered for Innovation

Creating unique value for Engineered Systems

Accelerate Access to Hardware Innovation

4

Page 5: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

5 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Page 6: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Oracle Solaris 11 Unique Value for Oracle Engineered Systems

Exadata •!Optimized Shared Memory

•! Integrated auditing •! InfiniBand optimizations

•!2.5x faster reboots

Exalogic •!6x faster cloud deployments

•! Integrated load balancer, router, firewall •!DTrace for Solaris and Java for unmatched observation

•!Assignable network bandwidth per application

•!Unique InfiniBand and Zones integration

Supercluster •!Zero overhead virtualization

•!Subsecond application failover •!5x faster encryption

•!Deduplication for

10x storage savings

•!4x faster upgrades

Page 7: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

7 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Limited choices is a good thing !

•! System configuration locked down –!Hardened, tested together, guaranteed to work well

–!Software can be optimized to specific known configuration

•! Standardized datacenter footprint & building block

–!Standardized power, cooling and network integration

•! Interoperability and expandability

–!Exalogic, Exadata, SPARC SuperCluster and other Engineered

Systems are designed to work together

–!Storage and networking expansion blueprints for more flexibility

Engineered systems do the important things VERY well with uniformity

Page 8: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

•! Co-engineered lifestyle

–! Enhanced performance, unique features, built-in robustness, observability, security

•! Tested together

–! 150,000 machine hours every week, 10M+ machine hours annually

•! Coordinated patching

–! Easy, risk free updates

•! Supported together

–! Faster problem resolution

Full Stack SW Development

Page 9: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

InfiniBand Fabric

•! Infiniband Quad Data Rate (QDR) runs at 40Gbps –! Full line-rate non-blocking from all components

•! Extremely low latency – 10x better than 10GbE

•!Redundancy on all paths – auto failover, non-service

affecting

•!Connects compute, storage and interconnects all

Engineered Systems from Oracle – Exalogic, Exadata, SPARC SuperCluster

Infiniband technology is the heart of Engineered Systems

Page 10: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

10 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Exalogic I/O and Network Design

Data Center Service Network (10GbE)

Management Network (GbE)

Data Center Mgmt Network (GbE)

10GbE

GbE

Ethernet Gateway Switches

Standard Oracle

Database

Exa

bu

s

(Infin

iBan

d I/O

Backp

lan

e)

Exadata Exalogic

SPARC SuperCluster

Management Switch Storage

Compute Nodes

Spine Switch

Exalogic X2-2

IB

SDP/IPoIB

Eo

IB/S

DP

/IP

oIB

Page 11: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

11 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack

SA Subnet Administrator

MAD Management

Datagram

SMA Subnet Manager Agent

PMA Performance Manager

Agent

IPoIB IP over InfiniBand

SDP Sockets Direct

Protocol

SRP SCSI RDMA Protocol

(Target & Initiator)

iSER iSCSI RDMA Protocol

(Target & Initiator)

RDS Reliable Datagram

Service

UDAPL User Direct Access

Programming Lib

rNFS RDMA for RPC

under NFS

OpenSM Subnet Manager

IB Switch

HCA

Key

ConnectX

HCA Driver

Communication Manager

MAD

InfiniBand Transport Framework (Solaris) / OpenFabrics Kernel Verbs (OEL)

SA Client

SDP IPoIB UD

SRP iSER

User Level MAD

Open SM

Diag Tools

Hardware

Drivers

Mid-Layer

Upper Layer

Protocol

User

APIs

Kernel Space

User Space

Application

Level

SMA

Clustered DB Access

(Oracle RAC)

Sockets Based

Access

Various MPIs

Access to Remote

Files

Block Storage

Access

Apps & Access Methods

for using Stack

Ke

rnel

bypass

ConnectX-2

IP Based App

Access

IPoIB CM

RDS rNFS EoIB

EXA

OpenFabrics User Verbs

SDP Lib

uDAPL

Page 12: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

12 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack

•! IETF standard compliant –! 4391 – IP transmission over IB

–! 4755 - IP transmission over the RC and UC modes of IBA to

support large MTUs

–! 4390 – DHCP over IB

•! 20 byte link layer address

•! Maps IP subnet to IB partition

•! Enables IP addressing for other

IB ULPs

IP over InfiniBand (IPoIB)

•! TCP checksum offload and LSO,

interrupt moderation supported

•! HA Support: IPMP

•! Observability

–! Wireshark for IB

Page 13: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

13 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack

•! Ethernet over IB (EoIB)

–! Protocol used with the Sun Gateway (NM2-GW) for bridging IB and Ethernet

networks

•! Protocol defines the procedure for tunneling both unicast and multicast Ethernet packets

over IB using the Unreliable Datagram (UD) transport.

•! The Ethernet packet includes the standard header, VLAN tags, if appropriate, and the payload.

–! Protocol defines control messages used by Gateway management software to

associate IB connected servers with Ethernet ports on Gateway

–! EoIB protocol server-side endpoint in OS is implemented as standard network

driver (NIC)

•! EoIB NICs behave like regular Ethernet NICs

•! Networking stack works seamlessly over EoIB NICs

Encapsulation

Page 14: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

14 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack Sockets Directs Protocol (SDP)

•! Access to IB via Socket API

•! IBTA standard wire protocol

•! SOCK_STREAM transport

•! Leverages InfiniBand Capabilities

–! Transport Offload – Reliable Connection

–! Zero Copy – Using RDMA

–! Kernel Bypass

–! Delivers low latency

•! netstat(1m) extensions

Socket Application

Snode Switch (sockfs)

SDP

OS Modules

InfiniBand Hardware

Sockets Direct Protocol

Kernel Bypass

RDMA Semantics

InfiniBand HCA

TCP/IP Transport

IPoIB Driver

Page 15: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

15 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack Reliable Datagram Sockets (RDS)

•! Protocol used exclusively by the Oracle Database

•! Provides in order, non-duplicating, highly available, low overhead, reliable

delivery of datagrams between hundreds of thousands of non-connected endpoints

–! Datagram protocol like UDP but reliable and zero copy

–! Access to IB via Socket API

•! RDS V3 –! supports RDMA read + RDMA write

–! Introduces control messages for asynchronous operation for submit and completion notifications

–! Large data transfers – up to 8 MB

–! Integrated with NUMA IO framework

•! RDS diagnostic tools (rds-stress, rds-info, rds-ping)

Page 16: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

16 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack Open Fabrics User Verbs (OFUV)

•! API for access to RDMA-

capable transport defined by

the Open Fabrics Alliance

(openfabrics.org)

–! Libraries and utilities for verbs(7)

and rdma_cm(7) and kernel

subset implementation for RDSv3

–! Provides access mechanism &

kernel bypass for Userland

•! Provider is assigned IP

address via IPoIB

IB Transport Framework / Kernel Verbs

HCA Drivers

HCA Hardware

User space libmlx4 libmthca

libibverbs librdmacm

Page 17: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

17 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The InfiniBand Stack

•!OpenFabrics Alliance commands & utilities –! Infiniband diagnostic & observability tools (40+)

–!Eg. perfquery, ibhosts, ibstatus, ibv_devinfo, ibnetdiscover

Observability

Page 18: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

18 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Application Buffer

Copy TCP IP Transport

Kernel

Application Buffer

Standard Hardware I/O

Application

Exabus

20% Buffer Copies 40% Transport Processing

40 % Kernel Context Switches

Zero Buffer Copy Direct Memory Access

Kernel Bypass

Application Application

4X Throughput, 6X Lower Latency

Future: Exabus - High Speed Network Virtualization Direct Memory I/O for Java and C++

Application

Page 19: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

19 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

New Exabus Java and C++ APIs

•!New C++ and Java APIs for maximum

application

performance –! Messagebus API

accelerates Coherence

–! RDMA API accelerates

Tuxedo

–! SDP API accelerates

WebLogic

Next-generation of Exalogic performance optimization

= Coming Soon

!"#$%&'()*+',-..'+/01'

!"#$%&'2#3#'+/0&'

!"##$%"&'#( !"#45678'9)/'

-5:;<;=8;' >;$?5678'

@%";A5'

!"#$%&'0=B=7C#=A'-5<;'

D#<AE#<;'#=A'F7<GE#<;'

!50C'

+=H''954#<7&'

+IIJ'

@-/K0/'

0/50C'

Page 20: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

20 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Benefits of Engineered Systems

20

Page 21: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

21 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Co-engineered with the Oracle Stack

CPU

Fully MT-hot kernel, scales to 100s of cores and 10,000s of HW threads

Support for Critical Threads features in T4 chip

JVM support for Solaris scheduling classes, User-level high resolution timer support

WLS scalability, smt pause() to optimize busy waits in the JVM, 5X performance

improvement of high-resolution timer

Memory

Large page support by JVM, T4 2GB pages for Java performance, Preemption control

NUMA IO framework, Latency-aware kernel memory allocator, NUMA optimizations in

LDOMs, Intimate Shared Memory (ISM), Dynamic Intimate Shared Memory (DISM)

Optimized Shared Memory (OSM), NUMA IO framework, Latency-aware kernel

memory allocator, Large Page support, Fast DB Restart

File System Support for Event ports, Userland file system for DB

I/O

SDP, IPoIB,Receive-side Scaling, LSO for VNICs, Traffic fan-out for EoIB, HA for SDP,

Open Fabrics User Verbs, SR-IOV performance scaling, Dynamic Reconfiguration for

IB HCAs,vnet & vswitch performance improvements, uDAPL, RDSv1, RDSv3, SDP:

Support for low-latency InfiniBand protocols, Direct I/O with Concurrent writes,

Dynamic Reconfiguration for IB HCAs

Security

Integration of JVM with crypto offload engines

Zones support for EoIB, IPoIB, SDP: Secure isolation, lowest-latency virtualization,

Integration with Solaris Crypto offload engine, Zones: Secure isolation, lowest-latency

virtualization

Page 22: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

22 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Solaris and Java

Invented, integrated and tested in-house

JVM subsystem instrumentation (DTrace)

-! VM Lifecycle Probes

-!Thread Lifecycle Probes

-! Classloading Probes

-! Garbage Collection Probes

-! Monitor Probes

-! etc.

Security – Java Cryptography Extension+S11

Automatically accelerated security functions,

Solaris PCKS#11 support, evaluating native T4 crypto –

bypass JNI

Performance

Sockets Direct Protocol (SDP) enhancements –

RDMA zero-copy data transfers

T4 critical-thread and GC (work in-process)

Transparent large memory page support

Environment aware

The HotSpot JVM and Solaris lgroups

(latency groups) helps ensure that Java

objects are placed in local memory on

NUMA machines

+

Page 23: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

23 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Solaris and SPARC - Engineered Together

23

Smarter Threads

T4 and Solaris Dispatcher coordinate to

enable dynamic threads. Applications run

5x faster

Effortless Crypto

Automatically accelerated Java, application and

Oracle Database encryption. 4x faster OpenSSL vs IBM

Big Pipes

Deliver dedicated bandwidth to network

intensive services with 10GigE network pipes

and Oracle Solaris 11 network virtualization

Higher network utilization

Power Smart

Automatic conservation of threads, cores

and memory by the Solaris Power

Dispatcher to cut your power expenses

+

Page 24: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

24 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Optimized for x86 Co-engineered with Intel

Performance

Optimized memcpy, memset, string routines, gethrtime() 5x faster

SSE3/4.1/4.2, AVX

Performance counters for all new CPUs, latencytop

gcc 4.5.2

Power Management

powertop, poweradm

Full C-State and P-State support

Turbo Boost observability, RAPL Power Meter

Security Hardware crypto acceleration and optimization: AES-NI, SHA1 w/SSE3, RC4…

Trusted Platform Module (TPM) driver and keystore support

Executable page removal via NX bit

I/O

Storage: SCU support, 30%+ improvement for large I/Os using IOMMU

Graphics: GRFX, DRM, AGP, VESA console, virtual consoles, graphical startup

Network: SR-IOV, ixgbe, e1000g, wireless, Zero-copy TCP with I/OAT

PCIe hotplug, CPU microcode update

Fault Tolerance

Extensive hardware-specific fault detection and recovery with FMA, MCA

support, CPU, memory, and I/O retire

Auto-discovery of memory fault topologies

Page 25: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

25 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

For More Information / Try Out Today

•! Product overview and download

–! oracle.com/solaris

•! Oracle Technology Network

–! oracle.com/technetwork/server-storage/solaris11

•! System administrators community

–! oracle.com/technetwork/systems

•! @ORCL_Solaris

•! facebook.com/oraclesolaris

•! Oracle Solaris Insider

25

Page 26: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

26 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Q&A

Page 27: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

27 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Page 28: Oracle Solaris - The Best Platform to run your Oracle Applications · IBTA standard wire protocol •! SOCK_STREAM transport •! ... Oracle Database encryption. 4x faster OpenSSL

28 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

The Unique Oracle Advantage

Everything Just Works Together