Hi !<br><br>I watched the servers today and noticed that the server load is very high but not much is working on the server:<br>server1:<br>&nbsp;16:37:11 up 32 min,&nbsp; 1 user,&nbsp; load average: 6.45, 7.90, 7.45<br>server2:<br>&nbsp;16:37:19 up 32 min,&nbsp; 4 users,&nbsp; load average: 
9.79, 9.76, 8.26<br>i also tried to do some selects on the oracle database today.<br>to do a &quot;select count(*) from xyz&quot; where xyz has 120 000 rows it took me about 10 sec. <br>always the process who does the filesystem access is the first one. 
<br>and every command (ls,du,vgdisplay,lvdisplay,dd,cp,....) which needs access to a ocfs2 filesystem seams like blocking or it seams to me that there is a lock.<br>Can anyone please help me ?<br><br>yours<br><br>Arnold<br>
<br><div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">Arnold Maderthaner</b> &lt;<a href="mailto:arnold.maderthaner@j4care.com">arnold.maderthaner@j4care.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There is not really a high server load when writing to the disks but will try it asap. what do you mean with AST ? <br>Can I enable some debuging on ocfs2 ? We have 2 Dell servers with about 4gb of ram each and 2 Dual Core CPUs with 2GHZ each.
<br>Can you please describe which tests todo again ? <br><br>Thx for your help<br><br>Arnold<div><span class="e" id="q_1148eae43fbcfbe1_1"><br><br><div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">Sunil Mushran
</b> &lt;<a href="mailto:Sunil.Mushran@oracle.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Sunil.Mushran@oracle.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Repeat the first test. This time run top on the first server. Which
<br>process is eating the cpu? From the time it appears that the second<br>server is waiting for the AST that the first server is slow to send. And<br>it could be slow because it may be busy flushing the data to disk.<br>

How much memory/cpu do these servers have?<br><br>As far as the second test goes, what is the concurrent write performance<br>directly to the LV (minus fs).<br><br>On Wed, Aug 22, 2007 at 01:14:02PM +0530, Arnold Maderthaner wrote:
<br>&gt; Hi 2 all !<br>&gt;<br>&gt; I have problems with concurrent filesystem actions on a ocfs2<br>&gt; filesystem which is mounted by 2 nodes. OS=RH5ES and OCFS2=1.2.6<br>&gt; F.e.: If I have a LV called testlv which is mounted on /mnt on both
<br>&gt; servers and I do a &quot;dd if=/dev/zero of=/mnt/test.a bs=1024<br>&gt; count=1000000&quot; on server 1 and do at the same time a du -hs<br>&gt; /mnt/test.a it takes about 5 seconds for du -hs to execute:<br>&gt; 270M&nbsp;&nbsp;&nbsp;&nbsp;
test.a<br>&gt;<br>&gt; real&nbsp;&nbsp;&nbsp;&nbsp;0m3.627s<br>&gt; user&nbsp;&nbsp;&nbsp;&nbsp;0m0.000s<br>&gt; sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.002s<br>&gt;<br>&gt; or even longer. If i do a du -hs ond a file which is not written by<br>&gt; another server its fast:<br>&gt; 977M&nbsp;&nbsp;&nbsp;&nbsp;
test.b<br>&gt;<br>&gt; real&nbsp;&nbsp;&nbsp;&nbsp;0m0.001s<br>&gt; user&nbsp;&nbsp;&nbsp;&nbsp;0m0.001s<br>&gt; sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.000s<br>&gt;<br>&gt; If I write 2 different files from both servers to the same LV I get<br>&gt; only 2.8mb/sec.<br>&gt; If I write 2 different files from both servers to a different LV
<br>&gt; (testlv,test2lv) then I get about 30mb/sec on each write (so 60mb/sec<br>&gt; combined which is very good).<br>&gt; does anyone has an idea what could be wrong. Are there any mount<br>&gt; options for ocfs2 which could help me? is this a lvm2 or ocfs2 problem
<br>&gt; (locking,blocking,.... issue) ?<br>&gt;<br>&gt; Any help will be appriciated.<br>&gt;<br>&gt; yours<br>&gt;<br>&gt; Arnold<br>&gt; --<br>&gt; Arnold Maderthaner<br>&gt; J4Care Inc.<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Ocfs2-users mailing list<br>&gt; <a href="mailto:Ocfs2-users@oss.oracle.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Ocfs2-users@oss.oracle.com</a><br>&gt; <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://oss.oracle.com/mailman/listinfo/ocfs2-users
</a><br></blockquote></div><br><br clear="all"><br></span></div><span class="sg">-- <br>Arnold Maderthaner<br>J4Care Inc.
</span></blockquote></div><br><br clear="all"><br>-- <br>Arnold Maderthaner<br>J4Care Inc.