You need to run sufficient speedtests to know what your connection uplink & downlink is. Then, your router can keep below those values to avoid saturating the connection and thrashing your ping (if you've limited your upload speed slightly in a P2P program to keep the web usable, this is what it's doing).
You can then prioritise ports 80 and 443 above other traffic![]()