SlideShare a Scribd company logo
1 of 35
Download to read offline
GlusterFS



 @keithseahus
 September 14, 2011
Agenda


! 
! 

! 

! 

! 




                                                                                     2
         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
Agenda


! 
! 

! 

! 

! 




                                                                                     3
         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
!  @keithseahus
   – 
!  @jincl16
   – 
! 
     – NTTPC
     – 
     – Gluster   4

                                                                                                 4
                     Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
from NTTPC


!  @moromizu
   – 
!  @tk_hamaguchi
   – 




                                                                                               5
                   Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
Agenda


! 
! 

! 

! 

! 




                                                                                     6
         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
!  C
!         231,277 , 200                                      (*.c)
     –    8,693




                                                                                                  7
                      Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
! 
! 
shared object
! 

!                                                     volum
e


                                                                                            8
                Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
!               (glusterfsd)
     –    storage/posix
     –    protocol/server
     –    performance/io-threads
     –    features/locks

!                         (glusterfs)
     –    protocol/client
     –    cluster/dht
     –    cluster/afr
     –    cluster/storipe
     –    performance/read-ahead
     –    performance/io-cache
     –    performance/quick-read
     –    performance/stat-prefetch
     –    performance/write-behind

                                                                                                                    9
                                        Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
storage/posix


! 
 POSIX                    I/O
! 
     –    o-direct      GF_OPTION_TYPE_BOOL
     –    directory     GF_OPTION_TYPE_PATH
     –    export-statfs-size GF_OPTION_TYPE_BOOL
     –    mandate-attribute  GF_OPTION_TYPE_BOOL




                                                                                                               10
                                     Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
protocol/server


!                                          glusterfsd

      glusterfs
