the comparison of ceph and commercial server san · the comparison of ceph and commercial server...

26
The Comparison of Ceph and Commercial Server SAN Yuting Wu [email protected] AWcloud

Upload: buitram

Post on 21-Apr-2018

225 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

The Comparison of Ceph and

Commercial Server SAN

Yuting Wu

[email protected]

AWcloud

Page 2: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Introduction to AWcloud

Introduction to Ceph Storage

Introduction to ScaleIO and SolidFire

Comparison of Ceph and Server SAN

Performance test of Ceph and ScaleIO

Summary

Agenda

Page 3: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Who are we

Pure OpenStack player in China

China’s leading enterprise cloud service provider

Broad deployment of production clouds in China

Highly diverse set of workloads and use cases

Page 4: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Ceph Architectural

Ceph uniquely delivers object, block, and file storage in one unified system.

Page 5: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Ceph Components

OSDs: A OSD stores data, handles

data replication, recovery, backfilling,

rebalancing, and provides some

monitoring information to Ceph

Monitors by checking other Ceph

OSD Daemons for a heartbeat.

Monitors: A Ceph Monitor maintains

maps of the cluster state, including

the monitor map, the OSD map, the

Placement Group (PG) map, and the

CRUSH map.

Page 6: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

ScaleIO Introduction

ScaleIO:

A software-only solution

Installed on common commodity

servers

Turn existing DAS storage into

shared block storage

Page 7: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

ScaleIO Architecture

MDM

SDC

SDS

MDM

SDC

SDS

MDM

SDC

SDS

MDM:

Configures and monitors the

ScaleIO system

Cluster Mode or Single Mode

SDS:

Manages the capacity of a

single server

Data access

SDC:

Exposes ScaleIO volumes as

block device

Page 8: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Solidfire Introduction

Node:

A collection of Solid State Drives

Cluster:

Make up of a collection of nodes

At least four nodes in a cluster(five

or more nodes are recommended)

Nodes connect to each other with

10GbE

1GbE for management

10GbE for storage iSCSI

Scaled-out by adding nodes

Page 9: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Deployment

Page 10: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Deployment-Ceph

CeTune Intel

Ceph-disk

Ceph-deplpy

Page 11: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Deployment-ScaleIO

Installation Manager Window

Installation topology file

Page 12: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Deployment-SolidFire

SolidFire storage nodes are delivered as an appliance with SolidFire

Element OS installed and ready to be configured. After configured, each

node can be added to a SolidFire Cluster。

Page 13: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Operations and Management

Page 14: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Ceph ScaleIO Solidfire

CLI √ √ √

Web UI √ √

REST Gateway √ √

Other VSM TUI

Operations and Management

Page 15: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Features and Volume

Methods

Page 16: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Ceph ScaleIO SolidFire

Shared Filesystem √

Object Storage √

Block Storage √ √ √

Deduplication √

Compression √

Thin provision √ √ √

Minimum IOPS √

Maximum IOPS √ √

IOPS burst control √

Bandwidth control √

Replication √

OpenStack √ √ √

Hyper-V √ √

VMware √ √

XenServer √ √ √

Features

Page 17: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Ceph ScaleIO SolidFire

Creating Volume √ √ √

Resizing Volume √ √ √

Modifying Volume(Qos) √ √

Deleting Volume √ √ √

Viewing Deleted Volumes √

Restoring a Deleted Volume √

Cloning a Volume √ √ √

Viewing Running Tasks √

Volume Access Group √

Creating a Volume Snapshot √ √ √

Rolling Back to a Snapshot √ √ √

Backing up a Snapshot √ √ √

Cloing a Volume from a Snapshot √ √ √

Backing up a Volume to an Object Store √

Restoring a Volume from an Object Store √

Volume Methods

Page 18: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Integrating with OpenStack

Page 19: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Swift Keystone Cinder Glance Nova

OpenStack

Ceph Storage Cluster

(RADOS)

Ceph Object Gateway Ceph Block Device

ScaleIO SolidFire

Integrating with OpenStack

Page 20: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Performance Test

Page 21: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Test Environment

1 X 146G HDD for OS 2 X 4TB 7200rpm HDD 2 X 800GB DC S3500

Node1 1 X 146G HDD for OS 2 X 4TB 7200rpm HDD 2 X 800GB DC S3500

Node2 1 X 146G HDD for OS 2 X 4TB 7200rpm HDD 2 X 800GB DC S3500

Node3 1 X 146G HDD for OS 2 X 4TB 7200rpm HDD 2 X 800GB DC S3500

Node4

Node Hardware

CPU(s) 2*2*10

Memory 128GB

Storage 2 X 4TB HDD, 2X800GB SSD

Network 4 X 10Bb NIC

Software

Ceph 0.94.4

ScaleIO 1.32

Kernel 3.14

OS Centos 6.5

Tools fio, vdbench

Page 22: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

0

20000

40000

60000

80000

ScaleIO HDDCeph SSDScaleIO SSD

IOP

S

Ceph HDD

86854

15103

2171 1496

ScaleIO vs. Ceph ( 4k Randwrite)

0

10

20

30

40

ScaleIO HDDCeph SSDScaleIO SSD

Late

ncy(m

s)

Ceph HDD

2.947

8.463

29.454

42.72

ScaleIO vs. Ceph ( 4k Randwrite)

fio -ioengine=libaio -bs=4k -direct=1 -thread -rw=randwrite -size=10G -filename=/dev/scinia -name=“test" -iodepth=64 -runtime=30

[global] ioengine=rbd clientname=admin pool=ssdpool

rbdname=image1 invalidate=0 rw=randwrite bs=4K runtime=30

[rbd_iodepth32] iodepth=64

IOPS and Latency

Page 23: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

0

10

20

30

40

50

100%75%50%25%

Late

ncy (

ms)

10%

Ceph-SSD

ScaleIO-SSD

Ceph-HDD

ScaleIO-HDD

Cluster latency at different loads

Cluster loads

0 10 20 30 40 50 60

4800

5200

5600

6000

6400

6800

7200

IOP

S

Time (second)

ScaleIO

Ceph

Cluster stability under certain load

Vdbench SD: openflags=o_direct,threads=64 WD: xfersize=4096,rdpct=0,seekpct=100 RD: iorate=6000,elapsed=60, interval=1

Cluster stability and latency

Page 24: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

0 200 400 600 800

0

5000

10000

15000

20000

IOP

S

Time (second)

with_recovery_limit

without_recovery_limit

Cluster IOPS when adding/deleting OSDs

0 100 200 300 400 500

0

10000

20000

30000

40000

50000

60000

70000

IOP

S

Time (second)

Delete a SDS

Add a SDS

Cluster IOPS when changing SDS OSD recovery limit in ceph.conf [global] …… [osd] …… osd_max_backfills = 1 osd_recovery_max_active = 1

What happens when scaling out/in

Page 25: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Summary

Ceph need a more user-friendly deployment and

management tool

Ceph lacks of advanced storage features (Qos guarantee,

Deduplication, Compression)

Ceph is the best integration for OpenStack

Ceph is acceptable for HDD but not good enough for

high-performance disk

Ceph has a lot of configuration parameters, but lacks of

relevant instructions and visualization tools

Page 26: The Comparison of Ceph and Commercial Server SAN · The Comparison of Ceph and Commercial Server SAN Yuting Wu wuyuting@awcloud.com AWcloud Introduction to AWcloud ... CeTune …

Thank you for your listening.

[email protected]