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

Bad performance when download large files #22

Closed
MacroBull opened this issue Dec 17, 2017 · 3 comments
Closed

Bad performance when download large files #22

MacroBull opened this issue Dec 17, 2017 · 3 comments
Assignees

Comments

@MacroBull
Copy link

The subprocess consume 100% CPU of one core and memory grows to hundreds of megabytes, and the speed falls as low as 100kB/s .

@abhinavsingh
Copy link
Owner

@MacroBull proxy.py wasn't built to handle blob files, though it works pretty well with YouTube and other video streaming websites. What's the size of the file you are downloading?

@MacroBull
Copy link
Author

I am using proxy.py to forward Qt download from official source to a mirror, the largest file should be about 300MB.
See MacroBull@7a52453 for modifications

@abhinavsingh
Copy link
Owner

Kindly sync with latest in develop branch and start proxy as:

proxy.py --server-recvbuf-size 1048576

Play with a value that suits your application. Above 1048576 == 1 MB.

A higher buffer size will provide more throughput at increased RAM during the download operation. See commit 31bd810 comments for more details.

Kindly let me know if you run into an issue. Thanks for reporting.

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

2 participants