Use network MTU for faster download #72

Closed
opened 2026-02-20 21:01:28 -05:00 by deekerman · 2 comments
Owner

Originally created by @voyeg3r on GitHub (Mar 23, 2011).

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

Originally created by @voyeg3r on GitHub (Mar 23, 2011). Maximum transfer unit lets start downloading in various parts of the same file. Software than use this feature 'aria2c'
deekerman 2026-02-20 21:01:28 -05:00
  • closed this issue
  • added the
    request
    label
Author
Owner

@rg3 commented on GitHub (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.

@rg3 commented on GitHub (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.
Author
Owner

@phihag commented on GitHub (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.
@phihag commented on GitHub (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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#72
No description provided.