[Gluster-users] Gluster web-farm production environment
Kyle
kyle at ozu.es
Thu Jul 15 11:27:51 UTC 2010
Hi Josy
GlusterFS version I use:
glusterfs 3.0.3 built on Mar 16 2010 18:10:30
Repository revision: v3.0.2-41-g029062c
on Linux Debian 2.6.26-2-xen-amd64
3 servers have 8 GB RAM (the ones which run apache & plesk).
4GB for the phy server and 4 GB for the rest ( I guess it is enough)
benchmarks:
Writting into gluster disk from xen server
web1:/home# dd if=/dev/zero of=borrame.txt bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB) copied, 0.530336 s, 19.8 MB/s
web1:/home# dd if=/dev/zero of=borrame.txt bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 2.2445 s, 46.7 MB/s
web1:/home# dd if=/dev/zero of=borrame.txt bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 49.629 s, 10.6 MB/s
web1:/home# time rm borrame.txt
real 0m0.302s
user 0m0.000s
sys 0m0.024s
Writting into phy disk from xen server
web1:/home2# dd if=/dev/zero of=borrame.txt bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB) copied, 0.0260199 s, 403 MB/s
web1:/home2# dd if=/dev/zero of=borrame.txt bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.346866 s, 302 MB/s
web1:/home2# dd if=/dev/zero of=borrame.txt bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 2.12455 s, 247 MB/s
web1:/home2# time rm borrame.txt
real 0m0.016s
user 0m0.000s
sys 0m0.016s
I hope it helps
Many thanks Josy
Kyle
> hi kyle,
>
> i would recommend useing glusterfs 3.0.5.
> read the "Important Enhancements and Bugs Fixed in GlusterFS 3.0.5" of
> the release notes...
> (http://ftp.gluster.com/pub/gluster/glusterfs/3.0/3.0.5/GlusterFS_3.0.5_
> Release_Notes.pdf)
>
> i've used glusterfs version 3.0.4 and had similar problems with it.
> (problems with locks, timeouts, small files ....)
> which version do you use?
>
> i think it's good when glusterfs uses much memory => caching :-)
>
> when serving with apache i recommend following apache core config: (it's
> also recommended serveing nfs published files)
> http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap
>
> EnableMMAP off
> EnableSendfile off
>
> my system config:
> * glusterfs 3.0.5 (rpm setup) on centos 5.5 kernel:
> 2.6.18-194.8.1.el5xen
> * all systems in "virtual environment" (apache & gluster server)
> * i don't use a "dedicaded" nic for gluster environment -> no bottle
> necks ...
> * 2 raid1 gluster servers
> * 5 clients ...
>
> my speed comparison: (DELL PE R701, 10k SAS disks) citrix xenserver
> virtualhost with physical disks: up to 160 mb/sek (one big file)
> virtualhost with gluster disks: up to 80 mb/sek (one big file dd
> if=/dev/zero of=/mnt/store ...)
> for small files i'm getting much lower values...
>
> I'm still expanding and useing glusterfs more and more ...
> please update me about your experience or special settings!
>
> regards,
> josy
> gugler* News der Woche: Erfolgreiches Öko-Audit! Das g*
> Umweltmanagementsystem erfüllt die höchsten europäischen EMAS-Standards.
> Lesen Sie mehr darüber im neuen gugler* Nachhaltigkeitsbericht:
> http://www.gugler.at/unternehmen/publikationen/g-nachhaltigkeitsbericht.html
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
--------------------------------------------------------------------------------------------
Busca, compara... pero busca en Qué!
Descúbrelo en http://buscar.que.es/
--------------------------------------------------------------------------------------------
Correo enviado desde http://www.ozu.es
More information about the Gluster-users
mailing list