Hello Pablo,

Pablo Carneiro Elias wrote:
> I dont think thats the case here. All machines we use has NVIDIAs 9600 
> GT. I may have not explained properly the whole thing:
> 
> I've used the exact code of the Tutorial: the ClusterServer and the 
> ClusterClient examples.
> 
> I've made two tests:
> 1) The first one was made localy, all in a same machine:  I've startup 
> the two servers and it kept waiting on a tcp port for the client. I 
> startup the client and the connection got established. The client 
> navigation (black) window appered and I dragged the mouse to manipulate 
> (rotate) the scene. When I moved the mouse in the navigation window at 
> the client side and the scene gets updated at server window very fast, 
> because the changes (transformation matrix) at client side are sent very 
> fast (loopback) to the server.
> 
> 2) The second one was made remotelly, using two machines: When I run the 
> same thing the 2 machines, one for the server and one for the client, 
> the same action of moving the mouse within the navigation window at 
> client side results in a low refresh rate ate the servers side, as there 
> was some kind of delay for client to send the changes over the network t 
> o the servers.
> 
> Is There is anything I can do to improve the performance using remote 
> machines? Is there any advanced classes/techincs of OpenSG to implement 
> this kind of test? Is that something intrinsic of the distribution 
> problem/implementation/architecture?

I highly suggest you add the glutIdleFunc, there will only be frames 
rendered when needed (more precisely when a glut callback runs and calls 
glutPostRedisplay at the end) and it makes it more difficult to see if 
there is a bottleneck or not.
I don't know why you see so widely different performance, I just played 
around with testClusterClient/Server (and also the tutorials you were 
using) and they worked fine.
Have you tested the actual bandwidth of your network connection? Maybe 
you can run wireshark on both machines and see if there is unusual 
traffic happening? Does setting the environment variable OSG_LOG_LEVEL 
to DEBUG show any relevant messages? What are the command lines you use 
to start the each of the tutorial programs?
Sorry, my only guess is that there is something not quite right with 
your network setup, from the OpenSG side you don't need to use more 
advanced stuff for a simple test like that.

        Hope it helps,
                Carsten

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to