How can i increase packets per second for ip?

i want to increase upload pps for my ps4 i gets maximum 50 packets per second in fortnite i see youtubers gets 60 pps for upload is there a way to achieve 60 pps ???
my download speed is 30mbps and upload 2mbps

How much is the packet size in Fortnite?
If you are using 1500byte frames, your upload can sustain about 166 pps.
If you are using less bytes in every frame it can increase, but you have less throughput.
Also you need to consider control packets, which also utilizes the line, as well as traffic from other users.

i am using 1500 mtu
and these are the packets captured by tcpdump for fortnite
08:37:38.051873 IP (tos 0x0, ttl 44, id 16315, offset 0, flags [DF], proto UDP (17), length 74)
3.124.194.63.9003 > 192.168.1.100.50834: UDP, length 46
08:37:38.065791 IP (tos 0x0, ttl 64, id 54113, offset 0, flags [none], proto UDP (17), length 39)
192.168.1.100.50834 > 3.124.194.63.9003: UDP, length 11
08:37:38.085399 IP (tos 0x0, ttl 44, id 16320, offset 0, flags [DF], proto UDP (17), length 71)
3.124.194.63.9003 > 192.168.1.100.50834: UDP, length 43
08:37:38.099404 IP (tos 0x0, ttl 64, id 20465, offset 0, flags [none], proto UDP (17), length 72)
192.168.1.100.50834 > 3.124.194.63.9003: UDP, length 44

Your packet length is quite small in all examples (74, 39, 71, 72) so you wouldn't be exhausting the available line.
Are you using some kind of QoS that could limit the rate?

YES i am using smart queue management with cake

Can you try to disable it temporarily and check for any improvements?

these are packets after i disabled sqm
192.168.1.100.49554 > 35.178.193.199.9012: UDP, length 11
14:13:48.319265 IP (tos 0x0, ttl 44, id 8136, offset 0, flags [DF], proto UDP (17), length 98)
35.178.193.199.9012 > 192.168.1.100.49554: UDP, length 70
14:13:48.325927 IP (tos 0x0, ttl 64, id 52708, offset 0, flags [none], proto UDP (17), length 39)
192.168.1.100.49554 > 35.178.193.199.9012: UDP, length 11
14:13:48.352551 IP (tos 0x0, ttl 44, id 8167, offset 0, flags [DF], proto UDP (17), length 100)
35.178.193.199.9012 > 192.168.1.100.49554: UDP, length 72
14:13:48.359440 IP (tos 0x0, ttl 64, id 38907, offset 0, flags [none], proto UDP (17), length 39)
192.168.1.100.49554 > 35.178.193.199.9012: UDP, length 11
14:13:48.375726 IP (tos 0x0, ttl 64, id 55502, offset 0, flags [none], proto UDP (17), length 75)
192.168.1.100.49554 > 35.178.193.199.9012: UDP, length 47
14:13:48.386510 IP (tos 0x0, ttl 44, id 8201, offset 0, flags [DF], proto UDP (17), length 87)

and this is my tc qdisc:

qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 3 2Mb ecn
qdisc fq_codel 0: dev eth1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 3 2Mb ecn
qdisc noqueue 0: dev br-wan root refcnt 2
qdisc fq_codel 1: dev pppoe-wan root refcnt 2 limit 9048p flows 1024 quantum 3030 target 200.0ms ce_threshold 200.0ms inte rval 100.0ms memory_limit 999Mb ecn
qdisc noqueue 0: dev br-lan root refcnt 2

I'm lost...what does MTU and packets per second have to do with small packet size?

If your game only makes small packets, ask Epic Games why that is. Perhaps there's latency to/from their servers?

What do you think is wrong with your router?

Did you see any improvement after you disabled it?
Not in the tcpdump, but in the game itself. If not, then I don't think it's the router that is limiting you.

With certain MTU you can have a definite PPS for a given line. But this is not the case here.

Out of curiosity @isslam, what good will it come if you manage to achieve 10 more pps in this game?
Could you post a video from youtube showing this?

1 Like

there is no difference,

all i want is the best possible experience in competitive gaming and i see pro players in youtube achieve from 50-60 packets per second while i am getting only from 40-50

this happens in every game not fortnite only

What router are you using? What are they using? What kind of line do they have?

You’re within 10-20% of “pro players” who may be spending much more on equipment and service.

1 Like

I don't think that the router is to blame on this one.

I found a video of a pro player. The bandwidth is very small, around 5Kb/s per direction. Incoming pps is between 30-40 and outgoing 50-70. When he is acting like crazy the pps goes up. When he is just walking around it goes down.

My guess is that you are not making so many fast moves in the game, so it doesn't produce so many outgoing packets.
Bottom line, it's not the router, it's your gameplay.

2 Likes

FPS player and openwrt user since 2000 here, I've gamed on 33.6 and 56K dial-up modems before OpenWrt existed. Your tests indicate one thing -

You're trying to find a solution to an issue that does not exist. You want lower latency for a superior gaming experience. Once you go past a certain stable bandwidth (<1Mbps), it's latency that counts assuming all the bandwidth is available for your game.

You don't need to push large PPS for FPS or most game type's really. Game state does not send a ton of data across to sync.

Test your theory - buy an inexpensive router that is capable of pushing a ton of PPS and you will see zero improvement in your game experience over the same ISP because the two are not related.
See https://store.ui.com/collections/routing-switching/products/edgerouter-lite

2 Likes

I don't play Fortnite, but this sounds plausible. Easily tested with some network packet tracing using tcpdump which OP has not done.

I'm wondering if the OP took my advice; and if so, why not.

They wrote the software and have a financial interest in their customers' satisfaction and enjoyable play experience. I see no reason why they wouldn't be prompt and diligent in answering you. There's also a Fortnite community on most common social networks - you'd definitely find someone who knows how to increase.

Next, you are the first person I've ever met that wants to increase a game's Packets Per Second rate; and not Frames Per Second.

Please provide a link; all the videos I've located are regarding obtaining 60 Frames Per Second. @trendy also asked you:

Are you sure that you have not confused the terms "frames" and "packets"?

If so, "frames" is this case does not refer to "Ethernet frames" - see:

You are the first to mention this; the OP makes no such correlation to FPS. You are correct. Since a packet contains things like: movements, coordinates, etc. - the PS4 is merely rendering the graphics from that data.

And you know how to decode the protocol Epic Games used - to determine any Layer 7 metrics?


(While awaiting the OP to provide more data, I discovered 3 other identical threads on this forum.)

@isslam, BTW, welcome to the community!

My problem is not with fps because i have ps4 and i gets 60 fps and i will take your advice maybe problem with their server by the way i used traceroute to their server and i got 13 * which is packet loss i assume and what test do i do with tcpdump??

I did traceroute to their server and i gets 13 * with 21 hops and what exactly do you want to do with tcpdump ?

Traceroutes are somewhat tricky to interpret.
Try opkg update ; opkg install mtr followed by mtr SAME.IP.YOU.TRACEROUTED.
And then only look at the loss and delay statistics of the final hop, intermediate hops often are routers, that only handle ICMP responses in their "spare time", which means ICMP packet generation is often rate-limited and running at low priority so that it does not interfere with the hop's main business.

Maybe copy and paste the mtr output into this thread if you require assistance in interpreting it.

maybe that games limit state-updates (pps) to either the client frame-rate or to the roundtriptime (latency).
for a 25ms connection this means 1000ms / 25ms = 40 pps (Hz) to always have one state-update on the fly.

1 Like