[Gluster-devel] glusterfs speed

gordan at bobich.net gordan at bobich.net
Tue May 13 15:00:34 UTC 2008


If you are using files in a read-only fashion (as web content generally 
tends to be), you can cheat.

If your machines are guaranteed to be connected all the time, and you have 
DAS caching (i.e. a local replicated copy), use GlusterFS to do the 
mirroring for you using AFR, and have Apache read the files directly from 
the GlusterFS cache directory, rather than the mounted directory. This 
will go at local speeds while still giving you the benefit of real-time 
replication.

Gordan

On Tue, 13 May 2008, Rohan wrote:

> Hey Avati, Please give me more information about mod_glusterfs. Or give me
> links.
>
> Thanks
>
> -----Original Message-----
> From: gluster-devel-bounces+rohan.thale=moneycontrol.com at nongnu.org
> [mailto:gluster-devel-bounces+rohan.thale=moneycontrol.com at nongnu.org] On
> Behalf Of Anand Avati
> Sent: Tuesday, May 13, 2008 9:55 AM
> To: josh at worldhosting.org
> Cc: gluster-devel at nongnu.org
> Subject: Re: [Gluster-devel] glusterfs speed
>
>>
>> I realise that the speed of the glusterfs will be lower than NFS, but
>> for my tests, I can get the speed to be similar (linespeed) for large
>> files, but for small files NFS is much faster. I have tried using
>> server-to-server AFR and client-based AFR, with and without unify, with
>> and without the various performance volumes as recommended in the
>> documentation. But I haven't been able to find a setup that is faster
>> than 1/3 the speed of NFS for small files.
>>
>> I'm wondering if anyone could post their config files for the server and
>> client that has reasonable performance for small files (this is going to
>> be for web data so most files are <50kb)
>
>
> If you are looking at serving static files via web, you might be interested
> in mod_glusterfs (available in the glusterfs--mainline--3.0 branch).
> mod_glusterfs is currently available for apache-1.3, lighttpd-1.4 and
> lighttpd-1.5 (we are working on apache2 support).
>
> http benchmarks show mod_glusterfs boosts the performance significantly,
> especially for small files (by avoiding the fuse context switch overhead)
>
> avati
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list