steamctl icon indicating copy to clipboard operation
steamctl copied to clipboard

Download performance

Open rossengeorgiev opened this issue 4 years ago • 8 comments

Looks like the single threaded nature of the depot download implementation can limit the download speed. Need to look into multi-thread or multi-process solution in order to saturate fat pipes.

rossengeorgiev avatar Oct 17 '19 09:10 rossengeorgiev

download_to needs to implement a global chunk download task pool to ensure io is saturated

rossengeorgiev avatar Apr 30 '20 23:04 rossengeorgiev

um speaking of which my download performance is very slow image i would think its because single thread or would it be because of this #44 @rossengeorgiev

nutterthanos avatar Feb 20 '22 02:02 nutterthanos

um steam is also now being slow using download_depot don't know why tho

nutterthanos avatar Feb 25 '22 23:02 nutterthanos

Downloading is IO intensive task, which is fine on single thread for downloading. The single thread bottleneck mentioned here is due to the decryption of the chunks, which a CPU heavy task. To improve performance, the decryption needs to be parallelized across the available cores.

Regardless, the speed will never be that low. There isn't enough information to determine why you are experiencing slow download. Could be slow storage, network connectivity, bad cache servers, etc

rossengeorgiev avatar Feb 26 '22 00:02 rossengeorgiev

nope its not slow storage, or my network, maybe lancache is being slower lately when getting chunks upstream but then again it isn't this slow if i just install a game normally in steam client. it only seems to do it if i use steamctl or download_depot i mean if the chunks are already in my lancache it works fine using download_depot or steamctl but using those without the chunks already in lancache its slow i mean i don't know if its slow without lancache at all

nutterthanos avatar Feb 27 '22 00:02 nutterthanos

also if i download the chunks or whatever using aria2 is seems to work fine like installing a game normally

nutterthanos avatar Mar 09 '22 05:03 nutterthanos

Is it not ready yet? I have only half or less of my normal speed

GazziFX avatar Sep 27 '23 05:09 GazziFX

it seems the dev has gone missing or something

nutterthanos avatar Sep 29 '23 22:09 nutterthanos