<HTML>
<HEAD>
<TITLE>Re: [Paraview] Paraview and Multicore</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ah, I see. It sounds like your data is not balanced. Many of the “non parallel” file formats will do something stupid when loading data in parallel. For example, they might load everything on process 0 or load everything everywhere. (And now that I think about it, the Delaunay filter may have trouble in parallel.)<BR>
<BR>
Try running the “Process Id Scalars” filter on your data. Do the points look evenly distributed?<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 5/13/10 10:17 AM, "Guido Staub" <<a href="gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Well if I start pvserver by mpirun -np 4 pvserver I have 3 cores running<BR>
at almost 100%. Now I connect to the server and start a Delaunay 2D<BR>
calculation on one of my datasets. As a result all of the 4 cores are<BR>
showing 100%. However I assume that there is only one core doing the<BR>
job, because on the one hand calculation is really slow. I have done<BR>
similar processing on an other PC (an outdated one) and there is no<BR>
significant performance advantage as one would expect.<BR>
And on the other hand, running pvserver with e.g. -np 2 results in 100%<BR>
for 2 CPUs when starting the Delaunay 2D calc (1 core at 100% when<BR>
cpu is idle).<BR>
<BR>
Guido<BR>
<BR>
<BR>
Am Thu, 13 May 2010<BR>
12:39:43 -0600 schrieb "Moreland, Kenneth" <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>>:<BR>
<BR>
> I am afraid I simply don't understand the question. You said in (1)<BR>
> that you have three cores running at 100%. Then in (2) you said that<BR>
> you only have one core running. Is it happening when you start the<BR>
> client, connect the client to the server, launch the server from the<BR>
> client, or something else? Is something running or is the client<BR>
> sitting idle waiting for the user?<BR>
><BR>
> -Ken<BR>
><BR>
><BR>
> On 5/13/10 8:15 AM, "Guido Staub" <<a href="gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<BR>
><BR>
> Thanks Ken, but I have already read this thread, therefore I started<BR>
> the client process anyway without taking care of cpu usage for now.<BR>
><BR>
> However my second question still keeps me busy. Isn't it possible to<BR>
> use all 4 cores?<BR>
><BR>
> Guido<BR>
><BR>
> Am Thu, 13 May 2010<BR>
> 10:29:13 -0600 schrieb "Moreland, Kenneth" <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>>:<BR>
><BR>
> > The question about why the pvserver processes are always at 100% CPU<BR>
> > comes up frequently on the mailing list (such as<BR>
> > <a href="http://www.paraview.org/pipermail/paraview/2008-December/010338.html">http://www.paraview.org/pipermail/paraview/2008-December/010338.html</a>).<BR>
> > I've added some information to the Wiki about it to provide an<BR>
> > explanation:<BR>
> > <a href="http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Server_processes_always_have_100.25_CPU_usage">http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Server_processes_always_have_100.25_CPU_usage</a><BR>
> ><BR>
> > -Ken<BR>
> ><BR>
> ><BR>
> > On 5/13/10 5:06 AM, "Guido Staub" <<a href="gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<BR>
> ><BR>
> > Hi all,<BR>
> ><BR>
> > I have succesfully compiled Paraview with MPI support on my<BR>
> > Workstation (Quad Core). I have read that paraview runs serial,<BR>
> > pvserver parallel, so I started the server by mpirun -np 4 pvserver<BR>
> > and connected through X. Everything seems to work fine.<BR>
> ><BR>
> > But there are two strange behaviours I have noticed:<BR>
> ><BR>
> > 1. CPU usage on workstation is almost 100% on three of the four<BR>
> > cores although no client is connected (when I type mpirun -np 3<BR>
> > pvserver there are 2 out of 4 running at 100%; with -np 2 only 1).<BR>
> > I have noticed this using MPICH2 and OpenMPI.<BR>
> ><BR>
> > 2. When I now start a client process the server uses only one core<BR>
> > (-np 4/3/2/1). Why?<BR>
> ><BR>
> > Does MPI not work on multicore systems as on multiprocessor systems<BR>
> > or is this a Paraview issue?<BR>
> ><BR>
> > Thanks,<BR>
> > Guido<BR>
> > _______________________________________________<BR>
> > Powered by www.kitware.com<BR>
> ><BR>
> > Visit other Kitware open-source projects at<BR>
> > <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:<BR>
> > <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>
> ><BR>
> ><BR>
> > **** Kenneth Moreland<BR>
> > *** Sandia National Laboratories<BR>
> > ***********<BR>
> > *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> > ** *** ** phone: (505) 844-8919<BR>
> > *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
> ><BR>
><BR>
><BR>
><BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> ***********<BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
><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>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <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>