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

Download performance #9

Open
rossengeorgiev opened this issue Oct 17, 2019 · 8 comments
Open

Download performance #9

rossengeorgiev opened this issue Oct 17, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@rossengeorgiev
Copy link
Collaborator

rossengeorgiev commented Oct 17, 2019

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
Copy link
Collaborator Author

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

@rossengeorgiev rossengeorgiev added the enhancement New feature or request label Apr 30, 2020
@nutterthanos
Copy link

nutterthanos commented Feb 20, 2022

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
Copy link

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

@rossengeorgiev
Copy link
Collaborator Author

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

@nutterthanos
Copy link

nutterthanos commented Feb 27, 2022

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
Copy link

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

@GazziFX
Copy link

GazziFX commented Sep 27, 2023

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

@nutterthanos
Copy link

it seems the dev has gone missing or something

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

No branches or pull requests

3 participants