lag and time variation between packets on Android

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

yoni_n
Posts: 1
Joined: 12 Mar 2017, 14:39

lag and time variation between packets on Android

Postby yoni_n » 13 Mar 2017, 08:29

Hi,
we're developing a mobile game and have been experiencing a performance problem on android devices, caused by a significant variation in packet receive timing.

- The variation in timing occurs only on android devices, and does not occur on ios devices (tests were also done using the same wifi network).
We calculated the standard deviation of time between packets, and saw it's ~30ms in average on android, while only ~14ms on ios.

- After enabling the lag monitor, we see that the ping pong result shows a similar variation,
on ios is pretty constant (around ~80ms), while on android it varies between 80-120ms, and spikes even higher at times.

- We're using Unity3d 5.3.6 and smartFoxServer version 2.12.1.

Our question is - are there any known problems with packet timings on android / specifically unity3d android build, or any tips that we can try to improve the lag on android devices?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: lag and time variation between packets on Android

Postby Lapo » 13 Mar 2017, 09:41

We're not aware of similar issues.
Have you tried testing in a local network? It would probably be interesting to test locally to exclude issues such as different carriers / mobile networks etc...

There may be also other variables to keep into account such as the Android version and even phone models.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Stevenor and 44 guests