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

Use network MTU for faster download #96

Closed
voyeg3r opened this issue Mar 23, 2011 · 2 comments
Closed

Use network MTU for faster download #96

voyeg3r opened this issue Mar 23, 2011 · 2 comments
Labels

Comments

@voyeg3r
Copy link

@voyeg3r voyeg3r commented Mar 23, 2011

Maximum transfer unit lets start downloading in various parts of the same file. Software than use this feature 'aria2c'

@rg3
Copy link
Collaborator

@rg3 rg3 commented Mar 29, 2011

If you find out a portable way of getting that value in Python, a patch and testing results would be welcome, but take into account the transfer speed is throttled by YouTube server-side, so I wouldn't expect any miracle at all.

@phihag
Copy link
Contributor

@phihag phihag commented Sep 13, 2011

Cursory investigation shows the MTU is already being used by the OS anyway, despite youtube-dl requesting 1024 byte chunks, so any setting that aria2 could set is either not applicable on my system or plain snake oil. Feel free to reopen this issue (or create a new one) with

  • A description how exactly the network traffic would be improved (for example, pcap dumps of youtube-dl and aria2c downloading the same file)
  • Optionally, a suggestion which Python functions youtube-dl should call or what should be changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.