Filipe,<br>&nbsp; Thanks for point out. We will remove the option from io-threads.vol.<br><br>--<br>gowda<br><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 7:03 PM, Filipe Maia <span dir="ltr">&lt;<a href="mailto:filipe@xray.bmc.uu.se">filipe@xray.bmc.uu.se</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;">Then I think it should be removed from the doc/examples/io-threads.vol<br>
example, as it can be confusing.<br>
That link with the options is very usefull, thank you.<br>
<div><div></div><div class="Wj3C7c"><br>
On Fri, Jan 16, 2009 at 14:00, Harshavardhana Ranganath<br>
&lt;<a href="mailto:harsha@zresearch.com">harsha@zresearch.com</a>&gt; wrote:<br>
&gt; Hi Filipe Maia,<br>
&gt;<br>
&gt; &nbsp; &nbsp; io-threads translator doesn&#39;t have option &quot;cache-size&quot; . cache-size<br>
&gt; option should be used for io-cache translator. Read the following link to<br>
&gt; understand more about currently available options about each translator<br>
&gt; <a href="http://gluster.org/docs/index.php/Translators_options" target="_blank">http://gluster.org/docs/index.php/Translators_options</a><br>
&gt;<br>
&gt; and following log<br>
&gt; &quot;2009-01-14 12:22:43 W [write-behind.c:1363:init] brick: aggregate-size<br>
&gt; is not zero, disabling flush-behind&quot;<br>
&gt;<br>
&gt; Is harmless. under current code base its loglevel is changed to DEBUG.<br>
&gt;<br>
&gt; On Wed, Jan 14, 2009 at 6:01 PM, Filipe Maia &lt;<a href="mailto:filipe@xray.bmc.uu.se">filipe@xray.bmc.uu.se</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve tried to use the doc/examples/write-behind.vol and io-threads.vol<br>
&gt;&gt; examples in my unify configuration.<br>
&gt;&gt; Here&#39;s the glusterfs-server.vol:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; volume disk<br>
&gt;&gt; &nbsp;type storage/posix &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # POSIX FS translator<br>
&gt;&gt; &nbsp;option directory /export/data &nbsp; &nbsp; &nbsp; &nbsp;# Export this directory<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt;&gt; volume ns<br>
&gt;&gt; &nbsp;type storage/posix<br>
&gt;&gt; &nbsp;option directory /export/ns<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt;&gt; ### &nbsp;&#39;IO-threads&#39; translator gives a threading behaviour to File I/O<br>
&gt;&gt; calls.<br>
&gt;&gt; # All other normal fops are having default behaviour. Loading this on<br>
&gt;&gt; server side helps<br>
&gt;&gt; # to reduce the contension of network. (Which is assumed as a GlusterFS<br>
&gt;&gt; hang).<br>
&gt;&gt; # One can load it in client side to reduce the latency involved in case of<br>
&gt;&gt; a<br>
&gt;&gt; # slow network, when loaded below write-behind.<br>
&gt;&gt; volume iot<br>
&gt;&gt; &nbsp;type performance/io-threads<br>
&gt;&gt; &nbsp;subvolumes disk<br>
&gt;&gt; &nbsp;option thread-count 4 # default value is 1<br>
&gt;&gt; &nbsp;option cache-size 16MB # default is 64MB (This is per thread, so<br>
&gt;&gt; configure it<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# according to your RAM size and thread-count.<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ### &#39;Write-behind&#39; translator is a performance booster for write<br>
&gt;&gt; operation. Best<br>
&gt;&gt; # used on client side, as its main intension is to reduce the network<br>
&gt;&gt; latency<br>
&gt;&gt; # caused for each write operation.<br>
&gt;&gt;<br>
&gt;&gt; volume brick<br>
&gt;&gt; &nbsp;type performance/write-behind<br>
&gt;&gt; &nbsp;subvolumes iot<br>
&gt;&gt; &nbsp;option flush-behind on &nbsp; &nbsp;# default value is &#39;off&#39;<br>
&gt;&gt; &nbsp;option window-size 2MB<br>
&gt;&gt; &nbsp;option aggregate-size 1MB # default value is 0<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt;&gt; # Volume name is server<br>
&gt;&gt; volume server<br>
&gt;&gt; &nbsp;type protocol/server<br>
&gt;&gt; &nbsp;option transport-type tcp<br>
&gt;&gt; &nbsp;option auth.addr.brick.allow *<br>
&gt;&gt; &nbsp;option auth.addr.ns.allow *<br>
&gt;&gt; &nbsp;subvolumes brick ns<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m getting the following warnings with glusterfs-1.4.0rc7:<br>
&gt;&gt;<br>
&gt;&gt; tintoretto:~# tail /var/log/glusterfsd.log<br>
&gt;&gt; 2009-01-14 12:22:43 W [write-behind.c:1363:init] brick: aggregate-size<br>
&gt;&gt; is not zero, disabling flush-behind<br>
&gt;&gt; 2009-01-14 12:22:43 W [glusterfsd.c:416:_log_if_option_is_invalid]<br>
&gt;&gt; iot: option &#39;cache-size&#39; is not recognized<br>
&gt;&gt; tintoretto:~#<br>
&gt;&gt;<br>
&gt;&gt; What am I doing wrong?<br>
&gt;&gt;<br>
&gt;&gt; Filipe<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt; <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Harshavardhana<br>
&gt; [y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>
&gt; &quot;Samudaya TantraShilpi&quot;<br>
&gt; Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br>
&gt;<br>
&gt;<br>
<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>
</div></div></blockquote></div><br><br>