Presentation on how to chat with PDF using ChatGPT code interpreter
Clusters with GlusterFS
1. Kosova Sofware Freedom
Conference 2009
Clusters with GlusterFS
Marian Marinov - mm@yuhu.biz
System Architect - Siteground.com
Prishtina 29-30.Aug.2009
7. Facts
GlusterFS project starts in August 2006
➢ It is not actual Filesystem
➢ Server only for any POSIX compliant
but mainly tested on Linux
➢ Client running on Linux, FreeBSD & MacOS X
as they require FUSE
➢ Very scallable
➢ Very easy to install and maintain
7
Prishtina 29-30.Aug.2009 4/29
14. GlusterFS Desgin
The picture explained:
ClientX:
volume serverX - defines a name for a remote server
subvolumes brick0 - defines in which of all exported volumes from
the remote server we are interested
some performance translators
volume unify - defines that we will use unify cluster translator
subvolumes serverX serverY - defines which already connected storage
volumes will be used
14
Prishtina 29-30.Aug.2009
15. Gluster Filesystem Design
Transport Modules:
For TCP/IP transport
transport-type tcp/server
For Infiniband SDP transport
transport-type ib-sdp/server
For Infiniband Verbs transport
transport-type ib-verbs/server
15
Prishtina 29-30.Aug.2009
16. Gluster Filesystem Design
The idea – GNU/Hurd
Translators
➢ Performance
➢ Clustering
➢ Features
➢ Storage
➢ Others
16
Prishtina 29-30.Aug.2009 14/29
17. Gluster Filesystem Design
Performance translators
➢ Read Ahead
➢ Write Behind
➢ Threaded I/O
➢ IO-Cache
➢ Stat Pre-fetch – still not ported to the new versions
➢ Booster
17
Prishtina 29-30.Aug.2009 15/29
26. Gluster Filesystem Design
In the feature
➢ Live addition/removal of nodes
➢ Automatic File Reordering
➢ Web GUI
➢ mod_glusterfs
26
Prishtina 29-30.Aug.2009 22/29
31. Benchmarks
Apache Web Server Benchmark
Apache served 12039 files (595 MB) over HTTP protocol.
wget client fetched the files recursively.
Time
Lustre Failed after downloading 33 MB out of 585 MB in 11 mins.
GlusterFS 3 mins 11 secs
Archive Creation
'tar utility created an archive of 12039 files (595 MB) served through GlusterFS.
Time
Lustre 41 secs
GlusterFS 25 secs
Archive Extraction
Time
Lustre FAILED No space left on device.
GlusterFS 43 secs
Note: Lower means faster.
31
Prishtina 29-30.Aug.2009 27/29
33. Benchmarks
Sequencial Write : 1KB x 1,000,000 times = 1GB
# time dd if=/dev/zero of=/mnt/unify/file bs=1024 count=1000000
Test Case Local SATA Local NFS Single Unified
500G RAID0 GlusterFS GlusterFS
1 Worker - 11.836s 11.371s 23.162s 2m19.597s 3m39.279s
1st test (82.5MB/s) (85.9MB/s) (42.2MB/s) (7.0MB/s) (4.4MB/s)
1 Worker - 10.537s 10.777s 24.181s 2m24.623s 3m40.334s
2nd test (92.7MB/s) (90.6MB/s) (40.4MB/s) (6.7MB/s) (4.4MB/s)
33
Prishtina 29-30.Aug.2009
34. Benchmarks
Sequencial Write : 64KB x 15,625 times = 1GB
# time dd if=/dev/zero of=/mnt/unify/file bs=65536 count=15625
Test Case Local SATA Local NFS Single Unified
500G RAID0 GlusterFS GlusterFS
1 Worker - 6.390s 7.939s 22.766s 24.637s 22.436s
1st test (152.8MB/s) (123.0MB/s) (42.9MB/s) (39.6MB/s) (43.5MB/s)
1 Worker - 6.588s 7.542s 21.901s 22.001s 23.378s
2nd test (148.2MB/s) (129.5MB/s) (44.6MB/s) (44.4MB/s) (41.8MB/s)
34
Prishtina 29-30.Aug.2009
35. Sources of Information
Project's site:
http://www.gluster.com
Official GlusterFS documentation wiki:
http://www.gluster.org/docs/index.php/GlusterFS
On IRC:
irc.freenode.net #gluster
The mailing list:
gluster-devel@nongnu.org
35
Prishtina 29-30.Aug.2009 28/29