<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's a quick write up I put together, it'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"><<a href="mailto:johnmark@gluster.org" target="_blank">johnmark@gluster.org</a>></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:'times new roman','new york',times,serif"><div>This sounds exciting! I'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've successfully got glusterfs running with cgroups and I'm very impressed with the results.</div><div style="font-family:tahoma,sans-serif">
<br></div><div style="font-family:tahoma,sans-serif">I'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"><<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>></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'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"><<a href="mailto:dmons@cuttingedge.com.au" target="_blank">dmons@cuttingedge.com.au</a>></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 <<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>> wrote:<br>
> Hi all,<br>
><br>
> Sadly my google skills aren't finding me any results - is there an option to<br>
> limit the CPU usage and/or the disk IO intensity of glusterfsd.<br>
><br>
> Example scenario, oVirt + gluster on the same host when it comes to adding<br>
> an extra host + replicated brick the original host with the brick goes crazy<br>
> with 500% cpu as it copies just under 1TB of data across to the new<br>
> replicated brick. Going crazy I mean everything else will hang, simple "ls"<br>
> command will take 30+ seconds.<br>
><br>
> Limiting the network bandwidth to 200Mbps seems to solve this issue, I'm<br>
> quite sure this is a CPU issue rather than IO so I was wondering if there's<br>
> any possibility to limit this down so the nic's itself don't have to get<br>
> rate limited.<br>
><br>
> Thanks,<br>
> Andrew<br>
><br>
</div></div>> _______________________________________________<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><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>