Inconsistent download speeds
I am seeing some major weirdness in downloads; it rises and gets fast then dramatically decreases and goes to zero then goes up again.

This behavior is NOT observed on Epic store, only on Steam in the last 36-50 hours. I initially thought my modem/router was to blame and just had it replaced, but still the issue manifests.

What is going on? anyone else see this issue?
< >
Showing 1-15 of 52 comments
camanns Feb 5, 2023 @ 11:21am 
i´m having the exact same issue
Satoru Feb 5, 2023 @ 11:25am 
https://steamcommunity.com/sharedfiles/filedetails/?id=1082209554

Steam can obliterate 1gbps connections

Your downloads are limited by

1) your CPU
2) your disk IO
3) your anti virus
4) your ISP
kevin.rogovin Feb 6, 2023 @ 11:27am 
One of my MS-Windows machines also dual boots to Linux. When downloading on Linux the issue does not occur at all. Thus, it is not the CPU, IO or ISP. Leaving only the anti-virus which is just the built-in anti-virus of MS-Windows 10.
kevin.rogovin Feb 6, 2023 @ 11:29am 
On the subject of anti-virus, I placed the Steam folder on the exclusion list, but even after doing that I still see this wonky download pattern of fast, then nothing, the fast.
kevin.rogovin Feb 6, 2023 @ 11:30am 
.. or most likely, something wonky with the current version of the Steam client.
wuddih Feb 6, 2023 @ 11:34am 
this also depends on game, you try to download the same game to test on linux that underperforms on windows?
kevin.rogovin Feb 6, 2023 @ 11:37am 
It happens on every game I have tested. Right now I am testing it on God Eater 2 Rage Burst and when it started it was doing this weird thing of download speed rising then crashing to zero... after some time it rose steady at a nearly max speed. Game is not very big, like 11 or 12 GB though. Will try on much larger one shortly.
kevin.rogovin Feb 6, 2023 @ 11:40am 
Now testing on a big game that is over 90GB, I will let you all know how it behaves, fingers crossed.
kevin.rogovin Feb 6, 2023 @ 11:45am 
Sighs, after around downloading 7 or 8 GB just fine, it went to the funny patter on crashing download speeds and then climbing back up. I don't think it can be the anti-virus at this point because the Steam folders are in the exclusion list as well. Sighs.
kevin.rogovin Feb 6, 2023 @ 11:49am 
However, it is behaving much better overall today compared to last week, the time it spends at zero is much lower and the time it spends at high download (but not hitting anywhere my max download speed) is much longer.

For reference at the start it climbed to 35MB/s but then for a spell hovered around 20MB/s.

I have fiber optic, so the reason is not my neighbor is taking bandwidth from the wire, and the only other device using internet right now is the TV and it is in steady state watching some YouTube video. In addition, my ISP made it super super clear they never, ever throttle your connection speed EVER.
Last edited by kevin.rogovin; Feb 6, 2023 @ 1:57pm
Elucidator Feb 6, 2023 @ 12:11pm 
Originally posted by kevin.rogovin:
Sighs, after around downloading 7 or 8 GB just fine, it went to the funny patter on crashing download speeds and then climbing back up. I don't think it can be the anti-virus at this point because the Steam folders are in the exclusion list as well. Sighs.
That is very easy to explain...

Your SSD has a buffer, and it got full.
Once it got full, all your disk could do is write from the buffer.
Disk I/O (usage) likely shows it is very busy.

Normally when you download something, it sends it to the buffer. (which is its internal ram-like storage). Windows has this option enabled by default at least.
This allows for the advertised writing speeds.
The advertised writing speed measurements also assume you have this feature enabled.

When data is in the buffer, the SSD begins writing the data to storage immediately.
however, when the buffer is full (which is usually 8GB of memory) nothing can be written to the buffer anymore, so it needs to be emptied first, after it is emptied, it continues downloading to the buffer and seems to be writing at the usual speed.

On linux, likely you have this buffer disabled.
this means downloading and writing will be slower, but it also means there is a new max writing speed.
so it will look like a single data stream of straight writing, instead of going up and down on the graph.

...
edit: Summarized your SSD's actual write speed cannot keep up with the download speed.
If you want to test what its actual speed is, use CrystalDiskMark and disable 'write caching on the device'.
Last edited by Elucidator; Feb 6, 2023 @ 12:13pm
kevin.rogovin Feb 6, 2023 @ 12:30pm 
The drive it is downloading to is NOT an SSD (it is a spinning disk), but it can still have a buffer, however such buffers are part of the harddrive and controlled by the harddrive itself (the OS does not know of it really). On Linux the download speed stays nearly at my max theoretical (37MB/s) for the entire download.

