<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" dir="auto">
<div style="direction: ltr;font-family: Calibri;color: #000000;font-size: 10pt;">
Hi,<br>
<br>
<font size="3" face="Arial">> Are you using the same paraview binary when you compare pvweb and pv?
</font><br>
<br>
Yes I am using the same (I think)<br>
<br>
I am using <b>/opt/paraviewopenfoam410/bin/paraview</b> to run ParaView<br>
<br>
and <b>/opt/paraviewopenfoam410/bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py</b>
<b>--content /opt/</b><b><b>paraviewopenfoam410</b>/share/paraview-4.1/www --data-dir /home/myuser/VTKData/ --port 8080...</b> to run ParaViewWeb.<br>
<br>
Best regards,<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<p><font face="Arial">David Torres<br>
<br>
</font></p>
<p><font face="Arial">Computer Scientist<br>
Renuda UK<br>
<br>
</font></p>
<p><font face="Arial">tel: +44 (0)20 3371 1709<br>
web: <a href="http://www.renuda.com/" tabindex="0">www.renuda.com<br>
<br>
</a></font></p>
<p><font size="1" face="Arial">Renuda UK is registered in England and Wales.  Company number 6218863.<br>
VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.<br>
</font><span lang="en-GB"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="1"><span style="font-size:7.5pt">Renuda registered trade mark.</span></font></span></font></span><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF919870"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Sebastien Jourdain [sebastien.jourdain@kitware.com]<br>
<b>Sent:</b> 17 March 2014 14:03<br>
<b>To:</b> David Torres<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: What is the performance bottleneck in ParaViewWeb?<br>
</font><br>
</div>
<div></div>
<div>
<div>Are you using the same paraview binary when you compare pvweb and pv? </div>
<div><br>
On Mar 17, 2014, at 5:24, David Torres <<a href="mailto:david.torres@renuda.com" target="_blank">david.torres@renuda.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div style="direction:ltr; font-family:Calibri; color:#000000; font-size:10pt">Hi Seb,<br>
<br>
Thank you for the information :)<br>
<br>
There is not network involved. I am using the same machine as client and server (I access like this:
<a href="http://localhost:8080/apps/Visualizer/" target="_blank">http://localhost:8080/apps/Visualizer/</a>)<br>
<br>
I changed the quality of the images and there is no difference in the performance (you were right). So, then, what is the bottleneck? Server and client is the same machine and I can move fluently (25-30fps) the models I am opening with ParaViewWeb if I open
 them just with ParaView.<br>
<br>
By the way, I have the bad performance in ParaViewWeb (2-5 fps) even if I don't load anything and I only move the axes. Any idea where the bottleneck might be? Anything I can do to find it out?<br>
<br>
Many thanks in advance for your help.<br>
<br>
Best regards,<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<p><font face="Arial">David Torres<br>
<br>
</font></p>
<p><font face="Arial">Computer Scientist<br>
Renuda UK<br>
<br>
</font></p>
<p><font face="Arial">tel: +44 (0)20 3371 1709<br>
web: <a href="http://www.renuda.com/" tabindex="0" target="_blank">www.renuda.com<br>
<br>
</a></font></p>
<p><font size="1" face="Arial">Renuda UK is registered in England and Wales.  Company number 6218863.<br>
VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.<br>
</font><span lang="en-GB"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="1"><span style="font-size:7.5pt">Renuda registered trade mark.</span></font></span></font></span><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF467320" style="direction:ltr"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Sebastien Jourdain [<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>]<br>
<b>Sent:</b> 14 March 2014 20:22<br>
<b>To:</b> David Torres<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Where is the properties file for ParaViewWeb?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Are you trying directly on the machine that act as the server, or using a remote client? On what network type?
<div>Because usually when I get 2-5 fps, it's because the server is in US and I'm on a basic DSL line in France…</div>
<div><br>
</div>
<div>I'm not sure that lowering the image quality will change that much. In fact, it already do it by default.</div>
<div><br>
</div>
<div>I'm still thinking the issue is somewhere else.</div>
<div><br>
</div>
<div>Anyway to change the quality, you will need to edit the www/apps/Visualizer/index.html</div>
<div><br>
</div>
<div>[…]</div>
<div>
<div>// Build application</div>
<div>function init() {</div>
<div>   // - viewport</div>
<div>   $(".viewport-container").empty();</div>
<div>   viewport = vtkWeb.createViewport({</div>
<div>         session: session,</div>
<div>
<div>         interactiveQuality: 30,</div>
<div>         stillQuality: 100</div>
</div>
<div>   });</div>
</div>
<div>[…]</div>
<div><br>
</div>
<div>Here is the full documentation about that: <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/vtkWeb.Viewport" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/vtkWeb.Viewport</a></div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Mar 14, 2014 at 12:12 PM, David Torres <span dir="ltr">
<<a href="mailto:david.torres@renuda.com" target="_blank">david.torres@renuda.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Calibri">Hi Seb,<br>
<br>
I tested in Chrome <span style="color:rgb(48,57,66); font-family:'DejaVu Sans',Arial,sans-serif; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; display:inline!important; float:none">
26.0.1410.63</span> and in Firefox 20.0 (Mozilla Firefox for Ubuntu canonical - 1.0)<br>
I got similar results. I also noticed that the selector which changes from "Images" to "WebGL" or "VGL - WebGl" is not doing anything (or at least I cannot see any difference). In any case I am interested in "Images" i.e. rendering in the server. But I would
 need to low the quality of the images in order to boost the performance.<br>
<br>
Could you point any instructions that allow me to change the images resolution when the model is being moved?<br>
<br>
Many many thanks :)<br>
<br>
PS: Only as an example, in order to clarify: I have tried a mesh with 100 cells and a mesh with 10 million cells. I am getting exactly the same performance for both of them (2-5 fps).
<div class=""><br>
<br>
Best regards, <br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<p><font face="Arial">David Torres<br>
<br>
</font></p>
<p><font face="Arial">Computer Scientist<br>
Renuda UK<br>
<br>
</font></p>
<p><font face="Arial">tel: <a href="tel:%2B44%20%280%2920%203371%201709" value="+442033711709" target="_blank">
+44 (0)20 3371 1709</a><br>
web: <a href="http://www.renuda.com/" target="_blank">www.renuda.com<br>
<br>
</a></font></p>
<p><font size="1" face="Arial">Renuda UK is registered in England and Wales.  Company number 6218863.<br>
VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.<br>
</font><span lang="en-GB"><font face="Calibri,sans-serif"><span style="font-size:11pt"><font size="1"><span style="font-size:7.5pt">Renuda registered trade mark.</span></font></span></font></span><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-size:16px; font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Sebastien Jourdain [<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>]<br>
<b>Sent:</b> 14 March 2014 16:38
<div>
<div class="h5"><br>
<b>To:</b> David Torres<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Where is the properties file for ParaViewWeb?<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">Hi David,
<div><br>
</div>
<div>you are right, your browser will just display the images that are sent by ParaViewWeb.</div>
<div><br>
</div>
<div>BTW, which browser+version are you using?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Mar 14, 2014 at 3:10 AM, David Torres <span dir="ltr">
<<a href="mailto:david.torres@renuda.com" target="_blank">david.torres@renuda.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Calibri">Thank you Sabastien,<br>
<br>
The thing is that in my machine, I have a good performance with ParaView. The bad performance is with ParaViewWeb. I am assuming that this is because the quality of the images that is sending is too high (I think the browser is not rendering, only receiving
 images from the server, am I right?).<br>
<br>
For the record, I installed ParaView using <br>
`sudo apt-get install paraviewopenfoam410`<br>
as `sudo apt-get install paraview` was installing the version 3.X and here [1] says that 4.1 or newer is required in order to have ParaViewWeb.<br>
<br>
Thank you for your help.<br>
<br>
[1] <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/quick_start" target="_blank">
http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start</a><br>
<div><br>
Best regards,<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<p><font face="Arial">David Torres<br>
<br>
</font></p>
<p><font face="Arial">Computer Scientist<br>
Renuda UK<br>
<br>
</font></p>
<p><font face="Arial">tel: <a href="tel:%2B44%20%280%2920%203371%201709" value="+442033711709" target="_blank">
+44 (0)20 3371 1709</a><br>
web: <a href="http://www.renuda.com/" target="_blank">www.renuda.com<br>
<br>
</a></font></p>
<p><font size="1" face="Arial">Renuda UK is registered in England and Wales.  Company number 6218863.<br>
VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.<br>
</font><span lang="en-GB"><font face="Calibri,sans-serif"><span style="font-size:11pt"><font size="1"><span style="font-size:7.5pt">Renuda registered trade mark.</span></font></span></font></span><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-size:16px; font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Sebastien Jourdain [<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>]<br>
<b>Sent:</b> 14 March 2014 04:02<br>
<b>To:</b> David Torres<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Where is the properties file for ParaViewWeb?<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">Hi David,
<div><br>
</div>
<div>The file pw-config.properties is used with the Java version of the launcher. Now with the latest release, we also provide a Python one.</div>
<div>=> <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/py_launcher" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/py_launcher</a></div>
<div><br>
</div>
<div>Moreover, those configuration files are used to configure a front-end web server that will trigger pvpython command lines. For testing out ParaViewWeb, those front-end are optional. Although, it should be pretty easy to setup the python one by creating
 a config file that match your local setting.</div>
<div>For real deployment read the EC2 documentation that explain how to setup apache to deal with the ws forwarding.</div>
<div><br>
</div>
<div>Regarding the performances, on a local machine, you should be around 30 fps. So I suspect, you don't have a proper driver for your graphic card. If you have an Nvidia graphic card, try to install their driver.</div>
<div><br>
</div>
<div>Thanks for letting me know that the script does not work for you, I'll fix it once I have a chance.</div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Mar 13, 2014 at 11:01 AM, David Torres <span dir="ltr">
<<a href="mailto:david.torres@renuda.com" target="_blank">david.torres@renuda.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Calibri">Hello,<br>
in Linux using apt-get, and started the <br>
<br>
I am starting with ParaViewWeb. I installed Paraview 4.1.0. in Linux using apt-get, and started the ParaViewWeb server using th<font>e guide in [<font>1]<font>.<br>
<br>
<font><font><font><font>I found</font></font></font></font></font></font><span style="font-size:10pt"></span></font> is working very slow, even in local (2-5fps I think). And I read that I could play with images quality but I don't know where can I change them.
 Here [2] says there is a file called <b style="text-indent:0px; letter-spacing:normal; font-variant:normal; text-align:start; font-style:normal; line-height:19.04166603088379px; text-transform:none; font-size:12.666666984558105px; white-space:normal; font-family:sans-serif; word-spacing:0px">
pw-config.properties </b>which I couldn't find (I used `find / -name pw-config.properties`). I guess it belongs to a previous ParaView version.<br>
<br>
Then, my question is: where is the properties file in 4.1.0 and what is its name? Will I be able to change the quality of the images there?<br>
<br>
By the way, I tried the script provided in 'Simple Install' section in [1]. It has a mistake in the line 15.<br>
It is:<br>
`data = "ParaViewData-v4.1.zip"`<br>
and it should be<br>
`data = "ParaViewData-v4.1.0.zip"`<br>
<br>
However, after correcting that, is still failing in line 160 at some point (at least in Linux) and I couldn't find the error.<br>
<br>
Thank you in advance for your help.<br>
<br>
[1] <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start" target="_blank">
http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start</a><br>
[2] <a href="http://www.paraview.org/Wiki/ParaViewWeb_Server_setting" target="_blank">
http://www.paraview.org/Wiki/ParaViewWeb_Server_setting</a>
<div><br>
Best regards,<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<p><font face="Arial">David Torres<br>
<br>
</font></p>
<p><font face="Arial">Computer Scientist<br>
Renuda UK<br>
<br>
</font></p>
<p><font face="Arial">tel: <a href="tel:%2B44%20%280%2920%203371%201709" value="+442033711709" target="_blank">
+44 (0)20 3371 1709</a><br>
web: <a href="http://www.renuda.com/" target="_blank">www.renuda.com<br>
<br>
</a></font></p>
<p><font size="1" face="Arial">Renuda UK is registered in England and Wales.  Company number 6218863.<br>
VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.<br>
</font><span lang="en-GB"><font face="Calibri,sans-serif"><span style="font-size:11pt"><font size="1"><span style="font-size:7.5pt">Renuda registered trade mark.</span></font></span></font></span><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>