! 
     –  transport-type        GF_OPTION_TYPE_STR
         •  tcp|socket|ib-verbs|unix|ib-sdp|tcp/client|ib-verbs/client
     –  volume-filename.*     GF_OPTION_TYPE_PATH
     –  inode-lru-limit    GF_OPTION_TYPE_INT 0-(1 * GF_UNIT_MB
     –  client-volume-filename GF_OPTION_TYPE_PATH




                                                                                                                                 11
                                                      Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
protocol/client


!                                                            glusterfs
                                                             glusterfsd

! 
     –  username      GF_OPTION_TYPE_ANY
     –  password      GF_OPTION_TYPE_ANY
     –  transport-type   GF_OPTION_TYPE_STR
        •  tcp|socket|ib-verbs|unix|ib-sdp|tcp/client|ib-verbs/client
     –  remote-host       GF_OPTION_TYPE_ANY
     –  remote-subvolume GF_OPTION_TYPE_ANY
     –  transport-timeout    GF_OPTION_TYPE_TIME
        •  5-1013


                                                                                                                               12
                                                     Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
cluster/dht

!  Elastic      Hashing Algorithm

  •     brick     32bit
       •  12 bricks –
           •  brick1 = 1- 357913941
           •  brick2 = 357913942 - 715827883
           •  brick3 = 715827884 – 1073741823
           •  …brick12 = 3937053354 – 4294967295

  • 
       •  /share/somefiles/data/glusterrules.txt = 815827884

  •                               brick                                        I/O
  • 



                                                                                                                          13
                                                Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
cluster/afr


!  Automatic                 File Replication

!  self-heal

! 
     –    read-subvolume      GF_OPTION_TYPE_XLATOR
     –    favorite-child      GF_OPTION_TYPE_XLATOR
     –    data-self-heal      GF_OPTION_TYPE_BOOL
     –    metadata-self-heal      GF_OPTION_TYPE_BOOL
     –    entry-self-heal     GF_OPTION_TYPE_BOOL
     –    data-change-log GF_OPTION_TYPE_BOOL
     –    metadata-change-log     GF_OPTION_TYPE_BOOL
     –    entry-change-log        GF_OPTION_TYPE_BOOL
     –    data-lock-server-count GF_OPTION_TYPE_INT 0
     –    metadata-lock-server-count GF_OPTION_TYPE_INT 0
     –    entry-lock-server-count GF_OPTION_TYPE_INT 0
                                                                                                                         14
                                               Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
afr   - Gluster Native Clinet (FUSE)




                                                                                        15
              Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
afr   - gNFS



                                           glusterfs                            =
                                           gNFS                           (gluste
                                           r
                                           NFS                        )




                                                                                         16
               Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
cluster/stripe


! 


! 
     –  block-size   GF_OPTION_TYPE_ANY
     –  use-xattr GF_OPTION_TYPE_BOOL




                                                                                                             17
                                   Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
performance/read-ahead


! 


! 
     –  force-atime-update GF_OPTION_TYPE_BOOL
     –  page-size    GF_OPTION_TYPE_SIZET
        •  (64 * GF_UNIT_KB)-(2 * GF_UNIT_MB)
     –  page-count   GF_OPTION_TYPE_INT
        •  1-16




                                                                                                                          18
                                                Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
performance/io-cache


! 


! 
     –  priority GF_OPTION_TYPE_ANY
     –  cache-timeout (force-revalidate-timeout) GF_OPTION_TYPE_INT
        •  0-60
     –  page-size    GF_OPTION_TYPE_SIZET
        •  (16 * GF_UNIT_KB)-(4 * GF_UNIT_MB)
     –  cache-size   GF_OPTION_TYPE_SIZET
        •  (4 * GF_UNIT_MB)-(6 * GF_UNIT_GB)




                                                                                                                         19
                                               Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
performance/quick-read


! 
!                                                         open(), read
 (), close()                                                  1

! 
     –  cache-timeout     GF_OPTION_TYPE_INT
         •  1-60
     –  max-file-size     GF_OPTION_TYPE_SIZET
         •  0-(1000 * GF_UNIT_KB)




                                                                                                                20
                                      Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
performance/stat-prefetch


!  stat()       dentry




                                                                                                      21
                            Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
performance/write-behind


!  write()
! 
                                       write()
! 
     –  flush-behind      GF_OPTION_TYPE_BOOL
     –  aggregate-size    GF_OPTION_TYPE_SIZET
        •  (128 * GF_UNIT_KB)-(4 * GF_UNIT_MB)
     –  window-size       GF_OPTION_TYPE_SIZET
        •  (512 * GF_UNIT_KB)-(1 * GF_UNIT_GB)
     –  enable-O_SYNC           GF_OPTION_TYPE_BOOL
     –  disable-for-first-nbytes   GF_OPTION_TYPE_SIZET
        •  1 - (1 * GF_UNIT_MB)


                                                                                                                       22
                                             Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
performance/io-threads


!  glusterfsd             I/O
!                                glusterfs                                                    I/
 O
! 
     –  thread-count   GF_OPTION_TYPE_INT
         •  1-32




                                                                                                             23
                                   Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
features/locks


!  glusterfsd                   fcntl()                         flock()

! 
     –  mandatory-locks (mandatory)   GF_OPTION_TYPE_BOOL




                                                                                                                 24
                                       Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
glusterd-volgen


!  volume
            gluster




                                                                                                25
                      Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
CLI


! 
     – gluster peer {probe|detach|status|help}
! 
     – gluster volume {create|delete|start|stop|set|
       info|add-brick|remove-brick|rebalance|
       replace-brick|log|sync|reset|profile|quota|top|
       geo-replication}



                                                                                                        26
                              Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
Agenda


! 
! 

! 

! 

! 




                                                                                   27
         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
!  CIFS
  – Samba + Native Client
  – 
  –                 CTDB
!  WebDAV
  – Apache httpd + Native Client
!  iSCSI
  – iSCSI Enterprise Target + Native Client
    gNFS
                                                                                                   28
                         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
29
Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
Agenda


! 
! 

! 

! 

! 




                                                                                   30
         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
! 
     –                                  1

! 
     –  glusterfs-logrotate                                          volume
        nfs.log       logrotate.d           orz

!                self-heal
     –  find hoge | xargs stat      ls –lRf
     –  entire-self-heal

! 
     –  GlusterFS      QoS
     –  tc

                                                                                                                            31
                                                  Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
Agenda


! 
! 

! 

! 

! 




                                                                                   32
         Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
!  glusterfs-1.3.x
  – symlink self-heal                          …
!  glusterfs-2.0.x
  – write-behind        …
!  glusterfs-3.0.x
  – thin-provisioning




                                                                                                  33
                        Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
GlusterFS


!            on Google Groups
     – http://groups.google.com/group/gluster-ja
     –         @keithseahus + @thatsdone




                                                                                                       34
                             Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
! 
! 

! 

! 

! 




                                                                               35
     Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.

More Related Content

What's hot

Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)
micchie
 
