<div dir="ltr">Someone just pointed out that I read Hong's original e-mail wrong. I read 64 as 64K. Sorry about that. There are still some questions about which part of rendering not scaling, which we are investigating off-list. We still need:<div>
<br></div><div>- to know if transparency is involved because D3 most likely won't scale</div><div>- if we can run some tests with more instrumentation to figure out the bottleneck</div><div><br></div><div>Check out this paper:</div>
<div><br></div><div><a href="http://users.soe.ucsc.edu/~pang/visweek/2013/ldav/papers/larendea.pdf">http://users.soe.ucsc.edu/~pang/visweek/2013/ldav/papers/larendea.pdf</a><br></div><div><br></div><div>The EDF folks were getting pretty decent scalability up to 3.6K cores even with D3 redistribution of the entire unstructured grid. However, 18K is significantly larger so it is very likely that something will break...</div>
<div><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 7:46 AM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Hong,<div class="im"><div><br></div><div>> 1. It appears IceT-based image compositing for 18k cores takes such a long time that it becomes unpractical to output images in-situ. </div>
<div>> Specifically, in our case, it takes about 14 minutes for coprocessing for one time point that output a composited image while simulation </div>
<div>> alone for one time point only takes about 7 seconds. I have also done a simulation run with in-situ visualization on Titan with 64 cores on a </div><div>> much lower resolution mesh (10 million element mesh as opposed on 167 million element mesh for 18k core run), in which case </div>
<div>> coprocessing with image output for 64 cores takes about 25 seconds. Question: is there any way to improve performance of image </div><div>> compositing for 18k cores for in-situ visualization?<br></div><div>
<br>
</div></div><div>This doesn't make a lot of sense. Image compositing performance is not strongly tied to the number of polygons. It is much more related to the number of cores and the image size. So 64K cores with small data should not perform so much better than 18K cores with large data. Since Ice-T takes bounding boxes into account when compositing, there may be performance gains when rendering less geometry but not to the extent that you are describing.</div>
<div><br></div><div>On the other hand, I can see Mesa rendering performance being an issue. The 18K run probably has significantly more polygons per MPI rank, specially if the polygons are not distributed somewhat evenly. This is definitely worthwhile investigating. Do you have cycles to run a few more cases? We can instrument things a bit better to see what is taking this much time.</div>
<div class="im">
<div><br></div><div>> 2. I also tried to avoid image output, but output polydata extracts using XMLPPolyDataWriter instead on 18k cores. In this case, in-situ </div><div>> coprocessing only takes about 20 seconds (compared to 14 minutes with image output). However, too many files are generated to a point </div>
<div>> that breaks the hard limit on maximal number of files in a directory since the parallel writer writes a vtp file from each of 18k cores. So the </div><div>> output data files have to be broken up into different directories. However, I got “cannot find file” error when I put a directory name as a <br>
> parameter in coprocessor.CreateWriter() function call in my python script. I tried initially to put “data/vorticity_%t.pvtp” as a parameter, but it </div><div>> fails with “cannot find file” error. Not sure whether this is a bug or I need to put absolute full path in rather than a relative path to the current </div>
<div>> directory. Another question is whether there are ways to composite these files generated from different cores into one single file while doing </div><div>> coprocessing so only one composite file is generated rather than a huge number of files when running on large number of cores.</div>
<div><br></div></div><div>We are working on ADIOS based readers and writers that will allow for writing to a single bp file. This should be ready sometime in January. This should makes things much better.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>
-berk</div></font></span><div class="im"><div> <br></div>On Tue, Nov 26, 2013 at 10:31 AM, Hong Yi <<a href="mailto:hongyi@renci.org" target="_blank">hongyi@renci.org</a>> wrote:<br>><br></div><div><div class="h5">
> I have done several simulation runs linked with ParaView Catalyst for in-situ visualization on Titan with 18k cores and have the following observations/questions hoping to seek input from this list.<br>
><br>> <br>><br>> 1. It appears IceT-based image compositing for 18k cores takes such a long time that it becomes unpractical to output images in-situ. Specifically, in our case, it takes about 14 minutes for coprocessing for one time point that output a composited image while simulation alone for one time point only takes about 7 seconds. I have also done a simulation run with in-situ visualization on Titan with 64 cores on a much lower resolution mesh (10 million element mesh as opposed on 167 million element mesh for 18k core run), in which case coprocessing with image output for 64 cores takes about 25 seconds. Question: is there any way to improve performance of image compositing for 18k cores for in-situ visualization?<br>
><br>> 2. I also tried to avoid image output, but output polydata extracts using XMLPPolyDataWriter instead on 18k cores. In this case, in-situ coprocessing only takes about 20 seconds (compared to 14 minutes with image output). However, too many files are generated to a point that breaks the hard limit on maximal number of files in a directory since the parallel writer writes a vtp file from each of 18k cores. So the output data files have to be broken up into different directories. However, I got “cannot find file” error when I put a directory name as a parameter in coprocessor.CreateWriter() function call in my python script. I tried initially to put “data/vorticity_%t.pvtp” as a parameter, but it fails with “cannot find file” error. Not sure whether this is a bug or I need to put absolute full path in rather than a relative path to the current directory. Another question is whether there are ways to composite these files generated from different cores into one single file while doing coprocessing so only one composite file is generated rather than a huge number of files when running on large number of cores. <br>
><br>> Thanks for any input, suggestions, and comments!<br>><br>> <br>><br>> Regards,<br>><br>> Hong<br>><br>><br></div></div><div class="im">> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">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" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br></div></div>
</blockquote></div><br></div>