Thanks for your message.<div><br></div><div>Somehow the issue has not returned since yesterday when I applied some tuning to our GFS, specifically:</div><div><br></div><div><div>glock_purge 50</div><div>demote_secs 100</div>
<div>scand_secs 5</div><div>statfs_fast 1</div><div><br></div><div>I'm not sure how this could be related to our DLM issues, but it seems to have some sort effect. We're able to push the IOPS limit of our SAN without problems now and system load is down to 1.5 from 6.</div>
<div><br></div><div>The cluster traffic is hard to judge since the cluster communicates over our 'Internet' interface (total traffic peaked at about 24Mbit/s). It might be better to route it over our internal network (once I put a decent switch in there), but how would I do that? I assume:</div>
<div><br></div><div>1. I should use hostnames that resolve to internal IP's in cluster.conf</div><div>2. I should change the bindnetaddr in openais.conf (it's now on the default 192.168.2.0, which is not a subnet we use)</div>
<div><br></div><div>Would that do the trick or am I missing something?</div><div><br></div>Cheers,</div><div>Martijn</div><div><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 11:02 AM, Steven Whitehouse <span dir="ltr"><<a href="mailto:swhiteho@redhat.com">swhiteho@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Thu, 2011-02-24 at 10:34 +0100, Martijn Storck wrote:<br>
> Hello everyone,<br>
><br>
><br>
> We currently have the following RHCS cluster in operation:<br>
><br>
><br>
> - 3 nodes, Xeon CPU, 12 GB hardware etc.<br>
> - 100mbit network between the cluster nodes<br>
> - Dell MD3200i iSCSI SAN, with 4 Gbit links (dm-multipath) to each<br>
> server (through two switches), 5 15k RPM spindles<br>
> - 1 GFS1 file system on the above mentioned SAN<br>
><br>
><br>
> 2 of the nodes share a single GFS file system, which is used for<br>
> hosting virtual machine containers (for web serving, mail and light<br>
> database work). We've noticed that performance is suboptimal so we've<br>
> started to investigate. The load is not high (we previously ran the<br>
> same containers on a single, much cheaper server using local 7200rpm<br>
> disks and ext3 fs without issues), but there is a lot of small block<br>
> I/O.<br>
><br>
><br>
> When I run iptraf (only monitoring the iSCSI traffic) and top side by<br>
> side on a single server I often see dlm_send using 100% CPU. During<br>
> this time I/O to our gfs filesystem seems to be blocked and container<br>
> performance goes down the drain.<br>
><br>
</div>Can you take a netstat -t while the cpu usage is at 100%, that will tell<br>
us whether there is queued data at that point in time.<br>
<div class="im"><br>
><br>
> My question is: what causes dlm_send to use 100% CPU and is this wat<br>
> causes the low GFS performance? Based on what the servers are doing<br>
> I'm not expecting any deadlocks (they're mostly accessing separate<br>
> parts of the filesystem), so I'm suspecting some other kind of<br>
> limitation here. Could it be the 100Mbit network?<br>
><br>
</div>Well, that depends on how much traffic there is... have you measured the<br>
traffic when the problem is occurring?<br>
<div class="im"><br>
><br>
> I've looked into the waiters queue using the debug fs and it varies<br>
> between 0 and 60 entries which doesn't seem to bad to me. The locks<br>
> table has some 30.000 locks. All DLM and GFS settings are defaults.<br>
> Any hints on where to look are appreciated!<br>
><br>
</div>It does sounds like a performance issue, and it shouldn't be too hard to<br>
get to the bottom of what is going on,<br>
<br>
Steve.<br>
<br>
><br>
> Regards,<br>
><br>
><br>
> Martijn Storck<br>
> --<br>
> Linux-cluster mailing list<br>
> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
<font color="#888888"><br>
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></blockquote></div><br></div>