Kernelvm 201312-dlmopen
Kernelvm 201312-dlmopenKernelvm 201312-dlmopen
Kernelvm 201312-dlmopen
Hajime Tazaki
 
2012 Fall OpenStack Bare-metal Speaker Session
2012 Fall OpenStack Bare-metal Speaker Session2012 Fall OpenStack Bare-metal Speaker Session
2012 Fall OpenStack Bare-metal Speaker Session
Mikyung Kang
 
Leonardo Nve Egea - Playing in a Satellite Environment 1.2
Leonardo Nve Egea - Playing in a Satellite Environment 1.2Leonardo Nve Egea - Playing in a Satellite Environment 1.2
Leonardo Nve Egea - Playing in a Satellite Environment 1.2
Jim Geovedi
 

What's hot (18)

DNNのモデル特化ハードウェアを生成するオープンソースコンパイラNNgenのデモ
DNNのモデル特化ハードウェアを生成するオープンソースコンパイラNNgenのデモDNNのモデル特化ハードウェアを生成するオープンソースコンパイラNNgenのデモ
DNNのモデル特化ハードウェアを生成するオープンソースコンパイラNNgenのデモ
 
Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)
 
macOSの仮想化技術について ~Virtualization-rs Rust bindings for virtualization.framework ~
macOSの仮想化技術について ~Virtualization-rs Rust bindings for virtualization.framework ~macOSの仮想化技術について ~Virtualization-rs Rust bindings for virtualization.framework ~
macOSの仮想化技術について ~Virtualization-rs Rust bindings for virtualization.framework ~
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.
 
Dpdk applications
Dpdk applicationsDpdk applications
Dpdk applications
 
Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)
 
DPDK KNI interface
DPDK KNI interfaceDPDK KNI interface
DPDK KNI interface
 
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructionsIntel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
 
Playing BBR with a userspace network stack
Playing BBR with a userspace network stackPlaying BBR with a userspace network stack
Playing BBR with a userspace network stack
 
Kernelvm 201312-dlmopen
Kernelvm 201312-dlmopenKernelvm 201312-dlmopen
Kernelvm 201312-dlmopen
 
2012 Fall OpenStack Bare-metal Speaker Session
2012 Fall OpenStack Bare-metal Speaker Session2012 Fall OpenStack Bare-metal Speaker Session
2012 Fall OpenStack Bare-metal Speaker Session
 
Graph500
Graph500Graph500
Graph500
 
Evolving Virtual Networking with IO Visor
Evolving Virtual Networking with IO VisorEvolving Virtual Networking with IO Visor
Evolving Virtual Networking with IO Visor
 
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
 
Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDK
 
Network Reference Model (Computer Networks) - Cybernetics Robo Academy
Network Reference Model  (Computer Networks) - Cybernetics Robo AcademyNetwork Reference Model  (Computer Networks) - Cybernetics Robo Academy
Network Reference Model (Computer Networks) - Cybernetics Robo Academy
 
Leonardo Nve Egea - Playing in a Satellite Environment 1.2
Leonardo Nve Egea - Playing in a Satellite Environment 1.2Leonardo Nve Egea - Playing in a Satellite Environment 1.2
Leonardo Nve Egea - Playing in a Satellite Environment 1.2
 
Direct Code Execution @ CoNEXT 2013
Direct Code Execution @ CoNEXT 2013Direct Code Execution @ CoNEXT 2013
Direct Code Execution @ CoNEXT 2013
 

Viewers also liked

Red Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFSRed Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFS
GlusterFS
 

Viewers also liked (10)

Gluster for Geeks: Performance Tuning Tips & Tricks
Gluster for Geeks: Performance Tuning Tips & TricksGluster for Geeks: Performance Tuning Tips & Tricks
Gluster for Geeks: Performance Tuning Tips & Tricks
 
GlusterFS Masakari Talks
GlusterFS Masakari TalksGlusterFS Masakari Talks
GlusterFS Masakari Talks
 
The real world of Kyoto Tycoon
The real world of Kyoto TycoonThe real world of Kyoto Tycoon
The real world of Kyoto Tycoon
 
Red Hat Gluster Storage : GlusterFS
Red Hat Gluster Storage : GlusterFSRed Hat Gluster Storage : GlusterFS
Red Hat Gluster Storage : GlusterFS
 
