[Gluster-users] Performance
    Vikas Gorur 
    vikas at gluster.com
       
    Wed Aug 12 15:31:37 UTC 2009
    
    
  
----- "Hiren Joshi" <josh at moonfruit.com> wrote:
> Hello all,
>  
> I have 2 servers both exporting 36 partitions. The client mirrors the
> 36 partitions on each server and puts them all into a DHT.
>  
> dd if=/dev/zero of=/home/webspace_glust/zeros bs=1024 count=1024000
> Takes 8 minutes, compared to 30 seconds vi NFS, now granted I'm using
> mostly default settings but a transfer rate of 2.1Mb/s vs about
> 40Mb/s seems low.
  
> What am I doing wrong? Where should I start with the performance
> tuning?
a) Use a bigger block size. 1k is too small to get decent performance.
We suggest using atleast 128k.
b) Make sure you have the write-behind translator loaded on the client
side, with a cache-size set to atleast 1MB.
Vikas
-- 
Engineer - http://gluster.com/
    
    
More information about the Gluster-users
mailing list