> > all other messages are passed directly to the network, therefore
> > the system can react faster to control messages and text is
> > faster too.
> >
> 
>  That's pretty much how vnet does it, but the problem
> (maybe) is that passing a tcp/ip message to the sockets layer
> doesn't mean it gets sent right away, as there might be
> 100's of other messages waiting to be sent down inside one
> of the low-level socket buffers.
> 

giving it a second thought, your theory seems true enough and
should also apply to deepmatrix. maybe the solution is more
in the frame rate update problem I described before. 

I do the same queuing and filtering once more before the
messages go to the VRML plugin. That means that the thread
reading from the network is not the thread that writes to EventIns
and therefore cannot block for a frame update.

I did printouts of the number of dropped messages and usually most
of them are dropped on this level and not on the network level.
this sounds reasonable taking into account the size of the 
network buffers you mention.

Also i have to admit that i didn't test with slow connections
for a long time :/. 

>  Are you saying that DeepMatrix doesn't ever have any problems
> with the sort of hang VNet does? If so, maybe the theory is
> wrong, and it's some other random bug causing the problem.
> 

didn't see it in a long time. chat is usually quick and the
updates of avatar position corresponds to the possible frame rate.
I.e. 10 avatars displayed on a client with a frame rate of 10
frames/sec.
yields about one update a second per avatar.

btw. the frame rate problem can be greatly reduced by using
beginUpdate / endUpdate which are supported by Contact and Cortona.
( not cosmoplayer though ).

bye,
  Gerhard

>  Of course, running VnClientTest isn't the same as running real
> clients, so I'd like to see the results of the experiment I
> proposed. Even if the theory is wrong, the experiment might
> reveal useful data...
> 
> -cks

--
  Gerhard Reitmayr        mailto:[EMAIL PROTECTED]  \\\
                          http://stop.at/gerhard                L\\\\
        DeepMatrix        http://www.geometrek.com/products/      \\\\
         I feel I am diagonally parked in a parallel universe

Reply via email to