RE: glusterfs speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
[mailto:gluster-devel-bounces+rohan.thale=moneycontrol.com@xxxxxxxxxx] On
Behalf Of Anand Avati
Sent: Tuesday, May 13, 2008 9:55 AM
To: josh@xxxxxxxxxxxxxxxx
Cc: gluster-devel@xxxxxxxxxx
Subject: Re: 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@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel



_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux