I'm using Linux Debian Jessie 64-bit (Host), and have Windows 7 (Guest) running on Oracle VirtualBox. I'm using youtube-dl to download a video from YouTube. Since a friend asked me how to use it and she uses Windows, I tried the same on VirtualBox to teach her. To my surprise, the download via the Linux Terminal was running at 200KB/s while the download at Windows terminal ran at 4MB/s! I must assume that something is wrong in my configuration, but I have no idea of what could it be. Or is there any other explanation?
closed as off-topic by Rui F Ribeiro, G-Man, cas, Dmitry Grigoryev, Satō Katsura Mar 13 '18 at 9:26
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – cas, Dmitry Grigoryev
The simplest explanation is that you are connected to two different YouTube servers, and are not even downloading the same file (the title is the same, but the sizes are very different, and both are reported in the same unit - MiB).
To investigate, I would:
check whether repeated runs of the same download go at the same speed.
verify whether it's always the same "www.youtube.com" that gets hit, by forcing its IP in the hosts file.
force either -4 or -6 option in both Linux and Windows (the defaults might be different).
try downloading something else, say a kernel from kernel.org, and maybe test various sites.
check whether Linux has some kind of proxy/traffic shaper/throttle installed
This ought to circumscribe whether it's a network problem, a path problem, an operating system problem, a happenstance, a coincidence, or a third option.