김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File...

30
GLORY-FS - 저비용 대규모 서버 기반 글로벌 파일시스템 기술 - 2008. 4. 25 김영균 ([email protected] ) 저장시스템연구팀/인터넷플랫폼연구부 GLORY: Global Resource Management System For Future Internet Ser GLORY: Global Resource Management System For Future Internet Ser vice vice NVRAMOS 2008 Spring in Jeju

Transcript of 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File...

Page 1: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

GLORY-FS- 저비용 대규모 서버 기반 글로벌 파일시스템 기술 -

2008. 4. 25

김영균([email protected])

저장시스템연구팀/인터넷플랫폼연구부

GLORY: Global Resource Management System For Future Internet SerGLORY: Global Resource Management System For Future Internet Servicevice

NVRAMOS 2008 Spring in Jeju

Page 2: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

목차1. GLORY Project Overview2. LakeFS3. Summary

NVRAMOS 2008 Spring in Jeju

Page 3: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

GLORY GLORY 프로젝트프로젝트 소개소개

NVRAMOS 2008 Spring in Jeju

Fund: Ministry of Knowledge and Economics, 2007 ~ 2012(5 years)

Page 4: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

인터넷인터넷 서비스서비스 솔루션솔루션 진화진화NVRAMOS 2008 Spring in Jeju

Page 5: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

국내외국내외 산업체산업체 기술기술 동향동향NVRAMOS 2008 Spring in Jeju

Page 6: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

국내국내 인터넷인터넷 서비스서비스 기업기업 경쟁력경쟁력NVRAMOS 2008 Spring in Jeju

Page 7: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

Killer App.: Killer App.: 동영상동영상 서비스서비스

UCCᆞ동영상 등 다양한 콘텐츠의 증가로 검색 지평도 확대

- IBM, Blinkx, TVEyes 등

UCC 기반 새로운 동영상 수익 모델

- 광고삽입: 곰TV(그라텍), 판도라티비, 아프리카(나우콤) 등- 수익배분: 구글, 레버(Revver) 등- 동영상 기반 오픈 마켓: Brightcove(미국)

인터넷 동영상을 유통시키는 신디케이션 모델

- Maven Networks(미국)

NVRAMOS 2008 Spring in Jeju

Page 8: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

저비용저비용 대규모대규모 글로벌글로벌 인터넷인터넷 서비스서비스

개념도개념도

NVRAMOS 2008 Spring in Jeju

Page 9: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

GLORY GLORY 최종최종 목표목표

UCC, IPTV 등 동영상 기반新인터넷 서비스 개발 및

저비용 대규모 글로벌 분산 컴퓨팅 플랫폼을 공개 S/W 기반으로 개발하여

글로벌 인터넷 서비스 토털 솔루션을 제공

• 동영상 내용기반 검색 서비스 구축 지원

• 엑사바이트 규모 콘텐츠 저장 공간 제공

• 대규모 인터넷 서비스를 위한 백만 노드 확장성 제공

• 인터넷 서비스 가용성 99.999% 지원

• 서버 고효율 운영으로 노드 수 절반 감축

NVRAMOS 2008 Spring in Jeju

Page 10: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

GLORY GLORY 솔루션솔루션 구성구성NVRAMOS 2008 Spring in Jeju

Page 11: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

GLORYGLORY--FSFS

NVRAMOS 2008 Spring in Jeju

LakeFS: Towards highly manageable cluster storage for extremely scalable services- to be published in DS2 Workshop, Italy, June, 2008

Page 12: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS Big PictureLakeFS Big PictureNVRAMOS 2008 Spring in Jeju

Page 13: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: GoalsLakeFS: GoalsNVRAMOS 2008 Spring in Jeju

Highly scalability for both storage space & storage bandwidth- up to 10K clients: more than 150GB/s- physically, 10K data nodes: more than 10PB capacity storage

Fault-tolerance of storage: 99.999% availability- file system metadata availability (metadata cluster)- file data availability (replication)

Intelligent storage administration: Self-*- configuration, monitor, healing, etc.

Page 14: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: ArchitectureLakeFS: ArchitectureNVRAMOS 2008 Spring in Jeju

Application

VFS

FUSE(Network I/O optimized)

Lake Client Daemon

/dev/fuse

Fuse LibFuse Lib

Lake Client CoreLake Client Core

MDSClnt I/FMDS

Clnt I/FDS

Clnt I/FDS

Clnt I/F

Lake MDS Daemon Lake DS Daemon

MDSSRV

MDSSRV

FSI/FFSI/F

DSSRVDSSRV

FSI/FFSI/F

Lake MDS CoreLake MDS Core Lake DS CoreLake DS Core

PROCI/F

PROCI/F

ext3, xfs /procext3, xfs

MDSClnt I/FMDS

Clnt I/FDS

Clnt I/FDS

Clnt I/F

FSAccess

Heartbeat

Allocation

User

Kernel

Nam

espa

ceM

etad

ata

Dat

a Se

rver

Stat

istic

s

File

Dat

a

Dat

a Se

rver

Stat

istic

s

MetadataAccess

Page 15: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: ClientLakeFS: ClientNVRAMOS 2008 Spring in Jeju

POSIX-compliant API support- fcntl, lockf ( )- flock (x)- mmap (writable shared mmap, o), open (O_DIRECT, x)

Cache consistency- session-semantics consistency model (lock-free coherency control) - focusing on large, sequential read intensive workloads

Page 16: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Metadata Server (1)LakeFS: Metadata Server (1)NVRAMOS 2008 Spring in Jeju

Metadata storage- namespace tree/DS pool/disk index/recovery queue/garbage queue

