# Bandwidth limit is 10KB/s irrespective of settings

**URL:** <https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, unreal-engine, bug-report, UE4, question, CPP\
**Created:** [March 22, 2016, 10:15pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414 "2016-03-22T22:15:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonwood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonwood](https://forums.unrealengine.com/u/Jonwood)\
**Post date:** [March 22, 2016, 10:15pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/1 "2016-03-22T22:15:08Z")

</div>

I’ve set the variables in the following config files to larger values:

DefaultEngine.ini:

```
     [/Script/OnlineSubsystemUtils.IpNetDriver]
     MaxClientRate=80000
     MaxInternetClientRate=80000

```

BaseGame.ini:

```
 [/Script/Engine.GameNetworkManager]
 TotalNetBandwidth=600000
 MaxDynamicBandwidth=80000
 MinDynamicBandwidth=4000

```

But with just two players, the max data rate per connection seems to be 10,000B/s no matter what I set them to,  
and variables stop replicating when the data rate excedes this value.

Having checked some values at runtime, all of the above variables have been read from the config files, also AGameNetworkManager::CalculatedNetSpeed() returns the correct value, in this case 80,000.

From furthur investigation, UPlayer::CurrentNetSpeed seems to always be at 10,000, which I guess is where that number is coming from (I don’t know why CurrentNetSpeed is 10,000 though…), and I therefore also asume this to be the variable that ultimately limits the data rate for each player.

I can’t pretend to understand the whole system for determining the data rate cap, but I suspect UPlayer::CurrentNetSpeed is supposed to be set to the return value of AGameNetworkManager::CalculatedNetSpeed(), or something like that, so I think this could be a bug.

In any case, as a workaround, I am just manually setting UPlayer::CurrentNetSpeed to AGameNetworkManager::CalculatedNetSpeed(), which has the desired effect, even if it’s a bit hacky, but if this is a bug, I thought you might want to know about it.

Thanks,

---

<div class="post-metadata">

**Author:** ![Jonwood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonwood](https://forums.unrealengine.com/u/Jonwood)\
**Post date:** [March 23, 2016, 4:30pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/2 "2016-03-23T16:30:04Z")

</div>

Just realised I put 10,000KB/s in the title, when I meant either 10,000B/s or 10KB/s, so I’ve changed it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 25, 2016, 6:49pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/3 "2016-03-25T18:49:42Z")

</div>

Hello Jonwood,

Thank you for reporting this issue. We’re currently looking into why this is occurring as your setup seems similar to what we suggested to a user who was trying to set their bandwidth limit a few months back. I’ll be sure to let you know when we have more information and if we need anything else from you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 29, 2016, 8:15pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/4 "2016-03-29T20:15:23Z")

</div>

It seems that there are some extra settings that may be limiting this. While those values you have been setting will set the maximum that the server will allow the client to use, it seems that the client is also enforcing a limit on itself. You can find these settings in DefaultEngine.ini:

[/Script/Engine.Player]  
ConfiguredInternetSpeed=10000  
ConfiguredLanSpeed=15000

Please let me know if changing these values helps.

---

<div class="post-metadata">

**Author:** ![Jonwood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonwood](https://forums.unrealengine.com/u/Jonwood)\
**Post date:** [March 29, 2016, 9:47pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/5 "2016-03-29T21:47:35Z")

</div>

Hi ,  
Thanks very much, that’s done the trick,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc0446c8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc0446c8](https://forums.unrealengine.com/u/anonymous_user_cc0446c8)\
**Post date:** [February 8, 2017, 4:34am UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/6 "2017-02-08T04:34:56Z")

</div>

do you have any recommended values? for bandwidth, client rate and internet speed. Mainly for STEAM play.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [February 8, 2017, 2:52pm UTC](https://forums.unrealengine.com/t/bandwidth-limit-is-10kb-s-irrespective-of-settings/351414/7 "2017-02-08T14:52:47Z")

</div>

There’s no real standard amount that I could provide. The amount needed will vary on how much of your game is being replicated and how much date needs to be sent. Your target framerate will affect it as well, especially if there are things that are being updated on tick and replicated. It would be best to experiment to figure out what amounts result in lag-free environment.
