<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear Ken, <br><br>thanks for the reply. i have one more question to ask.<br>in the timer log, the first 3 lines:<br><br>--------------------------------------------------<br><font style="font-size: 10pt;" size="2"><span style="font-size: 10pt;"><font style="" face="Tahoma, Verdana, Helvetica, Arial">Local Process<br>
Still Render, 3.029 seconds<br>
Execute vtkMPIMoveData id: 457, 1.98248 seconds<br>--------------------------------------------------<br><br>does these mean that, at the client's end, it took 3.029 seconds to renders the geometry send back from process 0?<br>what does still render means? how about the third line? after still render, why does the MPI need to move data? which data? to where?<br><br>i tried running the same data using np1 until np10, and i get the following reading for still render</font></span></font><font style="font-size: 10pt;" size="2"><span style="font-size: 10pt;"><font style="" face="Tahoma, Verdana, Helvetica, Arial">, the
rest of the readings are quite consistent, which makes me wonder why
the time (still render) decrease initially but increase eventually? shouldn't it
become much faster when more nodes are used? all my server nodes are identical to each other (intel core 2 duo, 2.66 GHz)<br>
</font></span></font><br><font style="font-size: 10pt;" size="2"><span style="font-size: 10pt;"><font style="" face="Tahoma, Verdana, Helvetica, Arial"><br>----------------------------------------------<br></font></span></font>
        
        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
        <title></title>
        <meta name="GENERATOR" content="OpenOffice.org 3.0 (Linux)">
        <style>
                <!--
                BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }
                 -->
        </style>
        
<table border="0" cellspacing="0" cols="2" frame="void" height="187" rules="none" width="268">
        <colgroup><col width="176"><col width="145"></colgroup>
        <tbody>
                <tr>
                        <td align="left" height="17" width="176">number of process used </td>
                        <td sdnum="1033;0;0.00000" align="left" width="145">still render (seconds)</td>
                </tr>
                <tr>
                        <td align="left" height="17">np1</td>
                        <td sdval="7.16043" sdnum="1033;0;0.00000" align="right">7.16043</td>
                </tr>
                <tr>
                        <td align="left" height="17">np2</td>
                        <td sdval="3.9339" sdnum="1033;0;0.00000" align="right">3.93390</td>
                </tr>
                <tr>
                        <td align="left" height="17">np3</td>
                        <td sdval="3.05784" sdnum="1033;0;0.00000" align="right">3.05784</td>
                </tr>
                <tr>
                        <td align="left" height="17">np4</td>
                        <td sdval="3.029" sdnum="1033;0;0.00000" align="right">3.02900</td>
                </tr>
                <tr>
                        <td align="left" height="17">np5</td>
                        <td sdval="3.02851" sdnum="1033;0;0.00000" align="right">3.02851</td>
                </tr>
                <tr>
                        <td align="left" height="17">np6</td>
                        <td sdval="3.04962" sdnum="1033;0;0.00000" align="right">3.04962</td>
                </tr>
                <tr>
                        <td align="left" height="17">np7</td>
                        <td sdval="3.43479" sdnum="1033;0;0.00000" align="right">3.43479</td>
                </tr>
                <tr>
                        <td align="left" height="17">np8</td>
                        <td sdval="3.47883" sdnum="1033;0;0.00000" align="right">3.47883</td>
                </tr>
                <tr>
                        <td align="left" height="17">np9</td>
                        <td sdval="3.71554" sdnum="1033;0;0.00000" align="right">3.71554</td>
                </tr>
                <tr>
                        <td align="left" height="17">np10</td>
                        <td sdval="3.80835" sdnum="1033;0;0.00000" align="right">3.80835</td>
                </tr>
        </tbody>
