Jump to content

Technical request - Packet size, packet length & datagrams - Checking for UDP packet loss


Piplowe

Recommended Posts

Hey, 

I'm trying to find out if I'm experiencing upload UDP packet loss when playing cod. 
Does anyone know the what packet size, length, datagrams and general bandwidth the PS4/PS5 uses when playing the game ? 
I've done some testing with IPerf but I'd like to try and mimic the packet size etc to mimic the game traffic. 

My assumption is that the game uses TCP for ping and game setup but UDP for the in game traffic. 
I get that packet loss will always occur as it's the nature of networks but to what degree is acceptable to play a game. 
With TCP the packets are resent, UDP they are general just dropped. 

My ISP Supplier test says there is nothing wrong with the line but my gaming experience is very poor, even with Geo filtering, anti bufferbloat and traffic prioritisation. 

I moved from Plusnet 80Mb Down 20Mb to Sky G.fast 150Mb Down 20Mb up a few months ago, however I see the same results on each ISP.  
This makes me think it's at the hardware level, perhaps the DSLAM, interleaving on/off etc.   
I wonder if when playing the game the download traffic is prioritised or affecting the upload throughput. 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TESTING DETAILS 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I'm using IPerf3 to run UDP diagnostics to a server I've got hosted.  
For anyone familiar with iperf,  I'm running  the command.
 ./iperf3 -c (my server) -p 5400 -u -l 20

TEST 1 below, UDP upload on ISP - You can see a ten second test shows around 20% packet loss 
TEST 2 below, UDP upload, on hotspot -  Same test parameters 0.76% packet loss
TEST 3 below, UDP download on ISP -  0% packet loss 

I believe this the reason a lot of people experience the same issues in game and the ISP's / Openreach do not address it. 
Pointing your Geo location further away might reduce the perceived effect of packet loss, however playing on a 20ms game with 20% packet loss seems to have big effect. 

I've even tried inducing an addition ping delay up to from 50 - 100ms through an OpenWRT router but it doesn't improve things. 
I believe UDP packet loss is the main culprit.  There is no packet loss on the download.  

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TESTS DETAILS  BELOW
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-----------------
TEST 1 -  UPLOAD UDP TEST ON ISP 
-----------------
[ ID] Interval           Transfer     Bitrate         Jitter                         Lost/Total Datagrams

[  5]   0.00-1.00   sec  95.7 KBytes   784 Kbits/sec  0.030 ms  1053/5953 (18%)

[  5]   1.00-2.00   sec   102 KBytes   833 Kbits/sec  0.032 ms  1375/6579 (21%)

[  5]   2.00-3.00   sec   101 KBytes   827 Kbits/sec  0.041 ms  1348/6515 (21%)

[  5]   3.00-4.00   sec   101 KBytes   828 Kbits/sec  0.022 ms  1436/6608 (22%)

[  5]   4.00-5.00   sec   101 KBytes   831 Kbits/sec  0.033 ms  1353/6547 (21%)

[  5]   5.00-6.00   sec   101 KBytes   828 Kbits/sec  0.041 ms  1341/6519 (21%)

[  5]   6.00-7.00   sec  98.9 KBytes   811 Kbits/sec  0.043 ms  1483/6549 (23%)

[  5]   7.00-8.00   sec   107 KBytes   879 Kbits/sec  0.016 ms  1099/6594 (17%)

[  5]   8.00-9.00   sec   103 KBytes   847 Kbits/sec  0.027 ms  1263/6557 (19%)

[  5]   9.00-10.00  sec   103 KBytes   841 Kbits/sec  0.032 ms  1267/6521 (19%)

[  5]  10.00-10.01  sec  20.0 Bytes  11.4 Kbits/sec  0.489 ms  18/19 (95%)

- - - - - - - - - - - - - - - - - - - - - - - - -

[ ID] Interval                   Transfer          Bitrate                 Jitter       Lost/Total Datagrams

[  5]   0.00-10.01  sec  1014 KBytes   830 Kbits/sec  0.489 ms  13036/64961 (20%)  receiver


-----------------
TEST 2 - UPLOAD TEST ON 4G HOTSPOT THROUGH IPHONE 
-----------------