はじめてのGlusterFS
はじめてのGlusterFSはじめてのGlusterFS
はじめてのGlusterFS
 
IIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウ
IIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウIIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウ
IIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウ
 
DS masakari talks
DS masakari talksDS masakari talks
DS masakari talks
 
Red Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFSRed Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFS
 
Gluster technical overview
Gluster technical overviewGluster technical overview
Gluster technical overview
 
10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage
10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage
10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage
 

Similar to GlusterFS座談会テクニカルセッション

Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...
Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...
Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...
VirtualTech Japan Inc.
 
Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
Unified MPLS. Построение современных и масштабируемых MPLS-сетей. Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
Cisco Russia
 
FPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech PresentationFPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech Presentation
FPGA Central
 
Optimizing MapReduce Job performance
Optimizing MapReduce Job performanceOptimizing MapReduce Job performance
Optimizing MapReduce Job performance
DataWorks Summit
 

Similar to GlusterFS座談会テクニカルセッション (20)

Creating a shared storage service with GlusterFS
Creating a shared storage service with GlusterFSCreating a shared storage service with GlusterFS
Creating a shared storage service with GlusterFS
 
Gluster in Japan 2012-2013
Gluster in Japan 2012-2013Gluster in Japan 2012-2013
Gluster in Japan 2012-2013
 
cisco-mpls-tp-solutions-moustafa-kattan.pdf
cisco-mpls-tp-solutions-moustafa-kattan.pdfcisco-mpls-tp-solutions-moustafa-kattan.pdf
cisco-mpls-tp-solutions-moustafa-kattan.pdf
 
CCNxCon2012: Session 4: Caesar: a Content Router for High Speed Forwarding
CCNxCon2012: Session 4: Caesar:  a Content Router for High Speed ForwardingCCNxCon2012: Session 4: Caesar:  a Content Router for High Speed Forwarding
CCNxCon2012: Session 4: Caesar: a Content Router for High Speed Forwarding
 
AT&T: HetNet – Small Cell Placement and the resulting performance
AT&T: HetNet – Small Cell Placement and the resulting performanceAT&T: HetNet – Small Cell Placement and the resulting performance
AT&T: HetNet – Small Cell Placement and the resulting performance
 
Intel® MPI Library e OpenMP* - Intel Software Conference 2013
Intel® MPI Library e OpenMP* - Intel Software Conference 2013Intel® MPI Library e OpenMP* - Intel Software Conference 2013
Intel® MPI Library e OpenMP* - Intel Software Conference 2013
 
Large customers want postgresql too !!
Large customers want postgresql too !!Large customers want postgresql too !!
Large customers want postgresql too !!
 
Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...
Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...
Design and Operation of OpenStack Cloud on 100 Physical Servers - OpenStack S...
 
Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
Unified MPLS. Построение современных и масштабируемых MPLS-сетей. Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
 
BGP evolution -from SDN perspective
BGP evolution -from SDN perspectiveBGP evolution -from SDN perspective
BGP evolution -from SDN perspective
 
Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQL
 
PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network
 
cisco-xenpak-10gb-sr-datasheet.pdf
cisco-xenpak-10gb-sr-datasheet.pdfcisco-xenpak-10gb-sr-datasheet.pdf
cisco-xenpak-10gb-sr-datasheet.pdf
 
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktyczniePLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
 
FPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech PresentationFPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech Presentation
 
Hadoop Summit 2012 | Optimizing MapReduce Job Performance
Hadoop Summit 2012 | Optimizing MapReduce Job PerformanceHadoop Summit 2012 | Optimizing MapReduce Job Performance
Hadoop Summit 2012 | Optimizing MapReduce Job Performance
 
Feature satip3
Feature satip3Feature satip3
Feature satip3
 
Disaggregation in PON Network - SDN PON
Disaggregation in PON Network - SDN PON  Disaggregation in PON Network - SDN PON
Disaggregation in PON Network - SDN PON
 
Optimizing MapReduce Job performance
Optimizing MapReduce Job performanceOptimizing MapReduce Job performance
Optimizing MapReduce Job performance
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
 

More from Keisuke Takahashi

最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
Keisuke Takahashi
 

More from Keisuke Takahashi (9)

