[prev in list] [next in list] [prev in thread] [next in thread] 

List:       veritas-ha
Subject:    Re: [Veritas-ha] fdatasync makes process 100% cpu]
From:       "Tharindu Rukshan Bamunuarachchi" <tharindunix () gmail ! com>
Date:       2007-03-01 6:57:57
Message-ID: c49434130702282245o5b76c8d3o71d7c66a2843a152 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


This is the version.

VRTSvcs-4.1.00.10-GA_RHEL4
VRTSvxfs-common-4.1.00.10-GA_RHEL4




On 3/1/07, Rebanta Mitra <rebantam@veritas.com> wrote:
>
> Hi,
> Are you seeing a sudden jump of the cpu usage ?


After file size is grown more than 2GB or 4GB, we can see constant high cpu
rate.

Actually, our application is calling fdatasync() periodically to ensure that
the data is written to disk.

Also, does the application
> create lots of dirty pages?


Not lot. Application is writing ~1.5KB size data chunk per millisecond. (i.e.
about 700-1000  transactions per second, one transaction is 1.5K)

If that's the case, then in most of the o/s the
> cpu usage can increase because it has to go through the dirty list  to
> check and lock each of the pages until the data is flushed.


Does VxFS is using Linux's Disk Caching Mechanism or Its own caching
mechanism.

BTW, what's the veritas-ha stack being used ?


VRTSvcs-4.1.00.10-GA_RHEL4
VRTSvxfs-common-4.1.00.10-GA_RHEL4


One thing more,
Where can i download trial version of above software??


regards,
> -Rebanta
>
>
> From: veritas-ha-bounces@mailman.eng.auburn.edu
> [mailto:veritas-ha-bounces@mailman.eng.auburn.edu] On Behalf Of Tharindu
> Rukshan Bamunuarachchi
> Sent: Tuesday, February 27, 2007 9:35 PM
> To: Veritas-ha@mailman.eng.auburn.edu
> Cc: veritas-vx@mailman.eng.auburn.edu
> Subject: [Veritas-ha] fdatasync makes process 100% cpu
>
>
> We are using Veritas SFCFS for Linux.
>
> When our program is trying to call fdatasync() to sync file core data
> with disk, process cpu was increased to 100%.
>
> Any idea on behavior of fdatasync() when used with Veritas cfs.
>
> I hope Veritas behavior would be differ from typical Linux behavior.
>
> Pls help
>
>
> Thankx
> Tharindu
>
>
> --
> Tharindu Rukshan Bamunuarachchi
> all fabrications are subject to decay
>
> Content-Description: ATT535579.txt
> _______________________________________________
> Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha
>
>
> ----- End forwarded message -----
> _______________________________________________
> Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha
>



-- 
Tharindu Rukshan Bamunuarachchi
all fabrications are subject to decay

[Attachment #5 (text/html)]

This is the version.<br><br>VRTSvcs-4.1.00.10-GA_RHEL4<br>VRTSvxfs-common-4.1.00.10-GA_RHEL4<br><br><br><br><br><div><span \
class="gmail_quote">On 3/1/07, <b class="gmail_sendername">Rebanta Mitra</b> &lt;<a \
href="mailto:rebantam@veritas.com"> rebantam@veritas.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;">Hi,<br> Are you seeing a \
sudden jump of the cpu usage ?  </blockquote><div><br>After file size is grown more \
than 2GB or 4GB, we can see constant high cpu rate.<br><br>Actually, our application \
is calling fdatasync() periodically to ensure that the data is written to \
disk.<br></div> <br><blockquote class="gmail_quote" style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also, does the \
application<br>create lots of dirty pages? </blockquote><div><br>Not lot. Application \
is writing ~1.5KB size data chunk per millisecond. ( i.e. about 700-1000&nbsp; \
transactions per second, one transaction is 1.5K)<br></div><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">If that&#39;s the case, then in most of the o/s the \
<br>cpu usage can increase because it has to go through the dirty \
list&nbsp;&nbsp;to<br>check and lock each of the pages until the data is \
flushed.</blockquote><div><br>Does VxFS is using Linux&#39;s Disk Caching Mechanism \
or Its own caching mechanism.  <br></div><br><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;">BTW, what&#39;s the veritas-ha stack being used \
?</blockquote><div><br>VRTSvcs-4.1.00.10-GA_RHEL4 <br>
VRTSvxfs-common-4.1.00.10-GA_RHEL4&nbsp;</div><br><br>One thing more,<br>
Where can i download trial version of above software??<br><br><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">regards,<br>-Rebanta<br><br> <br>From: <a \
href="mailto:veritas-ha-bounces@mailman.eng.auburn.edu">veritas-ha-bounces@mailman.eng.auburn.edu</a><br>[mailto:<a \
href="mailto:veritas-ha-bounces@mailman.eng.auburn.edu">veritas-ha-bounces@mailman.eng.auburn.edu
 </a>] On Behalf Of Tharindu<br>Rukshan Bamunuarachchi<br>Sent: Tuesday, February 27, \
2007 9:35 PM<br>To: <a \
href="mailto:Veritas-ha@mailman.eng.auburn.edu">Veritas-ha@mailman.eng.auburn.edu</a><br>Cc: \
<a href="mailto:veritas-vx@mailman.eng.auburn.edu"> \
veritas-vx@mailman.eng.auburn.edu</a><br>Subject: [Veritas-ha] fdatasync makes \
process 100% cpu<br><br><br>We are using Veritas SFCFS for Linux.<br><br>When our \
program is trying to call fdatasync() to sync file core data <br>with disk, process \
cpu was increased to 100%.<br><br>Any idea on behavior of fdatasync() when used with \
Veritas cfs.<br><br>I hope Veritas behavior would be differ from typical Linux \
behavior.<br><br>Pls help<br><br><br> Thankx<br>Tharindu<br><br><br>--<br>Tharindu \
Rukshan Bamunuarachchi<br>all fabrications are subject to \
decay<br><br>Content-Description: \
ATT535579.txt<br>_______________________________________________<br>Veritas-ha \
maillist&nbsp;&nbsp;-&nbsp;&nbsp; <a \
href="mailto:Veritas-ha@mailman.eng.auburn.edu">Veritas-ha@mailman.eng.auburn.edu</a><br><a \
href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha</a>
 <br><br><br>----- End forwarded message \
-----<br>_______________________________________________<br>Veritas-ha \
maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a \
href="mailto:Veritas-ha@mailman.eng.auburn.edu">Veritas-ha@mailman.eng.auburn.edu</a><br><a \
href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha"> \
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha</a><br></blockquote></div><br><br \
clear="all"><br>-- <br>Tharindu Rukshan Bamunuarachchi<br>all fabrications are \
subject to decay



_______________________________________________
Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic