[Gluster-devel] How to increase a throughput

Ben Mok benmok at powerallnetworks.com
Tue Oct 28 03:15:42 UTC 2008


Hi Vikas,

I have already loaded performance translators, if I want to increase nodes
to improve the performance, client or server nodes you suggest to increase? 
Thx ! 
Ben 

For Client side: 
volume iothreads
           type performance/io-threads
          option thread-count 8
           option cache-size 128MB
           subvolumes storage-unify
   end-volume

   volume readahead
        type performance/read-ahead
        option page-size 128kb ### in bytes
        option page-count 64 ### memory cache size is page-count x page-size
per file
        subvolumes iothreads
    end-volume

   volume writebehind
         type performance/write-behind
         option aggregate-size 131072 # in bytes
         option flush-behind on
         subvolumes readahead
   end-volume

   volume io-cache
        type performance/io-cache
        option cache-size 512MB             # default is 32MB
        option page-size 256KB               #128KB is default option
        option force-revalidate-timeout 7200  # default is 1
        subvolumes writebehind
   end-volume


-----Original Message-----
From: vikasgp at gmail.com [mailto:vikasgp at gmail.com] On Behalf Of Vikas Gorur
Sent: Monday, October 27, 2008 7:34 PM
To: Ben Mok
Cc: gluster-devel at nongnu.org
Subject: Re: [Gluster-devel] How to increase a throughput

2008/10/27 Ben Mok <benmok at powerallnetworks.com>:
> Hi ,
>
> I am using GlusterFS-1.3.12, fuse-2.7.3glfs10 , I have four servers and
four
> clients, what do you suggest to improve the throughput of them, increase
> number of clients or servers?

You can try loading the following performance translators and see if it
helps:

* io-threads: load this just above your storage/posix translators on
  the servers

* read-ahead: if your applications mainly make sequential reads, loading
  this translator on the clients will increase throughput.

* write-behind: if your applications are write-intensive, loading this
  translator on the client side may help performance.

Vikas Gorur
-- 
Engineer - Z Research
http://gluster.org/







More information about the Gluster-devel mailing list