Azure Database for PostgreSQL 入門 (PostgreSQL Conference Japan 2021)
Azure Database for PostgreSQL 入門 (PostgreSQL Conference Japan 2021)Azure Database for PostgreSQL 入門 (PostgreSQL Conference Japan 2021)
Azure Database for PostgreSQL 入門 (PostgreSQL Conference Japan 2021)
 
パーフェクト"Elixir情報収集"
パーフェクト"Elixir情報収集"パーフェクト"Elixir情報収集"
パーフェクト"Elixir情報収集"
 
GlusterFS Updates (and more) in 第六回クラウドストレージ研究会
GlusterFS Updates (and more) in 第六回クラウドストレージ研究会GlusterFS Updates (and more) in 第六回クラウドストレージ研究会
GlusterFS Updates (and more) in 第六回クラウドストレージ研究会
 
Big Data入門に見せかけたFluentd入門
Big Data入門に見せかけたFluentd入門Big Data入門に見せかけたFluentd入門
Big Data入門に見せかけたFluentd入門
 
GlusterFSとInfiniBandの小話
GlusterFSとInfiniBandの小話GlusterFSとInfiniBandの小話
GlusterFSとInfiniBandの小話
 
GlusterFS 技術と動向 2of2
GlusterFS 技術と動向 2of2GlusterFS 技術と動向 2of2
GlusterFS 技術と動向 2of2
 
GlusterFS 技術と動向 1of2
GlusterFS 技術と動向 1of2GlusterFS 技術と動向 1of2
GlusterFS 技術と動向 1of2
 
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
 
GlusterFS As an Object Storage
GlusterFS As an Object StorageGlusterFS As an Object Storage
GlusterFS As an Object Storage
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

