The files should be resident near the server, so compression won't affect them (unless you are doing something in the Cloud, in which case I can't help you).
For compression and its relationship to remote rendering, try the various presets on [Preferences|Settings]->Render View->Server David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Mar 6, 2013 at 5:57 AM, Kit Chambers <kit.chambers...@gmail.com>wrote: > > Thanks David, That works great. > > If I can abuse this list just a little further for advice. Do you have any > suggestions on compression levels both within paraview and for the ssh > tunnel? To put this in context the server is being managed over the > internet (so relatively slow connection). The files being loaded for a > given state are maximum of 150MB. > > Even just recommendations of settings to try would be helpful. > > Kit > > > > > On Tue, Mar 5, 2013 at 1:27 PM, David E DeMarle > <dave.dema...@kitware.com>wrote: > >> Yes you are on the right track. >> Remove N from -nNTR since that tells ssh _not_ to run the command. Then >> what you have will likely work . >> Also consider putting that the command that launches pvserver in a >> script. In the script you can do arbitrary setup, such as launching >> pvserver through pbs etc. >> >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> >> On Tue, Mar 5, 2013 at 7:40 AM, Kit Chambers >> <kit.chambers...@gmail.com>wrote: >> >>> Thanks David that works a treat. >>> >>> Is it possible to combine the tunnel set up and server start up in the >>> server configuration? >>> >>> I tried: >>> ssh -nNTR 2223:localhost:11111 me@pvserver-host ".bin/pvserver >>> --server-port=2223 -rc" >>> >>> but to no effect. >>> >>> Kit >>> >>> >>> >>> On Tue, Mar 5, 2013 at 12:04 PM, David E DeMarle < >>> dave.dema...@kitware.com> wrote: >>> >>>> >>>> You are just missing that you need to use a reverse connection to make >>>> the server attempt to connect through the tunnel back to the listening >>>> client, as opposed to the normal connection mode where the client connects >>>> to the listening server. >>>> >>>> In your setup the ssh tunnel is listening on the server side on port >>>> 2223 first, then the pvserver also tries to listen on 2223 and it can't >>>> because it is in use. Using a reverse connection the server will instead >>>> send data to the port which is fine. >>>> >>>> >>>> >>>> David E DeMarle >>>> Kitware, Inc. >>>> R&D Engineer >>>> 21 Corporate Drive >>>> Clifton Park, NY 12065-8662 >>>> Phone: 518-881-4909 >>>> >>>> >>>> On Tue, Mar 5, 2013 at 6:39 AM, Kit Chambers <kit.chambers...@gmail.com >>>> > wrote: >>>> >>>>> Hi, >>>>> >>>>> I am trying to run a pvserver which is connected to using a client >>>>> behind a firewall. The firewall blocks everything except ssh going out. >>>>> Hence I am trying to use pvserver through an ssh tunnel. >>>>> >>>>> My plan was as follows: >>>>> >>>>> On client (inside firewall): >>>>> 1 - Start paraview >>>>> 2 - Create ssh tunell for port 11111 >>>>> % ssh -nNTR 2223:localhost:11111 me@pvserver-hostname >>>>> >>>>> Then on pvserver-hostname start the pvserver, however I get the >>>>> following >>>>> >>>>> % ./bin/pvserver --server-port=2223 >>>>> Waiting for client >>>>> Connection URL: cs://localhost:2223 >>>>> ERROR: In >>>>> /home/rock/kit/PIG/Technical/software/pv_v1.0.0-release/ParaView-3.11.1/VTK/Common/vtkSocket.cxx, >>>>> line 206 >>>>> vtkServerSocket (0x1d067ae0): Socket error in call to bind. Address >>>>> already in use. >>>>> >>>>> ERROR: In >>>>> /home/rock/kit/PIG/Technical/software/pv_v1.0.0-release/ParaView-3.11.1/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, >>>>> line 284 >>>>> vtkTCPNetworkAccessManager (0x1cb4aea0): Failed to set up server >>>>> socket. >>>>> >>>>> This procedure work fines for other services. For example: >>>>> % ssh -nNTR 2223:localhost:22 me@pvserver-hostname >>>>> >>>>> Allows me to ssh back to my machine from pvserver-hostname (using >>>>> port 2223). >>>>> >>>>> What's so special about pvserver? Am I missing something really basic? >>>>> >>>>> Any help or suggestions would be greatly appreciated. >>>>> >>>>> Kit >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://www.paraview.org/mailman/listinfo/paraview >>>>> >>>>> >>>> >>> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview