[Paraview] MPI makes Paraview slower?
Berk Geveci
berk.geveci at gmail.com
Tue May 9 16:43:13 EDT 2006
OK. Now it makes sense.
1. You said if you open the same file and isosurface on 1 processor, it is
> > faster, right?
> >
>
> reading the image (a legacy vtk file saved from a tiff in ImageJ) when
> running in MPI is very slow, about 5 times slower. again, i still have no
> idea how to set up paraview to read a tiff directly from the disk... i am
> first converting to vtk using a plugin for ImageJ.
>
It is slower because the legacy reader is not capable of reading a piece of
the data. So what happens is that each process is reading the whole file and
throwing away that part that is not needed. So you are hitting the same
disk with 4 simultaneous reads of the same file. Try this. After opening the
file, save it as a pvti file. Load this file. Is it faster? Even this might
be slower than reading with 1 processor since you are reading from the same
disk and causing contention.
rendering the isosurface is not faster in single cpu mode, but is also not
> noticeably faster in mpi mode. seems like the slowest part is the
> PainterPolyDataMapper, which only usea a single CPU even if running in MPI.
>
This is also expected. You are rendering locally, meaning you are rendering
everything on the first node. This should be as slow (or as fast) as running
on 1 node. If you want to make use of parallel rendering, you have to enable
compositing. Of course, you have to running paraview on a real cluster with
graphics cards for this to work.
2. Please verify that you are rendering locally by checking off the
> > Composite flag in 3D View Properties.
> >
>
> yes, this is true... i am rendering locally. perhaps also of interest,
> the Advanced Render Parameters have some funny behavior: if "Use Immediate
> Mode Rendering" is on, and "Use Triangle Strips" is off, when I click to
> disable Immediate Mode, Use Triangle is automatically activated. Perhaps
> that is intentional, but thought if not, it might be of interest.
>
This is the intended behavior. Rendering using display lists without
triangle strips is potentially dangerous because the graphics card might run
out of memory.
3. When you load the image and you only see the wireframe outline, does it
> > render slow?
> >
>
> it actually does not show a wireframe outline. i do not see anything in
> the axes until i render an isosurface. i see the box that defines the
> limits of the dataset, but i see nothing else until i actually render the
> isosurface.
>
That's what I meant, the box.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060509/17cdbf39/attachment.htm
More information about the ParaView
mailing list