Page 17: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Metadata Server (2)LakeFS: Metadata Server (2)NVRAMOS 2008 Spring in Jeju

DS management- DS status: disk space utilization,

io throughput,cpu/network/memory utilization

- heartbeat messaging

Page 18: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Metadata Server (3)LakeFS: Metadata Server (3)NVRAMOS 2008 Spring in Jeju

File replication- “declustered chunk replication”

: files are striped across component chunks on different DS

- “real-time & lazy replication modes”- “intelligent chunk placement policy: NUFA/RR/UC/UL”

Page 19: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Metadata Server (4)LakeFS: Metadata Server (4)NVRAMOS 2008 Spring in Jeju

Recovery- file system integrity check: check and classify each file status upon DS failure

example: 5 DS, 700GB each, 1DS total recovery time = 1.5hours (132MBps recovery rate)

Virtual Hot Spare

DS1 DS2 DS3 DS4 DS5 DS6 DS7 DS8 DS9 DS10

Replica Resync

ResyncResync

Resync

Stale Replicaupon

TransientFailure

Failed DS restartedVirtual Hot Spare

DS1 DS2 DS3 DS4 DS5 DS6 DS7 DS8 DS9 DS10

Re-Replication

Replicate Replicate

Replicate

Failed Replicaupon

Permanent Failure

DS failed

Page 20: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Data ServerLakeFS: Data ServerNVRAMOS 2008 Spring in Jeju

Data storage & management- store multiple fixed sized chunks into regular files of the local file system

- version management for chunk integrity

Parallel chunk replication

Page 21: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: SelfLakeFS: Self--* Utilities* UtilitiesNVRAMOS 2008 Spring in Jeju

Monitoring - DS & MDS status information

Customizable event handler- the first step to intelligent administration

Page 22: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: I/O OptimizationLakeFS: I/O OptimizationNVRAMOS 2008 Spring in Jeju

Pipeline effect while I/O- optimization for large sequential read intensive workloads

app1app1 app2app2 app3app3 app1app1 app2app2 app3app3 app1app1 app2app2 app3app3

Sequential access Sequential access Sequential access

Network

per file I/O context(VFS)

per file I/O context(VFS)

per file I/O context(VFS)

per session I/O context(LakeFS Client)

per session I/O context(LakeFS Client)

Per disk I/O context(block device driver)

per file I/O context(VFS)

Per session I/O context(GLORY-FS DS)

Minimized Minimized random I/O effectrandom I/O effect

per session I/O context(LakeFS Client)

I/O context

Increased disk scheduling efficiency

Increased read-ahead, write-back efficiency

Client

Data Server

Page 23: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Performance (1)LakeFS: Performance (1)NVRAMOS 2008 Spring in Jeju

Metadata operation performance

Page 24: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Performance (2)LakeFS: Performance (2)NVRAMOS 2008 Spring in Jeju

Read/write performance- single client & single DS

Throughput (MB/s)

File Size (MB)

I/O Size (KB)

write operation read operation

Page 25: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Performance (3)LakeFS: Performance (3)NVRAMOS 2008 Spring in Jeju

Aggregate IO performance

Ideal Network Limit

Page 26: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: SSD DeploymentLakeFS: SSD DeploymentNVRAMOS 2008 Spring in Jeju

Metadata repository- try to increase metadata operation performance- simulation: Seagate Barracuda 7200(320G) vs. Mtron MSD-SATA6025(SATA, 32G, 2.5”): file size(250 Bytes), # of files : 8 million files

- excellence in case of both small files and random read operations, but

5714115Random Read

(20 Thread)

2105

6027

2631

SSD

56Random Read

(1 Thread)

6250Sequential Read

2715Create/Write

HDDOperation

49500310310

# of Thread

SSD

5797

5714

2105

ratio

46

50

38

12540

11520

561

HDD

3793714200만

# of Files

SSD(NTFS)

86

2200

HDD(NTFS)

32

56

230400만

2105100만

SSD(EXT3)

Page 27: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

SummarySummary

NVRAMOS 2008 Spring in Jeju

Page 28: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

SummarySummaryNVRAMOS 2008 Spring in Jeju

LakeFS- a storage system for the GLORY platform- very large scalable distributed file system focusing on fault tolerant internet services- LakeFS V1.2 released!

Ongoing jobs (this year)- clustering of file system metadata- intelligent storage management

Page 29: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

LakeFS: Market PositioningLakeFS: Market PositioningNVRAMOS 2008 Spring in Jeju

HPCLustre

PanasasPVFS2

HPCLustre

PanasasPVFS2

Search

Google FS

Hadoop DFS

Search

Google FS

Hadoop DFSLakeFSLakeFS

Targets HPC 3H-NAS Search

File System Parallel File System 3H File System(high scalable, performance, available)

3H File Middle-ware

Workload Parallel Read/Write Large, Seq, Read Intensive

Large, Seq, Read/Append

Optimized for Performance Performance/CostReliability/Cost

Performance/CostReliability/Cost

Reliability H/W based (SD) S/W based (Replica) S/W based (Replica)

Developed within Mostly Kernel Mostly User User (java)

Kernel Dependency Very High Very Low No

API MPI/IO, POSIX POSIX-FS Native

Consistency Model UNIX semantic, Parallel I/O semantic

NFS-semantic, Atomic Replica update

No cacheAtomic replica update

GlusterFS

InternetService

IsilonIsilon

Page 30: 김영균 - sigfast.or.krHadoop DFS Google FS Hadoop DFS LakeFS Targets HPC 3H-NAS Search File System Parallel File System 3H File System (high scalable, performance, available) 3H

NVRAMOS 2008 Spring in Jeju