Slashdot Mirror


Ubuntu Download Speeds Beat Windows XP's

narramissic writes "Doing a download speed test of his Time Warner cable connection, James Gaskin discovered something odd, something that he is quick to note isn't a rigorous benchmarked lab test. The discovery: His Ubuntu machine 'returned a rating from the Bandwidth.com test of 22-25mbps over several tests' while the same test done from a Windows XP PC returned a rating of 12-14mbps. The two computers used in the test are 'almost identical: both off-lease Compaq small form factor D515s, part of the very popular corporate desktop D500 family. Both have Pentium 4 processors running at 2GHz. The Ubuntu machine has 768MB of RAM, while the XP box has only 512MB of RAM. Both run Firefox 3 as their browser.' Gaskin's question: Can a little extra RAM make that much difference in Internet download speeds or does Ubuntu handles networking that much faster than Windows XP?"

25 of 515 comments (clear)

  1. Linux on the desktop by Yvan256 · · Score: 5, Funny

    If you can prove to people that you can download pr0n faster using Linux, they WILL switch!

    I'm kidding! I'm kidding!

    (or, am I?)

    1. Re:Linux on the desktop by Anonymous Coward · · Score: 5, Funny

      all i saw was "download pr0n faster" and i'm compiling a stage1 right now!!!!!

    2. Re:Linux on the desktop by Hottie+Parms · · Score: 5, Insightful

      Along the same reasoning, a good reason to switch to Linux is to avoid the malware that you get from browsing those questionable pr0n torrent sites.

      I'm not kidding.

      (Or, am I?)

    3. Re:Linux on the desktop by wsanders · · Score: 5, Funny

      Especially if you have had to drop out of college because an evil computer company sold you a Linux PC instead of a Windows one, you are at least not stuck with slow pr0n downloads.

      --
      Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
    4. Re:Linux on the desktop by peragrin · · Score: 5, Funny

      Actually OSX is superior to Linux in Pron browsing. you only have one mouse button to worry about.

      --
      i thought once I was found, but it was only a dream.
    5. Re:Linux on the desktop by WasteOfAmmo · · Score: 5, Funny

      Brings a new meaning to the saying "if you build it, they will come!"

      Sorry, someone had to say it. Besides I had to do something while waiting for the compile to be done...oops, gotta go!

    6. Re:Linux on the desktop by SanityInAnarchy · · Score: 5, Funny

      Except that to right-click on OS X, you need ctrl+mousebutton, which means you need two hands instead of one.

      --
      Don't thank God, thank a doctor!
    7. Re:Linux on the desktop by InlawBiker · · Score: 5, Informative

      Here's my totally unscientific test from my home office. Vista 32bit vs. Ubuntu 32bit. Done on a dual-boot Thinkpad T61 laptop, 2.0ghz 2gb RAM. Nowhere close to running out of memory, only app running was the browser (plus the normal tray stuff).

      I did five tests with each OS/browser and averaged them out, doing the bandwidth.com test.

      Figures in kbps. ISP is Comcast cable.

      Windows Vista Chrome 1.0.154.43
          Down: 18276.6 (avg) / 21522 (max)
          Up: 1866.8 (avg) / 1898 (max)

      Windows Vista Firefox 3.05
          Down: 17357 (avg) / 23820 (max)
          Up: 1044.6 (avg) / 1067 (max)

      Ubuntu 8.10 (Intrepid) Firefox 3.05
          Down: 15451.6 (avg) / 21742 (max)
          Up: 2035.6 (avg) / 2151 (max)

      The averages differed wildly but I think network traffic can easily account for this. Since the maximums were all nearly the same I think they're all about the same.

      What it doesn't account for is the upload speed, which were very consistent throughout this silly test.

      Vista firefox = dismal
      Vista chrome = much faster
      Ubuntu firefox = even faster

    8. Re:Linux on the desktop by sharkey · · Score: 5, Funny

      Be sure to use "-march=female -O69 CFAGS=no -fundo-bra -fomit-shemale-pointer" for optimal pr0n performance.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  2. It's the bot net by thetoadwarrior · · Score: 5, Funny

    His window machine's contribution to a bot net is probably hogging some bandwidth.

  3. swap the ram and find out by bugs2squash · · Score: 5, Insightful

    surely that is quicker than writing a /. article.

    --
    Nullius in verba
  4. TCP/IP Optimization by MBCook · · Score: 5, Informative

    I'd guess it's some kind of TCP/IP optimization (the default size of packets, etc). It's set to one thing on Ubuntu, and another on Windows (probably for some historical reason or due to some old buggy driver).

    If that's not it, I'd bet pretty high it's a bad driver in Windows.

    It's quite likely that either Windows or Ubuntu is intrinsically faster for some reason, but I doubt the difference based on the way the networking stack is designed is anywhere near 10%, let alone 50% for a link this fast. On 10 gigE maybe, but not on a simple cable modem.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  5. A bogus test by dark+grep · · Score: 5, Insightful

    Great, very scientific. Swap the OS on both machines and see if the results hold. Otherwise 'almost exactly the same' doesn't cut it. Do a real test - the way it is described here is bogus. It may excite the Linux fan boi's but no one else is going to take it seriously.

  6. Re:Even if the answer is no... by corsec67 · · Score: 5, Informative

    True, but considering both computers should easily be able to saturate a 100baseT connection, shouldn't both configurations be able to saturate a 22Mbps link?

    This is different than the guy complaining that the computers can't fill a gigabit ethernet connection with a scp transfer while music is playing.
    The http that the speed test should be using doesn't have any encryption, shouldn't be using gzip, and it shouldn't be saved to hard drive.

    --
    If I have nothing to hide, don't search me
  7. TCP Window Size is the likely culpret. by Above · · Score: 5, Informative

    It's the TCP implementations, and probably the TCP window size limits. Windows could turn in the same numbers if properly tuned.

    You want to read this article for all the in-depth details: http://www.psc.edu/networking/projects/tcptune/

    Windows has a default set many years ago, and never updated. Most of the Free Unix variants update every release, and some new variants even have fancy auto-scaling code. Any time you want to get over 10Mbps/second across any real latency with a SINGLE TCP stream you probably need to do some tuning, for some OS's the limit is much lower.

    ISP's run into this all the time. An uninformed admin buys a GigE in LA and NY, pops up an FTP server and wonders why he can only get a few megabits a second across the "crappy network". A few settings later and behold, the same hardware can saturate a full gigabit.

    Note, don't just go set your values really high, there are performance (memory used) tradeoffs....

  8. Re:No, haven't RTFA, thank you very much by jackharrer · · Score: 5, Informative

    Actually I can see it all the time. My Ubuntu laptop's (IBM T42) WiFi is about 50% faster that the same configured Windows machine of my wife. We're talking about SAME hardware. I don't really know if it's drivers, or something else.

    Performance on LAN is more similar, difference is about 10-20% max, but with this kind of hardware it heavily depends on HDD to write data and Windows is crap at this - it's swapping - god knows why!!!

    --

    "an experienced, industrious, ambitious, and often, quite often, picturesque liar" - Mark Twain
  9. Re:Even if the answer is no... by hansamurai · · Score: 5, Insightful

    Not to mention the ultra reliable online speed tests.

  10. Uh.. by mikkelm · · Score: 5, Insightful

    Only on slashdot can you have front page articles featuring original "research" done with no controls, no baselines, dissimilar base conditions, and sample bases of one single result, and have the headline speak conclusively in favour of the observed results.

    If it makes FOSS looks good, that is. This is worse than digg.

  11. Re:Even if the answer is no... by gad_zuki! · · Score: 5, Insightful

    Who gets 22mbps from a cable modem? Regardless, Im guessing either the ubuntu machine wasnt configured to use the ISPs web proxy but the windows one was or that the windows machine's antivirus was crippling the download.

    This is a really lazy test. Didnt swap out hardware, didnt try different networks, didnt try clean installs, didnt tell us what network drivers he was using, didnt try anything really.

    Also, there's no unique thing as "downloading." Its just TCP/IP. Why not try a share on the local lan? That simplifies things quite a bit. Or at the very least get off your ass and try a different ISP.

    I want to say I'm surprised something so shoddy got on the slashdot, but I really am not that surprised. Between the lazy posts and idle stuff somehow getting loose into other sections, slashdot has gotten pretty crappy lately.

  12. Re:Dated OS? by vux984 · · Score: 5, Insightful

    Yeah, if its a 12mbps link, and ubuntu is getting 22mbps, there is more likely something else going on than "ubuntu > xp" here.

    A lot of cable providers provide 'speed boosts' to the first bit of bandwidth you request from a given source. It makes the internet as a whole a lot snappier, while large downloads etc take about as long as usual.

    Perhaps they speed boosted his ubuntu test for some reason.

    Another possibility, is that their bandwidth analyzer isn't working properly on ubuntu and is reporting double what it should be.

    I mean, if XP was getting significantly less than his link speed and ubuntu was getting the full link speed I'd suggest bad drivers, bad cable, bad something... but XP is delivering what it should be, while ubuntu is delivering apparently more than is possible -- so my first approach would be to ensure ubuntu is REALLY getting 22mbps here, and determine how that's even possible.

    e.g. ... When you measure the speed of light and find it to be twice c, your first assumption would be that you've done something seriously wrong in calculating the result, not that you've just figured out a technique for FTL communications.

  13. Re:Is this.... by Dude+McDude · · Score: 5, Informative

    That's a myth.

    Clarification about the use of QoS in end computers that are running Windows XP

    As in Windows 2000, programs can take advantage of QoS through the QoS APIs in Windows XP. One hundred percent of the network bandwidth is available to be shared by all programs unless a program specifically requests priority bandwidth. This "reserved" bandwidth is still available to other programs unless the requesting program is sending data. By default, programs can reserve up to an aggregate bandwidth of 20 percent of the underlying link speed on each interface on an end computer. If the program that reserved the bandwidth is not sending sufficient data to use it, the unused part of the reserved bandwidth is available for other data flows on the same host.

    http://support.microsoft.com/kb/316666

  14. Dual Booting - Speeds I logged by FredMcCord · · Score: 5, Interesting

    Dell XPS M1530 Intel Core 2 Duo (2.16ghz) 3 gigs RAM Dual Booting Windows Vista Home Premium AND Ubuntu 8.10 http://www.bandwidth.com/tools/speedTest/ Six tests per OS. Vista: Download/Upload 7616/2795 7865/2724 6407/2755 10050/2800 12320/3925 15854/2905 Ubuntu: Download/Upload 12939/5897 8849/12122 15373/18646 20040/17093 8461/14969 17885/13807

  15. Re:Even if the answer is no... by Kent+Recal · · Score: 5, Informative

    A new low in slashdot history. Can't remember a worse headline and article in recent times, can anyone else?
    This article is just one big WTF. Is slashdot that desperate for traffic?

    By these standards your nut article will indeed make a headline soon.
    And why did my submission not get posted, yet:
    My windows PC with a 27 inch screen runs at 1600x1200 resolution, my ubuntu on a 15 incher only 1024x768. Are windows graphics drivers better than the linux kernel?"

  16. Re:TCP packet size. tcp window scaling. by Kremit · · Score: 5, Informative

    I'm a sysadmin at Ohio State, and a number of old firewalls (really old OpenBSD version plus badly-written pf scripts, still in use!) have the same problem. The connection through them breaks when any computer using TCP window scaling over "2" (Windows Vista, Linux) tries to connect to a server behind the firewall. So, yes, window scaling will either make the connection blazing fast, or will block certain users if a bad router/firewall is on the route between the computer and a server.

  17. Re:Even if the answer is no... by Junior+J.+Junior+III · · Score: 5, Funny

    There are many good reasons to criticise Virgin, but they don't fuck around

    Well, to be perfectly honest, that's always been my number one criticism of Virgin.

    --
    You see? You see? Your stupid minds! Stupid! Stupid!