<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi all,<br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">

Here&#39;s a quick write up I put together, it&#39;s very rough and may not be for everyone but I hope this helps some people:</div><div class="gmail_default"><font face="tahoma, sans-serif"><a href="http://www.andrewklau.com/controlling-glusterfsd-cpu-outbreaks-with-cgroups/">http://www.andrewklau.com/controlling-glusterfsd-cpu-outbreaks-with-cgroups/</a></font><br>

</div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Please leave your comments and feedback.</font></div><div class="gmail_default">

<font face="tahoma, sans-serif"><br>Cheers,</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Andrew.</font></div>
<br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 2:19 AM, John Mark Walker <span dir="ltr">&lt;<a href="mailto:johnmark@gluster.org" target="_blank">johnmark@gluster.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div>This sounds exciting! I&#39;m looking forward to the writeup :)<br></div><div><br></div><div>-JM<br></div><div><br>

</div><div><br></div><hr><div><div class="h5"><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left-width:2px;border-left-style:solid;border-left-color:rgb(16,16,255)">

<div dir="ltr"><div style="font-family:tahoma,sans-serif">Quick update, I&#39;ve successfully got glusterfs running with cgroups and I&#39;m very impressed with the results.</div><div style="font-family:tahoma,sans-serif">



<br></div><div style="font-family:tahoma,sans-serif">I&#39;ll write something up in the coming days - thanks again for the suggestion.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 11:48 AM, Andrew Lau <span dir="ltr">&lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">

Thanks for the suggestions - I&#39;m seeing some promising results with cgroups. </div>

<div style="font-family:tahoma,sans-serif">
<br></div><div style="font-family:tahoma,sans-serif">Just for confirmation - am I right in saying glusterd is just the management daemon? and glusterfsd is the actual process which does the checksums, replication, healing etc?</div>



<div><div>
<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 10:18 AM, Dan Mons <span dir="ltr">&lt;<a href="mailto:dmons@cuttingedge.com.au" target="_blank">dmons@cuttingedge.com.au</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Try experimenting with performance.io-thread-count to see if that has an impact.<br>


<br>
-Dan<br>
----------------<br>
Dan Mons<br>
Skunk Works<br>
Cutting Edge<br>
<a href="http://cuttingedge.com.au" target="_blank">http://cuttingedge.com.au</a><br>
<div><div><br>
<br>
On 2 February 2014 15:46, Andrew Lau &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; Sadly my google skills aren&#39;t finding me any results - is there an option to<br>
&gt; limit the CPU usage and/or the disk IO intensity of glusterfsd.<br>
&gt;<br>
&gt; Example scenario, oVirt + gluster on the same host when it comes to adding<br>
&gt; an extra host + replicated brick the original host with the brick goes crazy<br>
&gt; with 500% cpu as it copies just under 1TB of data across to the new<br>
&gt; replicated brick. Going crazy I mean everything else will hang, simple &quot;ls&quot;<br>
&gt; command will take 30+ seconds.<br>
&gt;<br>
&gt; Limiting the network bandwidth to 200Mbps seems to solve this issue, I&#39;m<br>
&gt; quite sure this is a CPU issue rather than IO so I was wondering if there&#39;s<br>
&gt; any possibility to limit this down so the nic&#39;s itself don&#39;t have to get<br>
&gt; rate limited.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Andrew<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>
<br>_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></blockquote>

<div><br></div></div></div></div></div></blockquote></div><br></div></div>