Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uneven network load and low download speed #6126

Closed
OneAdder opened this issue Mar 6, 2019 · 56 comments
Closed

Uneven network load and low download speed #6126

OneAdder opened this issue Mar 6, 2019 · 56 comments

Comments

@OneAdder
Copy link

OneAdder commented Mar 6, 2019

System information

  • Steam client version (date): Feb 18 2019
  • Distribution: Debian Buster
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Description:

I upgraded my Steam client to Feb 18 build and faced a severe issue.
The download speed is extremely low (0-100 Kb/s). Before the upgrade the speed was 10-15 Mb/s (on January build).
When I monitor the network load, I can see that it is extremely uneven (sequence of peaks, the third row in the screenshot).
screenshot_20190306_185439

This issue appeared right after I upgraded from Jan 4 2019 build to Feb 18 2019.
I tried using beta version as well, the issue is present.
Perhaps, it is connected with this issue.

P.S. Sorry for two issues in a row.

@OneAdder
Copy link
Author

OneAdder commented Mar 6, 2019

@kisak-valve
Copy link
Member

Hello @OneAdder, please copy <steam install dir>/logs/content_log.txt to a gist and include a link in this issue report.

Possibly related to #5907.

@kisak-valve kisak-valve assigned ghost Mar 6, 2019
@OneAdder
Copy link
Author

OneAdder commented Mar 6, 2019

Here is the log.

@tonysh3
Copy link

tonysh3 commented Mar 7, 2019

Have same issue
Ubuntu 18.04
Steam version: Feb 18 2019

My download speed is 100 bytes but when CS GO download its modifications it was normal(700 kb/s)
I try to reinstall steam and system, nothing changed.
Here is log.
https://gist.github.com/tonysh3/a5b5b10452f8467cc618204c688230b6

@tonysh3
Copy link

tonysh3 commented Mar 8, 2019

I don`t know what happened, download was 100 bytes/s for 1-2 minute and now speed increased to normal 800kb/s.
Here is log which includes yesterday and today launches, if you need this.
https://gist.github.com/tonysh3/180bd6903b70c3f21ae4489bc8ad2e5c

@OneAdder
Copy link
Author

Is there any progress or some idea about what might be causing it? I tried purging Steam and reinstalling it from scratch, the result is still the same. I cannot find any workaround to solve the issue.

@tonysh3
Copy link

tonysh3 commented Mar 12, 2019

I still have this issue. Download start with 1 second 500kb speed, than it became 3-4 kb/s, it increases from time to time a bit at the end of 10 mb donwload it became 50kb/s. Still have this peaks at download.
Снимок экрана от 2019-03-12 19-03-19
Снимок экрана от 2019-03-12 19-17-06
Снимок экрана от 2019-03-12 19-04-13

@tonysh3
Copy link

tonysh3 commented Mar 12, 2019

I don`t understand. Start downloading game 1 minute after taking screenshots above.
Speed is normal without any peaks
Снимок экрана от 2019-03-12 19-28-07

@ThomasStegbuchner
Copy link

try disabling ipv6 on your system

@OneAdder
Copy link
Author

Wow, that helped. @ThomasStegbuchner Thank you very much!
@kisak-valve Could you fix this issue with IPv6? I have to disable it systemwide to download something. It's not a perfect workaround.

@tonysh3
Copy link

tonysh3 commented Mar 14, 2019