</table>
<br><font style="font-size: 10pt;" size="2"><span style="font-size: 10pt;"><font style="" face="Tahoma, Verdana, Helvetica, Arial">----------------------------------------------<br><br> <br>appreciate your reply!<br><br>regards,<br>chewping<br><br><br></font></span></font><hr id="stopSpelling">From: kmorel@sandia.gov<br>To: lcp81um@msn.com; paraview@paraview.org<br>CC: kitware@kitware.com<br>Date: Mon, 28 Sep 2009 08:37:08 -0600<br>Subject: Re: [Paraview] How to interpret timer log<br><br>
<title>Re: [Paraview] How to interpret timer log</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Both scenarios are wrong. ParaView will not push out data from process 0 to processes 1-3 unless you explicitly run a filter that does that (or the reader does that internally, but I know of no such reader). What is actually happening is more along the lines of:<br>
<br>
</span></font><ol><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Processes 0-3 each read in a partition of data from the file.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Each process extracts polygonal geometry from their local data.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Per your settings, ParaView decides to send the geometry to the client. The data is collected to process 0 and sent to the client.<br>
</span></font></li></ol><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
The reason you are not seeing vtkFileSeriesReader on all of the servers is that there is a threshold in the timer log to not show anything that executes under a certain amount of time (by default 0.01 seconds). If you change the Time Threshold to Show All, you should be able to see everything that executes, even if it completes immediately.<br>
<br>
You should note that how readers read partitions is determined by the reader itself. Many of the readers do not really handle partitioned reading. Thus, the reader will do something naïve like read everything on process 0. Based on your timings, that is probably what is happening to you. That is, processes 1-3 probably have empty data. You never specified what format of data you are reader, so I cannot answer the data completely. However, if you want to know how your data is partitioned on the server (at least, before rendering), you can run the Process Ids filter.<br>
<br>
-Ken<br>
<br>
<br>
On 9/24/09 9:09 PM, "chew ping" <<a href="http://msn.com">lcp81um@msn.com</a>> wrote:<br>
<br>
</span></font><blockquote><font size="2"><font face="Verdana, Helvetica, Arial"><span style="font-size: 10pt;">Hi all,<br>
<br>
I'm doing parallel rendering using 1 client (dual core laptop) and 2 cluster servers (dual core desktop)<br>
below is the timer log result i collected when i run: mpirun -np 4 pvserver<br>
<br>
-----------------------------------------------------------------------------------------------<br>
</span></font><span style="font-size: 10pt;"><font face="Tahoma, Verdana, Helvetica, Arial">Local Process<br>
Still Render, 3.029 seconds<br>
Execute vtkMPIMoveData id: 457, 1.98248 seconds<br>
<br>
<br>
Server, Process 0<br>
Execute vtkFileSeriesReader id: 176, 0.637821 seconds<br>
Execute vtkMPIMoveData id: 457, 1.49186 seconds<br>
Dataserver gathering to 0, 0.829525 seconds<br>
Dataserver sending to client, 0.661658 seconds<br>
</font><font face="Verdana, Helvetica, Arial"> <br>
</font><font face="Tahoma, Verdana, Helvetica, Arial">Server, Process 1<br>
Execute vtkMPIMoveData id: 457, 0.141821 seconds<br>
Dataserver gathering to 0, 0.141544 seconds<br>
</font><font face="Verdana, Helvetica, Arial"> <br>
</font><font face="Tahoma, Verdana, Helvetica, Arial">Server, Process 2<br>
Execute vtkMPIMoveData id: 457, 0.243584 seconds<br>
Dataserver gathering to 0, 0.243318 seconds<br>
</font><font face="Verdana, Helvetica, Arial"> <br>
</font><font face="Tahoma, Verdana, Helvetica, Arial">Server, Process 3<br>
Execute vtkMPIMoveData id: 457, 0.191589 seconds<br>
Dataserver gathering to 0, 0.191303 seconds<br>
</font><font face="Verdana, Helvetica, Arial"> <br>
-----------------------------------------------------------------------------------------------------<br>
<br>
i have difficulty interpreting the timer log, my guess is:<br>
<br>
Scenario 1: <br>
Process 0 reads the whole data, disseminate the dats into 4 pieces, then distribute to itself and Process 1&2&3,<br>
each node will process the data and send it back Process 0,<br>
Process 0 gather all data and send it back to client,<br>
client renders the data<br>
<br>
Scenario 2:<br>
Process 0 reads the whole data, distribute the whole data to Process 0&1&2&3,<br>
each node will 'take' their own piece of data to process, then send it back Process 0,<br>
Process 0 gather all data and send it back to client,<br>
client renders the data<br>
<br>
Which scenario is the correct one? or both are wrong?<br>
<br>
is there any resources i could refer to find what does it mean by: Execute vtkFileSeriesReader, Execute vtkMPIMoveData?<br>
<br>
any help / feedback is highly appreciated!<br>
thanks!<br>
<br>
regards,<br>
chewping<br>
<br>
<br>
<br>
<br>
<br>
</font></span></font></blockquote><font size="2"><span style="font-size: 10pt;"><font face="Verdana, Helvetica, Arial"><br>
</font><font face="Consolas, Courier New, Courier"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a href="http://sandia.gov">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
</font></span></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
</span></font>                                            </body>
</html>