[Gluster-devel] Full bore.

Krishna Srinivas krishna at zresearch.com
Thu Nov 15 19:38:20 UTC 2007


On Nov 16, 2007 12:18 AM, Kevan Benson <kbenson at a-1networks.com> wrote:
>
> What I finally settled on for my two server setup after all was said and
> done with my testing, was a simple AFR config with AFR handled on the
> clients.  It writes to both servers and reads from one.  After the AFR
> translator is extended to load balance reads of files across AFR
> members, I'll get a speed boost from that, and if they extend it to
> stripe read blocks between AFR members, I'll get even more speed.

load balancing is checked-in in the latest patch 562, but i have not tested
it for performance. you can give "option read-schedule on/off" in
afr volume, by default it is on. If it is off, reads are done from first
child (the way it was done before)

But we were thinking "option read-node" would be better than
"option read-schedule on/off"

"option read-node <sobvol>" will read from that particular subvol
(this will help when that subvol is local storage)
"option read-node *" will load balance from all children.
So option is either * or one of the subvols.
default is "option read-node *"
What do you think about it?

Thanks
Krishna

PS striped read not done yet.





More information about the Gluster-devel mailing list