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> 16:37:11 up 32 min, 1 user, load average: 6.45, 7.90, 7.45<br>server2:<br> 16:37:19 up 32 min, 4 users, 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 "select count(*) from xyz" 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> <<a href="mailto:arnold.maderthaner@j4care.com">arnold.maderthaner@j4care.com</a>> 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> <<a href="mailto:Sunil.Mushran@oracle.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Sunil.Mushran@oracle.com</a>> 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>> Hi 2 all !<br>><br>> I have problems with concurrent filesystem actions on a ocfs2<br>> filesystem which is mounted by 2 nodes. OS=RH5ES and OCFS2=1.2.6<br>> F.e.: If I have a LV called testlv which is mounted on /mnt on both
<br>> servers and I do a "dd if=/dev/zero of=/mnt/test.a bs=1024<br>> count=1000000" on server 1 and do at the same time a du -hs<br>> /mnt/test.a it takes about 5 seconds for du -hs to execute:<br>> 270M
test.a<br>><br>> real 0m3.627s<br>> user 0m0.000s<br>> sys 0m0.002s<br>><br>> or even longer. If i do a du -hs ond a file which is not written by<br>> another server its fast:<br>> 977M
test.b<br>><br>> real 0m0.001s<br>> user 0m0.001s<br>> sys 0m0.000s<br>><br>> If I write 2 different files from both servers to the same LV I get<br>> only 2.8mb/sec.<br>> If I write 2 different files from both servers to a different LV
<br>> (testlv,test2lv) then I get about 30mb/sec on each write (so 60mb/sec<br>> combined which is very good).<br>> does anyone has an idea what could be wrong. Are there any mount<br>> options for ocfs2 which could help me? is this a lvm2 or ocfs2 problem
<br>> (locking,blocking,.... issue) ?<br>><br>> Any help will be appriciated.<br>><br>> yours<br>><br>> Arnold<br>> --<br>> Arnold Maderthaner<br>> J4Care Inc.<br>><br>> _______________________________________________
<br>> Ocfs2-users mailing list<br>> <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>> <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.