[ ID] Interval                      Transfer     Bandwidth       Total Datagrams

[  4]   0.00-1.00   sec   116 KBytes   948 Kbits/sec  5940

[  4]   1.00-2.01   sec   128 KBytes  1.05 Mbits/sec  6579

[  4]   2.01-3.00   sec   128 KBytes  1.05 Mbits/sec  6552

[  4]   3.00-4.01   sec   128 KBytes  1.05 Mbits/sec  6567

[  4]   4.01-5.00   sec   128 KBytes  1.05 Mbits/sec  6564

[  4]   5.00-6.01   sec   128 KBytes  1.05 Mbits/sec  6552

[  4]   6.01-7.01   sec   128 KBytes  1.05 Mbits/sec  6554

[  4]   7.01-8.01   sec   128 KBytes  1.05 Mbits/sec  6554

[  4]   8.01-9.01   sec   127 KBytes  1.04 Mbits/sec  6510

[  4]   9.01-10.01  sec   128 KBytes  1.05 Mbits/sec  6552

- - - - - - - - - - - - - - - - - - - - - - - - -

[ ID] Interval                  Transfer         Bandwidth          Jitter         Lost/Total Datagrams 

[  4]   0.00-10.01  sec  1.24 MBytes  1.04 Mbits/sec  0.089 ms  492/64824 (0.76%)

[  4] Sent 64824 datagrams



-----------------
TEST 3 - Download TEST with the same parameters on ISP 
-----------------

[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total Datagrams

[  4]   0.00-1.00   sec   128 KBytes  1.05 Mbits/sec  0.246 ms  0/2625 (0%)

[  4]   1.00-2.00   sec   128 KBytes  1.05 Mbits/sec  0.308 ms  0/2621 (0%)

[  4]   2.00-3.00   sec   128 KBytes  1.05 Mbits/sec  0.274 ms  0/2616 (0%)

[  4]   3.00-4.00   sec   128 KBytes  1.05 Mbits/sec  0.237 ms  0/2625 (0%)

[  4]   4.00-5.00   sec   128 KBytes  1.05 Mbits/sec  0.275 ms  0/2624 (0%)

[  4]   5.00-6.00   sec   128 KBytes  1.05 Mbits/sec  0.277 ms  0/2619 (0%)

[  4]   6.00-7.00   sec   128 KBytes  1.05 Mbits/sec  0.282 ms  0/2621 (0%)

[  4]   7.00-8.00   sec   128 KBytes  1.05 Mbits/sec  0.359 ms  0/2622 (0%)

[  4]   8.00-9.00   sec   128 KBytes  1.05 Mbits/sec  0.231 ms  0/2621 (0%)

[  4]   9.00-10.00  sec   128 KBytes  1.05 Mbits/sec  0.273 ms  0/2622 (0%)

- - - - - - - - - - - - - - - - - - - - - - - - -

[ ID] Interval                   Transfer         Bandwidth          Jitter       Lost/Total Datagrams

[  4]   0.00-10.00  sec  1.25 MBytes  1.05 Mbits/sec  0.209 ms  0/26231 (0%)

[  4] Sent 26231 datagrams

 

Link to comment
Share on other sites

30 minutes ago, johnnytran said:

I've ran some iperf3 tests on my openwrt router/PC and never experienced any losses. My gaming is still shit though, even with a perfect network.

@johnnytran Did you run any specific switches when you used I perf.  
 

So far I found packet loss when simulating voip traffic using the -n switch and when I push my upload above 12 Mb out of 20mb 

 

I was asking the community if they knew the packet size etc so I can test like for like. 

Link to comment
Share on other sites

21 hours ago, Piplowe said:

@johnnytran Did you run any specific switches when you used I perf.  
 

So far I found packet loss when simulating voip traffic using the -n switch and when I push my upload above 12 Mb out of 20mb 

 

I was asking the community if they knew the packet size etc so I can test like for like. 

I was running the below command, told it was simulating the gaming traffic in CW. Sorry I don't know much more about this..

iperf3 -u -b 250K -l 250 -t 20 -c iperf.scottlinux.com

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...