Why Windows download under VirtualBox is 20x faster than in native Linux?

Rodrigo

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?

enter image description here

LSerni

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Loops over list 20x faster than over ndarray

From Dev

Why is Linux 30x faster than Windows 10 in Copying files?

From Dev

Why is Eigen's Cholesky decomposition much faster on Linux than on Windows?

From Dev

Why is this NodeJS 2x faster than native C?

From Dev

Why is `-1 * x` faster than `-x` and why?

From Java

Why is 'x' in ('x',) faster than 'x' == 'x'?

From Java

Why is list(x for x in a) faster for a=[0] than for a=[]?

From Dev

Why does Windows 7 x64 work faster than an x86 edition on my PC?

From Dev

Android: why is native code so much faster than Java code

From Java

Why is lodash.each faster than native forEach?

From Dev

Why in this case native promises seems to be faster than callbacks in chrome?

From Dev

Why is for loop on native python list faster than for loop on numpy array

From Dev

In general should Linux "ping" be faster than Windows "hrping"?

From Dev

Are Android emulators faster in a Linux-based OS than in Windows?

From Java

Why is [] faster than list()?

From Dev

Why ReferenceEquals() is faster than ==

From Dev

Why is A* faster than Dijkstra

From Dev

why < is much faster than !=?

From Dev

Why Windows 8 is a lot faster than Ubuntu 13.10 on the same laptop?

From Dev

Why Windows 8 is a lot faster than Ubuntu 13.10 on the same laptop?

From Dev

Why is Arch GPU performance faster than Debian and Windows?

From Dev

Why is 6-7 threads faster than 20?

From Dev

Why is 6-7 threads faster than 20?

From Dev

Why is “/dev/rdisk” about 20 times faster than “/dev/disk” in Mac OS X

From Dev

Trial-division code runs 2x faster as 32-bit on Windows than 64-bit on Linux

From Java

Why is x**4.0 faster than x**4 in Python 3?

From Dev

Why is x**4.0 faster than x**4 in Python 3?

From Dev

Why do tar.gz files download faster than .zip files?

From Dev

Why this subquery is 10x faster than inner join

Related Related

  1. 1

    Loops over list 20x faster than over ndarray

  2. 2

    Why is Linux 30x faster than Windows 10 in Copying files?

  3. 3

    Why is Eigen's Cholesky decomposition much faster on Linux than on Windows?

  4. 4

    Why is this NodeJS 2x faster than native C?

  5. 5

    Why is `-1 * x` faster than `-x` and why?

  6. 6

    Why is 'x' in ('x',) faster than 'x' == 'x'?

  7. 7

    Why is list(x for x in a) faster for a=[0] than for a=[]?

  8. 8

    Why does Windows 7 x64 work faster than an x86 edition on my PC?

  9. 9

    Android: why is native code so much faster than Java code

  10. 10

    Why is lodash.each faster than native forEach?

  11. 11

    Why in this case native promises seems to be faster than callbacks in chrome?

  12. 12

    Why is for loop on native python list faster than for loop on numpy array

  13. 13

    In general should Linux "ping" be faster than Windows "hrping"?

  14. 14

    Are Android emulators faster in a Linux-based OS than in Windows?

  15. 15

    Why is [] faster than list()?

  16. 16

    Why ReferenceEquals() is faster than ==

  17. 17

    Why is A* faster than Dijkstra

  18. 18

    why < is much faster than !=?

  19. 19

    Why Windows 8 is a lot faster than Ubuntu 13.10 on the same laptop?

  20. 20

    Why Windows 8 is a lot faster than Ubuntu 13.10 on the same laptop?

  21. 21

    Why is Arch GPU performance faster than Debian and Windows?

  22. 22

    Why is 6-7 threads faster than 20?

  23. 23

    Why is 6-7 threads faster than 20?

  24. 24

    Why is “/dev/rdisk” about 20 times faster than “/dev/disk” in Mac OS X

  25. 25

    Trial-division code runs 2x faster as 32-bit on Windows than 64-bit on Linux

  26. 26

    Why is x**4.0 faster than x**4 in Python 3?

  27. 27

    Why is x**4.0 faster than x**4 in Python 3?

  28. 28

    Why do tar.gz files download faster than .zip files?

  29. 29

    Why this subquery is 10x faster than inner join

HotTag

Archive