Wilkins,<br>&nbsp;&nbsp; I have added relevant performance translator inline. please go through translator options document and change translator parameters according to your needs.<br><br><div class="gmail_quote">On Thu, Oct 23, 2008 at 1:31 AM,  <span dir="ltr">&lt;<a href="mailto:m.c.wilkins@massey.ac.nz">m.c.wilkins@massey.ac.nz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
I only heard about GlusterFS last week, so am still a newbie. &nbsp;I have<br>
a question regarding using performance translators, in particular in a<br>
NUFA setup.<br>
<br>
A quick summary of my setup. &nbsp;I have two machines (a third is to be<br>
added): k9 has two bricks (16T and 2T), orac has one brick of 5T. &nbsp;I<br>
have used AFR for the namespace. &nbsp;My config is below.<br>
<br>
Everything seems to be working OK, but I would like to add in some<br>
performance translators and I&#39;m not exactly sure where. &nbsp;There are<br>
five: read ahead, write behind, threaded IO, IO-cache, and booster.<br>
Which go where? &nbsp;On server or client? &nbsp;On each individual brick, or<br>
after the unify or afr? &nbsp;I have read the doco, that is why I&#39;ve<br>
managed to get this far, I can see how I can stick in one or two<br>
translators, but not if I should have all of them and where they<br>
should all go. &nbsp;For instance I see IO-cache should go on the client<br>
side, but should it be on each brick, or on the unify or what?<br>
<br>
I know this is quite a big ask, but if someone could have a read<br>
through my config and perhaps show where I should stick in all the<br>
translators that would be great.<br>
<br>
Thank you muchly!<br>
<br>
Matt<br>
<br>
This is the config on k9 (the one on orac is very similar, I won&#39;t<br>
bother showing it here):<br>
<br>
volume brick0<br>
 &nbsp;type storage/posix<br>
 &nbsp;option directory /export/brick0<br>
end-volume<br>
</blockquote><div><br>volume iot-0<br>type performance/io-threads<br>subvolume brick0<br>end-volume<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
volume brick1<br>
 &nbsp;type storage/posix<br>
 &nbsp;option directory /export/brick1<br>
end-volume<br>
</blockquote><div><br>volume iot-1<br>type performance/io-threads<br>subvolume brick1<br>end-volume<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
volume brick-ns<br>
 &nbsp;type storage/posix<br>
 &nbsp;option directory /export/brick-ns<br>
end-volume<br>
</blockquote><div><br>volume iot-ns<br>type performance/io-threads<br>subvolume brick-ns<br>end-volume <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
volume server<br>
 &nbsp;type protocol/server<br>
 &nbsp;subvolumes brick0 brick1 brick-ns<br>
 &nbsp;option transport-type tcp/server<br>
 &nbsp;#option auth.ip.brick0.allow <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>,<a href="http://130.123.129.121" target="_blank">130.123.129.121</a>,<a href="http://130.123.128.35" target="_blank">130.123.128.35</a>,<a href="http://130.123.128.28" target="_blank">130.123.128.28</a> &nbsp; &nbsp;# this is what i want, but it doesn&#39;t seem to work<br>

 &nbsp;option auth.ip.brick0.allow *<br>
 &nbsp;option auth.ip.brick1.allow *<br>
 &nbsp;option auth.ip.brick-ns.allow *</blockquote><div>&nbsp;&nbsp;&nbsp;&nbsp; option auth.ip.iot-0.allow *<br>
 &nbsp; &nbsp;&nbsp; option auth.ip.iot-1.allow *<br>
 &nbsp;&nbsp;&nbsp;&nbsp; option auth.ip.iot-ns.allow *<br>&nbsp; <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
end-volume<br>
<br>
volume client-orac-0<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client<br>
&nbsp;option remote-host orac<br>
&nbsp;option remote-subvolume iot-0<br>
end-volume<br>
<br>
volume client-orac-ns<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client<br>
&nbsp;option remote-host orac<br>
&nbsp;option remote-subvolume iot-ns<br>
end-volume<br>
<br>
volume afr-ns<br>
&nbsp;type cluster/afr<br>
&nbsp;subvolumes iot-ns client-orac-ns<br>
end-volume<br>
<br>
volume unify<br>
&nbsp;type cluster/unify<br>
&nbsp;option namespace afr-ns<br>
&nbsp;option scheduler nufa<br>
&nbsp;option nufa.local-volume-name iot-0,iot-1<br>
&nbsp;option nufa.limits.min-free-disk 5%<br>
&nbsp;subvolumes iot-0 iot-1 client-orac-0<br>
end-volume<br>
</blockquote><div><br>volume ra<br>type performance/read-ahead<br>subvolume unify<br>end-volume<br>&nbsp;<br></div><div>volume ioc<br>type performance/io-cache<br>subvolume ra<br>end-volume <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>hard work often pays off after time, but laziness always pays off now<br>