GlusterFS座談会テクニカルセッション

  • 2. Agenda !  !  !  !  !  2 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 3. Agenda !  !  !  !  !  3 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 4. !  @keithseahus –  !  @jincl16 –  !  – NTTPC –  – Gluster 4 4 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 5. from NTTPC !  @moromizu –  !  @tk_hamaguchi –  5 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 6. Agenda !  !  !  !  !  6 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 7. !  C !  231,277 , 200 (*.c) –  8,693 7 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 8. !  !  shared object !  !  volum e 8 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 9. !  (glusterfsd) –  storage/posix –  protocol/server –  performance/io-threads –  features/locks !  (glusterfs) –  protocol/client –  cluster/dht –  cluster/afr –  cluster/storipe –  performance/read-ahead –  performance/io-cache –  performance/quick-read –  performance/stat-prefetch –  performance/write-behind 9 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 10. storage/posix !  POSIX I/O !  –  o-direct GF_OPTION_TYPE_BOOL –  directory GF_OPTION_TYPE_PATH –  export-statfs-size GF_OPTION_TYPE_BOOL –  mandate-attribute GF_OPTION_TYPE_BOOL 10 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 11. protocol/server !  glusterfsd glusterfs !  –  transport-type GF_OPTION_TYPE_STR •  tcp|socket|ib-verbs|unix|ib-sdp|tcp/client|ib-verbs/client –  volume-filename.* GF_OPTION_TYPE_PATH –  inode-lru-limit GF_OPTION_TYPE_INT 0-(1 * GF_UNIT_MB –  client-volume-filename GF_OPTION_TYPE_PATH 11 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 12. protocol/client !  glusterfs glusterfsd !  –  username GF_OPTION_TYPE_ANY –  password GF_OPTION_TYPE_ANY –  transport-type GF_OPTION_TYPE_STR •  tcp|socket|ib-verbs|unix|ib-sdp|tcp/client|ib-verbs/client –  remote-host GF_OPTION_TYPE_ANY –  remote-subvolume GF_OPTION_TYPE_ANY –  transport-timeout GF_OPTION_TYPE_TIME •  5-1013 12 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 13. cluster/dht !  Elastic Hashing Algorithm •  brick 32bit •  12 bricks – •  brick1 = 1- 357913941 •  brick2 = 357913942 - 715827883 •  brick3 = 715827884 – 1073741823 •  …brick12 = 3937053354 – 4294967295 •  •  /share/somefiles/data/glusterrules.txt = 815827884 •  brick I/O •  13 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 14. cluster/afr !  Automatic File Replication !  self-heal !  –  read-subvolume GF_OPTION_TYPE_XLATOR –  favorite-child GF_OPTION_TYPE_XLATOR –  data-self-heal GF_OPTION_TYPE_BOOL –  metadata-self-heal GF_OPTION_TYPE_BOOL –  entry-self-heal GF_OPTION_TYPE_BOOL –  data-change-log GF_OPTION_TYPE_BOOL –  metadata-change-log GF_OPTION_TYPE_BOOL –  entry-change-log GF_OPTION_TYPE_BOOL –  data-lock-server-count GF_OPTION_TYPE_INT 0 –  metadata-lock-server-count GF_OPTION_TYPE_INT 0 –  entry-lock-server-count GF_OPTION_TYPE_INT 0 14 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 15. afr - Gluster Native Clinet (FUSE) 15 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 16. afr - gNFS glusterfs = gNFS (gluste r NFS ) 16 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 17. cluster/stripe !  !  –  block-size GF_OPTION_TYPE_ANY –  use-xattr GF_OPTION_TYPE_BOOL 17 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 18. performance/read-ahead !  !  –  force-atime-update GF_OPTION_TYPE_BOOL –  page-size GF_OPTION_TYPE_SIZET •  (64 * GF_UNIT_KB)-(2 * GF_UNIT_MB) –  page-count GF_OPTION_TYPE_INT •  1-16 18 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 19. performance/io-cache !  !  –  priority GF_OPTION_TYPE_ANY –  cache-timeout (force-revalidate-timeout) GF_OPTION_TYPE_INT •  0-60 –  page-size GF_OPTION_TYPE_SIZET •  (16 * GF_UNIT_KB)-(4 * GF_UNIT_MB) –  cache-size GF_OPTION_TYPE_SIZET •  (4 * GF_UNIT_MB)-(6 * GF_UNIT_GB) 19 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 20. performance/quick-read !  !  open(), read (), close() 1 !  –  cache-timeout GF_OPTION_TYPE_INT •  1-60 –  max-file-size GF_OPTION_TYPE_SIZET •  0-(1000 * GF_UNIT_KB) 20 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 21. performance/stat-prefetch !  stat() dentry 21 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 22. performance/write-behind !  write() !  write() !  –  flush-behind GF_OPTION_TYPE_BOOL –  aggregate-size GF_OPTION_TYPE_SIZET •  (128 * GF_UNIT_KB)-(4 * GF_UNIT_MB) –  window-size GF_OPTION_TYPE_SIZET •  (512 * GF_UNIT_KB)-(1 * GF_UNIT_GB) –  enable-O_SYNC GF_OPTION_TYPE_BOOL –  disable-for-first-nbytes GF_OPTION_TYPE_SIZET •  1 - (1 * GF_UNIT_MB) 22 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 23. performance/io-threads !  glusterfsd I/O !  glusterfs I/ O !  –  thread-count GF_OPTION_TYPE_INT •  1-32 23 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 24. features/locks !  glusterfsd fcntl() flock() !  –  mandatory-locks (mandatory) GF_OPTION_TYPE_BOOL 24 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 25. glusterd-volgen !  volume gluster 25 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 26. CLI !  – gluster peer {probe|detach|status|help} !  – gluster volume {create|delete|start|stop|set| info|add-brick|remove-brick|rebalance| replace-brick|log|sync|reset|profile|quota|top| geo-replication} 26 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 27. Agenda !  !  !  !  !  27 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 28. !  CIFS – Samba + Native Client –  –  CTDB !  WebDAV – Apache httpd + Native Client !  iSCSI – iSCSI Enterprise Target + Native Client gNFS 28 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 29. 29 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 30. Agenda !  !  !  !  !  30 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 31. !  –  1 !  –  glusterfs-logrotate volume nfs.log logrotate.d orz !  self-heal –  find hoge | xargs stat ls –lRf –  entire-self-heal !  –  GlusterFS QoS –  tc 31 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 32. Agenda !  !  !  !  !  32 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 33. !  glusterfs-1.3.x – symlink self-heal … !  glusterfs-2.0.x – write-behind … !  glusterfs-3.0.x – thin-provisioning 33 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 34. GlusterFS !  on Google Groups – http://groups.google.com/group/gluster-ja –  @keithseahus + @thatsdone 34 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.
  • 35. !  !  !  !  !  35 Copyright © 2011 NTTPC Communications, Inc. And Gluster, Inc. All Rights Reserved.