We could try to make a case that the OS has a buffer (or the steam client itself) for downloading. However, a spinning disk can easily maintain 80-160MB/s write which is far above my max theoretical download speed of 37.5MB/s. The drive is an internal SATA spinning disk and the SATA has more than enough bandwidth as well.

In addition, the buffer theory does not explain that the issue is recent where as the test machine, drivers did not change anywhere near the time of the behavior. The only thing that has changed is the Steam client.

The download pulse is also not regular either (jn time or bytes written), which also goes against the buffer theory.

As of now, the over 90GB game has now maintained high download speed for a solid 5 minutes now. When I have the pulse to zero speed the interval is seconds.


What this smells like is something like a Steam client screw up.
Satoru Feb 6, 2023 @ 12:34pm 
Again Steam can obliterate 1gbps connections

your downloads are limited by

1) your cpu
2) your disk IO
3) your anti-virus
4) your isp
Elucidator Feb 6, 2023 @ 1:19pm 
Originally posted by kevin.rogovin:
The drive it is downloading to is NOT an SSD (it is a spinning disk), but it can still have a buffer, however such buffers are part of the harddrive and controlled by the harddrive itself (the OS does not know of it really).
I.... don't say things out of nowhere.

Windows itself says at the option:
Improves system performance by enabling write caching on the device
Windows, at this option directly tells the user reading it, that it can control if the buffer on the device gets used with this checkmark.
... here's the documentation: https://learn.microsoft.com/en-gb/windows-hardware/drivers/storage/querying-for-the-write-cache-property


Originally posted by kevin.rogovin:
In addition, the buffer theory does not explain that the issue is recent where as the test machine, drivers did not change anywhere near the time of the behavior. The only thing that has changed is the Steam client.
That would have been handy to know up front.
If you leave important stuff like that out and then react the way you did, your thread will look like nothing but bait designed to prove other people wrong on your superior knowledge.


Originally posted by kevin.rogovin:
The download pulse is also not regular either (jn time or bytes written), which also goes against the buffer theory.
It depends on the buffer, the size, and what else the disk is doing. Also considering you just stated in your last post that it is a HDD, we're talking about a much smaller buffer then. A HDD also has another limit. It cannot do Read and Write at the same time. It's either one of the other, and there will be a lot of random 4k seeking, which occupies time spend that it could be writing.
Actually some older model HDDs don't even have a dram buffer internally, but I assume yours is newer.

Originally posted by kevin.rogovin:
As of now, the over 90GB game has now maintained high download speed for a solid 5 minutes now. When I have the pulse to zero speed the interval is seconds.


What this smells like is something like a Steam client screw up.

...
generally if it was you'd see haywire going on on every forum about it, much like with the user stats server issues a while ago.
Although HDDs are used less since they became more expensive due to less competition in designing them, such effects would still be noticable even on SSDs, so...
I expect more community uproar if it was 'just the steam client'.
Last edited by Elucidator; Feb 6, 2023 @ 1:22pm
kevin.rogovin Feb 6, 2023 @ 1:53pm 
I expect more community uproar if it was 'just the steam client'.

I think it is exactly this for the following reasons.
  1. The issue started to manifest last week on two different MS-Windows machines. Before that time, both machines downloaded just fine. One machine is Windows 10 and the other is Windows 11.
  2. The Windows 10 machine also dual boots Linux. When booting Linux, the issue did not manifest.

Theories about buffer exhaustion do NOT make sense, unless some wacky Windows update did this, but then the same issue would manifest in other download situations such as GOG or Epic, and it does not. Indeed, given that a spinning HDD can easily maintain 80-160MB/s and the connection is 37.5MB/s, the buffer theory is quite unlikely. Theory about a server issue also does not fully explain it because of the Linux side.

However, it has gotten loads better which smells like a combination of the Steam client and interaction with the server side.

How the Steam client downloads is actually... really dumb. It just keeps making connections until the download speed does not get better.. there is a discussion on its silliness elsewhere. It might have changed since that discussion (I doubt this though) and it might even be different on MS-Windows and Linux. I don't feel like pulling out Wireshark and walking the packets to be honest.
Last edited by kevin.rogovin; Feb 6, 2023 @ 1:55pm
< >
Showing 1-15 of 52 comments
Per page: 1530 50

Date Posted: Feb 2, 2023 @ 6:10am
Posts: 52