Sometimes long reply time for proxy generation
Hello,
I am encountering a (for me) hard to track timing problem, when creating a proxy on the server-side. Actually, I'am not sure at all, that the problem has to do with ICE; but anyway, perhaps anybody has observed a similar thing...
When the client (WinXP, .net/C#) requests a proxy from the server (WinCE,C++), sometimes the task is handled blazingly fast and at other times, it takes about 2 seconds to finish. I have analyzed the network traffic to find out what happens in these situations.
The ice protocol-log shows in both situations the exact same behaviour:
Here the relevant part for creating 2 proxies and casting them to the destination type:
-------------------------------------------------------------------
[ Protocol: sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 74
request id = 1
identity = 3853E3DF-53F3-4BD3-9AC1-FA0E320B8852
facet =
operation = ice_ping
mode = 1 (nonmutating)
context = ]
[ Network: sent 74 of 74 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 14 of 14 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 11 of 11 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Protocol: received reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 25
request id = 1
reply status = 0 (ok) ]
[ Protocol: sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 73
request id = 2
identity = 3853E3DF-53F3-4BD3-9AC1-FA0E320B8852
facet =
operation = Create
mode = 0 (normal)
context = ]
[ Network: sent 73 of 73 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 14 of 14 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 84 of 84 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Protocol: received reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 98
request id = 2
reply status = 0 (ok) ]
[ Protocol: sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 113
request id = 3
identity = 77D62462-E617-43C8-9FCB-1A69C01CE30D
facet =
operation = ice_isA
mode = 1 (nonmutating)
context = ]
[ Network: sent 113 of 113 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 14 of 14 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 12 of 12 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Protocol: received reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 26
request id = 3
reply status = 0 (ok) ]
[ Protocol: sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 74
request id = 4
identity = 3853E3DF-53F3-4BD3-9AC1-FA0E320B8852
facet =
operation = ice_ping
mode = 1 (nonmutating)
context = ]
[ Network: sent 74 of 74 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 14 of 14 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 11 of 11 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Protocol: received reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 25
request id = 4
reply status = 0 (ok) ]
[ Protocol: sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 73
request id = 5
identity = 3853E3DF-53F3-4BD3-9AC1-FA0E320B8852
facet =
operation = Create
mode = 0 (normal)
context = ]
[ Network: sent 73 of 73 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 14 of 14 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 84 of 84 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Protocol: received reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 98
request id = 5
reply status = 0 (ok) ]
[ Protocol: sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 113
request id = 6
identity = 6CD47EBA-3A62-4B5B-88BA-218C2C691235
facet =
operation = ice_isA
mode = 1 (nonmutating)
context = ]
[ Network: sent 113 of 113 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 14 of 14 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Network: received 12 of 12 bytes via tcp
local address = 192.168.0.209:3326
remote address = 192.168.0.120:10000 ]
[ Protocol: received reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 26
request id = 6
reply status = 0 (ok) ]
-------------------------------------------------------------------
For me, this looks ok.
But on the TCP level, things look as shown in the attached word document.
Perhaps somebody has any ideas?
I really do not see the problem causing this...
Any help is greatly appreciated, thanks.
hp.
|