<HTML>
<HEAD>
<TITLE>Re: [Paraview] Any performance hints or tips for .pvtr reader?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The parallel VTK XML file formats are honestly not that optimized for use on parallel file systems. &nbsp;Inefficiencies in reading can come from many places and I don&#8217;t think you have provided enough information to be totally sure on the problem (even if I was an expert, which I am not), but horrendously bad performance like that you are seeing usually happens when a bunch of processes make lots of small reads. &nbsp;The file system gets inundated with tons of file requests. &nbsp;In response, the read head on each cylinder starts moving back in forth trying to satisfy all of these requests, and your performance is now dead.<BR>
<BR>
Efficient parallel reading has nice, organized requests that have large, contiguous reads that can be streamed off of the disk cylinders very efficiently. &nbsp;The easiest way to do that is to simply match files to processes. &nbsp;That is, organize the data so that each process only has to do one read from a single file. &nbsp;The easiest way to do that is to read in your data into ParaView or VTK on 64 processes as you are doing now (pay the time price) and then write it back out in a new .pvtr file. &nbsp;The new .pvtr file should contain 64 .vtr files. &nbsp;Loading that back onto 64 processes should be quick.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 6/26/09 9:42 AM, &quot;Jonathan Dursi&quot; &lt;<a href="ljdursi@scinet.utoronto.ca">ljdursi@scinet.utoronto.ca</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi:<BR>
<BR>
Are there any performance gotchas I need to know about when dealing with<BR>
parallel xml vtk file formats? &nbsp;Right now, running pvserver on 64 cores<BR>
(2GB/core, 1 pipe to disk for every 8 cores) it's taking literally hours<BR>
to read 16GB of data as a .pvtr file containing a list of 192 .vtr files.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Jonathan<BR>
<BR>
--<BR>
Jonathan Dursi &nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="ljdursi@scinet.utoronto.ca">ljdursi@scinet.utoronto.ca</a>&gt;<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>