ipv6 disabled didn`t work out for me
same speed like before

@bcrochet
Copy link

I am (was?) seeing the same thing. Once I disabled ipv6 (sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6') downloads immediately started up again.

@OneAdder
Copy link
Author

@bcrochet Interesting whether this issue appears randomly under both Debian and Ubuntu or under Debian only. If the second, I think it could be solved by investigating the difference in how ipv6 works under both systems

@Emanem
Copy link

Emanem commented Mar 19, 2019

Hi, I also suffer from this issue. The only workaround is to disable IPv6 - but this is very suboptimal.
I've also opened a discussion on the forums here: https://steamcommunity.com/app/221410/discussions/0/3247565033758861331/

I'm running on Ubuntu 18.04 with HWE.

@bvn13
Copy link

bvn13 commented Mar 31, 2019

the same issue on Fedora 29

@Emanem
Copy link

Emanem commented Apr 3, 2019

In general my IPv6 works fine, perhaps is the API Valve are using that may be not performant?
Perhaps they're using async-io on Linux (instead of epoll)?

@Seil0
Copy link

Seil0 commented Apr 16, 2019

Hi, I also got this issues, but disabling IPv6 doesn't relay solve the problem. The download speed toggles between 0 kb/s and 6 mb/s. log

@b4ux1t3
Copy link

b4ux1t3 commented Apr 17, 2019

Having this issue as well. Manjaro Linux, Steam version Feb 18, 2019, API v018, Package Version 1550534751.

No IPv6 on network and disabled in OS. Speed tests consistent at 45-80 Mbps.

DeepinScreenshot_select-area_20190417175716

That's a pretty significant difference. Any telemetry we can pick up in Steam to help diagnose?

@msrb
Copy link

msrb commented Apr 27, 2019

I can confirm that disabling IPv6 on my Fedora 29 machine "fixed" the problem.

@h1z1
Copy link

h1z1 commented Apr 27, 2019

You can as a test try

ip6tables -I INPUT -m state --state NEW -j LOG --log-prefix "valvetest:"
ip6tables -I INPUT -j REJECT
ip6tables -I FORWARD -j REJECT
ip6tables -I OUTPUT -m state --state NEW -j LOG --log-prefix "valvetest:"
ip6tables -I OUTPUT -j REJECT

If you see hosts getting logged it's posible somethings retrying ipv6 because it's not either honoring a reset or, more likely, waiting for ipv6 to timeout.

Assuming you're not using v6,

ip -6 route get 2002::

Should return network is unreachable or some such.

@vinzv
Copy link

vinzv commented May 2, 2019

Can confirm this problem with openSUSE Tumbleweed.
Disabling IPv6 did not help.

@MalteJoe
Copy link

MalteJoe commented May 8, 2019

I have the same issue in Ubuntu 19.04 and disabling ipv6 did nothing. However, changing my download region to Netherlands instead of Germany made my download speeds go from ~50KB/s to 5 MB/s (which I would expect from my connection).

content_log.txt

@sunmachine
Copy link

Linux Mint 19.1 Cinnamon, 4.15.0-50-generic.
Disabling IPv6 did help immensely. 20 KB/s to 46.4 MB/s.

@tonysh3
Copy link

tonysh3 commented May 24, 2019

After steam update speed is better but it is not as high and constant as if we disable ipv6
These commands work for me
sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1

@Emanem
Copy link

Emanem commented May 26, 2019

After steam update speed is better but it is not as high and constant as if we disable ipv6
These commands work for me
sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1

Same here - the update made it better, but with IPv4 I get to use my 1 Gbps at full speed...

@sunmachine
Copy link

Ammending previous post: adjusting IPv6 settings no longer works. Back to slow speeds.

@bcrochet
Copy link

bcrochet commented Jul 1, 2019

@bcrochet Interesting whether this issue appears randomly under both Debian and Ubuntu or under Debian only. If the second, I think it could be solved by investigating the difference in how ipv6 works under both systems

I'm on Fedora. And I've seen it across Fedora 29/30, and Fedora 30 Silverblue.

@dpatou
Copy link

dpatou commented Jul 5, 2019

Hello there,

This might not be a match with the issues that everyone is experiencing here, but I had the "slow download speed by short bursts" using ubuntu 18.04

It turned out the steam library I was using was on an ntfs drive (dual boot system so some of my drives are ntfs, the only with room left in it was) mount. As per the first answer right here https://gaming.stackexchange.com/questions/253695/abnormally-slow-speeds-downloading-from-steam I changed the fstab config of this mount to async (was sync). After unmounting and remounting, the problem was fixed (comparable download/update speeds as windows).

For the record, I do have dnsmasq installed (since i'm using it for other purposes). I didn't touch any IPV6 conf.

I hope it helps anyone (although I doubt it's the cause of most people posting here issues).

@Emanem
Copy link

Emanem commented Jul 14, 2019

Had to resort disabling IPv6 to get full download speeds (1 Gbps)... Weird, I thought it was fixed some weeks back?
Ubuntu 18.04 with HWE.

@ehudnoleft
Copy link

As of today this problem still exists. I'm on 4.16.18-galliumos.
Turning off ipv6 did correct the problem.
I followed this guide to do it: https://easyengine.io/tutorials/linux/disable-ipv6/

Good luck!

@N7Ren
Copy link

N7Ren commented Sep 28, 2019

@ehudnoleft solution fixed it for me on Ubuntu 18.04

@Emanem
Copy link

Emanem commented Oct 2, 2019

Unfortunately the issue still persist. Valve should give us the option to turn off IPV6 at app level instead of having to manually disable at OS level...

@Emanem
Copy link

Emanem commented Nov 10, 2019

Thanks - is there any update on this?

@kisak-valve any way to disable IPv6 from Steam client as a workaround instead of disabling it system-wide?
Any way to set socket creation as IPv4 stream instead of IPv6 (i.e. force specify AF_INET instead of AF_INET6 in the domain parameter) when steam creates a connection?

@bcrochet
Copy link

Thanks - is there any update on this?

@kisak-valve any way to disable IPv6 from Steam client as a workaround instead of disabling it system-wide?
Any way to set socket creation as IPv4 stream instead of IPv6 (i.e. force specify AF_INET instead of AF_INET6 in the domain parameter) when steam creates a connection?

This seems to be fixed in the beta client at least. I would give that a shot.

@Emanem
Copy link

Emanem commented Nov 13, 2019

This seems to be fixed in the beta client at least. I would give that a shot.

Not really? Download speed of patches was around 300 KiB/s...?
My Steam version is 7th Nov build...

@pralhadsapre
Copy link

Disabling IPv6 with the following commands worked for me on Ubuntu 18.04 LTS

sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
sudo systemctl restart networking

I was getting abysmal speeds of 100 Kbps before, after that it spiked up to 7 Mbps.

@Emanem
Copy link

Emanem commented Nov 15, 2019

If only there was an easy way to LD_PRELOAD the steam client, I could pre load a library with a modified socket API to fake the system doesn't support IPv6...

@Arbitrate3280
Copy link

Just wanted to say that this issue it's still alive and well.

Disabling Ipv6 returns downloads to the expected speed. The issue is that I need to have Ipv6 enabled, so this workaround is not very useful for my situation.

@Emanem
Copy link

Emanem commented Feb 15, 2020

Hi Valve (@kisak-valve), this has been open for almost a year.

Having the workaround to always disable IPv4 when downloading a big game/update is ok for some months - but now, after such long time, could you at least provide the option to switch off IPv6 (only use IPv4) usage for the Steam client?

Thanks!

@Emanem
Copy link

Emanem commented Mar 10, 2020

Hi, any update about this ask?
Would it be possible to implement it?

@Emanem
Copy link

Emanem commented Jun 2, 2020

Update: looks like things are now working ok (I'm on latest beta) and can use 100% my bandwidth without disabling IPv6.

@Emanem
Copy link

Emanem commented Jun 15, 2020

@kisak-valve should we close this?

@kisak-valve
Copy link
Member

Is anyone else still experiencing this issue on an up to date system?

@sodd
Copy link

sodd commented Jun 20, 2020

ipv6 seems to works if you are on latest beta

@kisak-valve
Copy link
Member

Closing per recent comments.

@baumi1337
Copy link

baumi1337 commented Oct 19, 2020

Unfortunately I'm still experiencing this behavior. I tested OpenSUSE TW and Leap, Manjaro and Ubuntu 20.04 all of these four distributions had this problem although all systems were up to date and the steam beta was enabled.

When IPv6 is enabled I only reach download speeds around 15-600 Kb/s even though I got a 100 Mb connection.

@Seil0
Copy link

Seil0 commented Nov 30, 2020

I'm also experiencing this behavior. I'm not sure since when exactly it's happening again, but i'm sure it was not there 2/3 months ago. Disabling IPv6 solves the Problem.

@Emanem
Copy link

Emanem commented Dec 1, 2020

Working ok on Ubuntu 20.04.1 - Steam beta.

@msschw
Copy link

msschw commented Mar 28, 2021

Experiencing this on archlinux in steam and steam beta. Disabling ipv6 fixes download issues.

@UserCommon
Copy link

Experiencing this on arch and ipv6 disabling not working for me.

@Incognitux
Copy link

Experiencing this on Kubuntu 20.04 (Ubuntu 20.04.3 LTS x86_64). Kernel: 5.11.0-41-generic . Disabling IPv6 fixes this problem.

@shaunrd0
Copy link

Also seeing this on Kubuntu 20.04. Disabled IPv6 and all is good now, download speeds are normal again.

Linux 5.13.0-22-generic #22~20.04.1-Ubuntu SMP Tue Nov 9 15:07:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

@KassabNova
Copy link

I'm on Ubuntu 20.04. Got a peak of 133Kb/s. Disabled IPv6, but still slow.

@xadips
Copy link

xadips commented Dec 23, 2023

If anyone stumbles upon here currently experiencing slow download issues: #10248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests