[Paraview] slow rendering speed
Moreland, Kenneth
kmorel at sandia.gov
Wed Sep 10 15:37:14 EDT 2008
It sounds like you are using the env program wrong. The env program runs a
command, specified on its command line, with a modified environment, but
does not modify the environment of the calling program. To use env, you
need to use it within your mpirun command:
mpirun -np 4 /usr/bin/env DISPLAY=localhost:0 ./pvserver
-Ken
On 9/10/08 11:32 AM, "Biao She" <shebiao at gmail.com> wrote:
> Thanks your help again, Ken.
> You figure out my problem. I indeed connect to localhost:10.0. I am a newbie
> of Linux and ssh, I don't know how to connect to localhost:0.0 instead of
> 10.0. After I ssh to the cluster, the DISPLAY automatically set to
> localhost:10.0. I use "/usr/bin/env DISPLAY=localhost:0" command to set it
> back. Then, when I try to connect to the paraview server, I get an error like
> this "DISPLAY is not accessible on the server side".
> I know that if I start pvserver from the cluster directly, the DISPLAY is
> localhost:0, but the cluster doesn't have any keyboard and monitor.
> How can I connect to localhost:0 remotely?
> Thanks!
>
> Aaron
>
>
> On Wed, Sep 10, 2008 at 7:09 AM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>> First, let me just say that you should not expect the parallel rendering of
>> such a small data set to be faster than just rendering it locally. The
>> parallel rendering has a constant overhead involving the readback of pixels,
>> the transfer of data, and the computation of compositing operations.
>>
>> That said, based on the error it looks like your DISPLAY environment is set
>> wrong. You should be connecting to localhost:0.0, not localhost:10.0. You
>> are probably forwarding all of your rendering commands back to the desktop
>> you logged in from though ssh forwarding. That, of course, will really slow
>> things down because all the rendering commands are being shoved through the
>> network and all are being processed on a single machine.
>>
>> Make sure that you are actually rendering to the local GPU. See the
>> ParaView Wiki for more advice.
>>
>> http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server
>>
>> -Ken
>>
>>
>> On 9/9/08 4:24 PM, "Biao She" <shebiao at gmail.com> wrote:
>>
>>>> Hi there.
>>>> I use the client/server mode of paraview to render a small data(about 4M),
>>>> >> but
>>>> the speed is very slow.
>>>> Below is how I do it:
>>>> I first ssh to the cluster and start the pvserver by this command: mpirun
>>>> >> -np
>>>> 4 ./pvserver. The cluster is SGI Altix 4000. The operating system on the
>>>> cluster is SUSe linux, 64 bits system.
>>>> Then, I launch the paraview client on my local windows computer. After the
>>>> client connected to the server, there are two types of errors:
>>>> 1. Xlib: extension "XFree86-DRI" missing on display "localhost:10.0"
>>>> 2. unaligned access to 0x600000000197a1bc, ip=0x2000000003568e0
>>>> Paraview works regardless of these errors, but the problem is that the
>>>> rendering speed is way too slow.
>>>> I am wondering what could cause the slow down? Maybe the paraview doesn't
>>>> >> use
>>>> GPU on the clusters at all? How could I tell if the paraveiw use GPU or
>>> not?
>>>> Or the unaligned access slow down the speed? These errors keep on repeating
>>>> whenever I change the viewplane.
>>>> I have stalled by this problem for days, any idea would be highly
>>> appreciated.
>>>>
>>>> Thanks!
>>>>
>>>> Aaron
>>>>
>>>>
>>>>
>>
>
More information about the ParaView
mailing list