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?"

117 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 Hottie+Parms · · Score: 4, Funny

      two-handed browsing + pr0n != a non-sticky situation

    8. Re:Linux on the desktop by Bobzibub · · Score: 3, Insightful

      Turn on Norton. ; )

    9. Re:Linux on the desktop by timeOday · · Score: 2, Insightful

      Yes, speed varies over NICs, drivers and operating systems. Big deal? What network cards and if it's generic drivers or not and so on will affect this a lot.

      Why do you think that? We are talking about 25 mbps here. I am, um, "frugal" when it comes to purchasing NIC cards for my home PC, use CAT5 from ebay, put the connectors on myself (ineptly, no doubt), and always see 95+ mbps in my LAN speed tests, every time. Unlike gigabit ethernet (that never actually reaches 1000 mbps), 100 mbps actually means 100 mbps. So it would be strange if anything but the available bandwidth limited it all the way down to 25 mbps and below. It's hard for me to imagine this was anything but transient WAN network load. I realized he repeated it several times, but hey, unlikely things happen all the time.

    10. Re:Linux on the desktop by marcosdumay · · Score: 4, Funny

      Hey, greatest post of the year!

      Ok, about compiling...

    11. 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

    12. 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.
    13. Re:Linux on the desktop by Hottie+Parms · · Score: 2, Funny

      If it involves porn, it's serious.

    14. Re:Linux on the desktop by ravenshrike · · Score: 3, Funny

      Unless you're a leftie but mouse rightie.

    15. Re:Linux on the desktop by PixetaledPikachu · · Score: 4, Funny

      cumpiling on your hard drive?

      Most likely on your keyboard

    16. Re:Linux on the desktop by kelnos · · Score: 4, Funny

      I'd be impressed that the XP system was able to squeeze 14Mbps out of a 10Mbps ethernet port.

      --
      Xfce: Lighter than some, heavier than others. Just right.
    17. Re:Linux on the desktop by brouski · · Score: 2, Insightful

      Paying for porn on the interwebs? Fail.

      --
      Proud member of the American Non Sequitur Society. We might not make much sense, but boy do we love pizza!
    18. Re:Linux on the desktop by NaugaHunter · · Score: 2, Informative
      Two would be kinda redundant.

      Hey, where's the button? The amazing new trackpad doubles as a button â" just press down anywhere and consider it clicked. No separate button means there's 39 percent more room for your fingers to move on the silky glass surface. Now that Multi-Touch gestures have come to MacBook, all the function is in your fingers. Use two fingers to scroll up and down a page. Pinch to zoom in and out. Swipe with three fingers to flip through your photo libraries. Rotate to adjust an image with your fingertips. Using the new four-finger swipe gesture, swipe up or down to access Expose modes and left or right to switch between open applications. If you're coming from a right-click world, you can right-click with two fingers or configure a right-click area on the trackpad. The more you use the Multi-Touch trackpad, the more you'll wonder what you ever did without it.

      --
      R: That voice. Where have I heard that voice before? B: In about 365 other episodes. But I don't know who it is either.
    19. Re:Linux on the desktop by Bozzio · · Score: 2, Informative

      whoosh.

      I think the GP was talking about reaching orgasm.

      --
      I just pooped your party.
    20. Re:Linux on the desktop by riceboy50 · · Score: 3, Informative

      It's in reference to a Gentoo Stage1 install where the system is compiled mostly from scratch. It looks like it is only recommended for l337 developers now as that FAQ mentions that end-users shouldn't use it.

      --
      ~ I am logged on, therefore I am.
    21. Re:Linux on the desktop by BiggerIsBetter · · Score: 2, Insightful

      The problem with your test is you're running it through Flash. If you're looking to compare OS or even browser performance, better to upload and download through something lower level (unless your goal is to test Flash application network performance).

      --
      Forget thrust, drag, lift and weight. Airplanes fly because of money.
    22. Re:Linux on the desktop by andreyvul · · Score: 2, Informative

      Yes, for being too lazy to use LFS!

      That's my experience, anyway. I was too lazy to fuck around with jhalfs and said fuckit after compiling the toolchain.
      Gentoo, on the other hand...
      Stage3 + emerge -e world + emerge -e world yields similar results to Stage1 + USE="" Stage2 + USE="" Stage3 + emerge -e world

      With a prebuilt Stage3, I only have to do USE="" Stage3 + emerge -e world. Faster :D

      YMMV.

      --
      proud caffeine whore
    23. Re:Linux on the desktop by Mr+Z · · Score: 3, Funny

      Ah, so that's why they're called Sticky Keys.

    24. Re:Linux on the desktop by drsmithy · · Score: 2, Interesting

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

      Probably because of this.

    25. Re:Linux on the desktop by gazbo · · Score: 2, Insightful
      Not really that strange - looking at the wild differences between avg and max speeds across the board just tells you that the speed test is too unreliable to draw conclusions from. With that sort of variance you'd probably have to run about 20 tests, discarding the outliers before averaging, before getting anything remotely representative for each platform.

      I wouldn't be at all shocked if he re-ran the exact same test and came up with a totally different ordering.

    26. Re:Linux on the desktop by ta+bu+shi+da+yu · · Score: 3, Informative

      They are talking about the Ancilliary Function Driver that is used for Windows sockets. By setting HKLM\CurrentControlSet\Services\AFD\DefaultSendWindow to 0x7800 allows them to set this to 480KB of data before flow control kicks in. Great if your hardware can handle it, not so great if you have crappy hardware. I believe that if you have > 32MB of RAM that the default is 8KB of data gets received before flow control throttles the connection.

      Probably will work OK if your NIC can handle it and you have enough memory. And of course if you have high enough bandwidth :-)

      --
      XML is like violence. If it doesn't solve the problem, use more.
  2. Even if the answer is no... by thedonger · · Score: 4, Insightful

    The test was done on machines with differing configurations, so therefore is not valid. But interesting nonetheless.

    --
    Help fight poverty: Punch a poor person.
    1. Re:Even if the answer is no... by Fred_A · · Score: 4, Funny

      The test was done on machines with differing configurations, so therefore is not valid. But interesting nonetheless.

      Yeah, I wasn't even the same *operating system* !

      I mean, apple and oranges !

      --

      May contain traces of nut.
      Made from the freshest electrons.
    2. 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
    3. Re:Even if the answer is no... by hansamurai · · Score: 5, Insightful

      Not to mention the ultra reliable online speed tests.

    4. Re:Even if the answer is no... by no-body · · Score: 4, Insightful

      Right - different OS _is_ a different configuration, with that logic all OS benchmarks are invalid.

      That Windoze's TCP/IP stack is inefficient compared to Linux has come up before, so - yawn!

    5. 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.

    6. Re:Even if the answer is no... by Hairy+Heron · · Score: 2, Interesting

      Who gets 22mbps from a cable modem?

      People who have cable service that gives them 22mbps? Such a thing isn't that extraordinary.

    7. Re:Even if the answer is no... by Ethanol-fueled · · Score: 4, Funny

      Already been said, but the article is terrible(WTF is wrong with you, Timothy) because the comparisons were done on two separate configurations. Would it have been that difficult to try fresh-out-the-box installs of each OS on the same box and/or maybe tried fresh-out-the box installs on the other box as well?

      TFA might as well have been titled, "My left nut is larger than my right nut but does it produce more sperm than my right nut? Discuss." The sad thing is that people are discussing things other that what a stupid fucking article this is.

    8. Re:Even if the answer is no... by MobileTatsu-NJG · · Score: 4, Insightful

      Because we all know that more RAM == more internet bandwidth right? Oh wait...

      If the machine's swapping it's not going to have a lot of room to cache that data until it's written to disk. XP is not spectacular at 512 megs.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    9. Re:Even if the answer is no... by Hairy+Heron · · Score: 2, Funny

      Yes, because the only major difference, the 256 megs of more RAM, really is what gave them double internet speeds on the test. Hahahahaha, yeah right. I guess I'm going to have to go stick another gig of RAM in my box so I can get 4x the internet bandwidth of what I have now!

    10. Re:Even if the answer is no... by compro01 · · Score: 2, Interesting

      Unless you're running on an old 4200rpm laptop drive, write speed shouldn't be a problem compared to internet speeds. 22mbps is only 2.75MBps, which pretty much any relatively modern drive can do, even near-full and fragmented to hell.

      --
      upon the advice of my lawyer, i have no sig at this time
    11. Re:Even if the answer is no... by MobileTatsu-NJG · · Score: 2, Interesting

      Unless you're running on an old 4200rpm laptop drive, write speed shouldn't be a problem compared to internet speeds. 22mbps is only 2.75MBps, which pretty much any relatively modern drive can do, even near-full and fragmented to hell.

      It is not an issue of write speed. The CPU AND the drive are busy at the same time. If swapping weren't such a nuisance demand for RAM would drop dramatically.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    12. Re:Even if the answer is no... by Foofoobar · · Score: 4, Funny

      "My left nut is larger than my right nut but does it produce more sperm than my right nut? Discuss."

      That's not your left nut. That's your head. Disgust.

      --
      This is my sig. There are many like it but this one is mine.
    13. Re:Even if the answer is no... by Hairy+Heron · · Score: 2, Informative

      Okay, I just did. Watching the network traffic there was no difference in the internet throughput. Thanks for playing!

    14. Re:Even if the answer is no... by MobileTatsu-NJG · · Score: 3, Insightful

      In six minutes?

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    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:Even if the answer is no... by Bert64 · · Score: 2, Interesting

      He should remove 256mb of ram from the Ubuntu box and try again...

      Infact, he should dual boot both machines and run his benchmarks again.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    17. Re:Even if the answer is no... by camperdave · · Score: 4, Funny

      Hmm... They both seem to get to the "Sorry, we can only stream to the United States" screen at about the same speed.

      --
      When our name is on the back of your car, we're behind you all the way!
    18. Re:Even if the answer is no... by meringuoid · · Score: 3, Insightful
      Who gets 22mbps from a cable modem?

      My cable connection in .uk is advertised at 20Mb, and I've seen it do 18Mb on speed testers. There are many good reasons to criticise Virgin, but they don't fuck around on bandwidth. A 50Mb product is planned later this year. Even ADSL connections are available up to 16Mb now.

      --
      Real Daleks don't climb stairs - they level the building.
    19. Re:Even if the answer is no... by Blakey+Rat · · Score: 4, Interesting

      Well, even if the hardware was the same, I'd blame the drivers. On Windows, lots of networking equipment has crummy drivers coded by companies that really don't care that work, but with much higher latency and bandwidth than the hardware is capable of.

      I actually get better performance off the USB wifi card in my desktop than the PCI one built-in, because the PCI one has lousy drivers and the USB one has good drivers.

    20. Re:Even if the answer is no... by harlows_monkeys · · Score: 2, Insightful

      Right - different OS _is_ a different configuration, with that logic all OS benchmarks are invalid

      When the test is to compare different OSes, the OS is NOT part of the configuration. The OS is the variable that you are testing, which is SUPPOSED to be different. All the other possible variables, are the configuration, and those are supposed to be the same.

    21. Re:Even if the answer is no... by timeOday · · Score: 2, Insightful

      Why not try a share on the local lan?

      I suppose a computer could get good bandwidth on a LAN and bad bandwidth on a WAN if its transmit buffer were too small or it wasn't sending ACKs often enough.

    22. 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!
    23. Re:Even if the answer is no... by totally+bogus+dude · · Score: 2, Insightful

      A capital M denotes "mega" while a lowercase m denotes "milli". A capital B denotes bytes, a lowercase b denotes bits.

      Therefore, Mb is right, and Mbps is exactly right: megabits-per-second. 18mbps would be 18 millibits per second, which is not a widely used measure of bandwidth.

    24. Re:Even if the answer is no... by owlstead · · Score: 2, Informative

      Well, you may not have ATM but since ADSL's are mostly managed by large telco's, the chances are pretty big. My ADSL (and all other ADSL in the Netherlands as far as I know) uses PPPoA, which uses ATM, which uses AAL5, which uses cell switching using cells with 48 byte payload and 5 byte overhead (there was an argument between a group that wanted 32 bytes and one that wanted 64 bytes so they compromised).

      More info here:
      http://pflog.net/dsl_overhead/

  3. It's the bot net by thetoadwarrior · · Score: 5, Funny

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

    1. Re:It's the bot net by hendrix2k · · Score: 4, Funny

      I believe WinAntiVirus Pro 2009 can clear that up. And probably increase d/l speeds too!

  4. amazing by dirtyhippie · · Score: 4, Insightful

    Clearly, there is no more reliable test of network performance than a flash application running inside of a web browser. On machines that are "oh, more or less" identical (I'd really like to know what network card is in them, for example?). Sheesh.

    1. Re:amazing by CDOS_CDOS+run · · Score: 2, Insightful

      Which with 512Mb of ram on XP it would be. I mean this article is interesting and I don't doubt that it's a true speed difference, but this isn't a great way to test it.

    2. Re:amazing by Fallingcow · · Score: 3, Informative

      BS. XP runs fine on 0.5GB ram. Hell, when it came out, what was the norm for a new machine? 128MB? 256?

      You're thinking of Vista.

    3. Re:amazing by Hairy+Heron · · Score: 4, Interesting

      Yeah people keep claiming this with no real data to prove it up so it's about as worthless as the shit that the article claims. My parents have an XP box with only 512 megs of RAM and it easily maxes out at the 22mbps that they have. And that's with a half dozen apps open and at least 8 things running in the background on the systray. Seriously, the extra 256 megs of RAM isn't going to give you magically 2x the bandwidth.

    4. Re:amazing by mr_mischief · · Score: 2, Informative

      The minimum spec for the original XP and for SP3 both is a 233Mhz processor and 64MB of RAM. A 300Mhz processor and 128MB of RAM was recommended. These were extremely low-balled numbers, but a system configured such would boot and run.

      Many of the applications require much more than that, though. IE7 requires 64MB minimum for just itself. Here's that requirements page.

      If you take 64 MB for the OS and 64 MB for the browser, a 128MB system will probably swap from a single browser window loading a complex page, let alone doing a large download.

      Now, add in Windows Firewall, some anti-virus software, and a couple of other resident programs. For testing, most of this should be turned off. The Windows Firewall I'd leave on because my Linux box would have iptables and possibly Shorewall or some other management wrapper around iptables running.

      Firefox 3 isn't exactly stingy on memory use, if that's what he's using on both platforms. Neither is Flash, as it seems most download speed test web sites use.

      So, yeah, he might be swapping pretty heavily at 512 MB although you're right that the base system would run okay with even less than that.

      That's not the only explanation for such a difference, though. He might be running on-demand virus scanning against the download. He might not be telling us that he's saving the download to disk and one has a faster, after-market hard drive in it. An uncontrolled test is only of anecdotal value.

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

    surely that is quicker than writing a /. article.

    --
    Nullius in verba
    1. Re:swap the ram and find out by Sockatume · · Score: 4, Insightful

      Let's not jump on the guy. He didn't write the /. article. He wrote a single-page blog post about something interesting he spotted. Maybe he's out swapping the RAM right now. Blame the Slashdot submitter and editors.

      --
      No kidding!!! What do you say at this point?
    2. Re:swap the ram and find out by noidentity · · Score: 3, Funny

      Let's not jump on the guy. He didn't write the /. article. He wrote a single-page blog post about something interesting he spotted. Maybe he's out swapping the RAM right now. Blame the Slashdot submitter and editors.

      Come on man, it's proof, PROOF that Windows is half the speed of Linux. Who are you to question this informal result? I say we go to town with it and make everyone switch!!!11

  6. 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.
    1. Re:TCP/IP Optimization by mcbridematt · · Score: 2, Informative

      Its common knowledge that Windows has an inefficient TCP stack as far as higher speed broadband connections go.

      Unblocka and TCP Optimizer are two apps commonly mentioned on the Australian Whirlpool forums.

  7. 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.

    1. Re:A bogus test by Paradigm_Complex · · Score: 2, Insightful

      It may excite the Linux fan boi's but no one else is going to take it seriously.

      Linux fans aren't going to take it seriously either. There's no reason for them to avoid thorough, empirical testing when Linux usually comes out on top anyways.

      --
      "A witty saying proves nothing." - Voltaire
    2. Re:A bogus test by rbochan · · Score: 4, Funny

      ...Swap the OS on both machines and see if the results hold...

      Sure, then he'll have to buy another XP license just for the test.
      Is that you Steve?

      --
      ...Rob
      The American Dream isn't an SUV and a house in the suburbs; it's Don't Tread On Me.
  8. this made it on slashdot? by whtmarker · · Score: 4, Informative

    The poster said 'i think ubuntu downloads stuff faster than xp but I'm not sure... the RAM is different.'

    So how did this make it to slashdot. Its not like anyone but the poster has the identical hardware to run the tests properly.

    @poster: If the machines are so 'identical' then swap the memory and run the tests again.

  9. Scientifically Bollocks by rsmith-mac · · Score: 4, Informative

    You can't test two different machines with different cases and compare the results, that's not how the scientific process works. Both machines need to be tested against the same cases - then and only then will you be able to appropriately tell if the software made a difference.

    Anyhow, back on the subject, some of WinXP's default networking parameters are a bit conservative when it comes to high-bandwidth links that don't have LAN-like latency (particularly the TCP Receive Window/RWIN); a good but short description of this can be found at DSL Reports. So I wouldn't be absolutely shocked if once he corrects his methodology, he still gets similar results, although in general I find RWIN tweaking to be bollocks compared to the few people that swear it works. Vista and later OSs include self-adjusting network stacks that compensate for this and then some (Microsoft is rather proud of their sustained bandwidth over very high latency links), so I wouldn't lose any sleep over it.

  10. Grats! by dnaumov · · Score: 2, Insightful

    You finally beat a 8 year old OS!

  11. Ubuntu a zealous web hog? by Un+pobre+guey · · Score: 4, Interesting

    Anecdotally, I have also noticed that Ubuntu boxes tend to hog bandwidth, as compared to an XP box at home. When someone on the home LAN starts downloading or streaming something from a linux box, everyone else notices it immediately. The XP box is (inadvertently?) more polite about it. Still, if you're the only one pulling in the big byte loads, faster is definitely better.

    1. Re:Ubuntu a zealous web hog? by moosesocks · · Score: 2, Interesting

      Correct me if I'm wrong, but as long as you're behind a switch or a router, any one box shouldn't be able to "hog" bandwidth, unless it's threading transfers through multiple TCP streams or somesuch....

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    2. Re:Ubuntu a zealous web hog? by Lifyre · · Score: 2, Interesting

      I was having this issue. It was starting to irritate the family more than a little over the holidays. I found that it wasn't Ubuntu that was the problem, it was the BT client I was using.

      When I tried to use Deluge it would clog the entire network and we render the net virtually unusable to anyone, usually including myself. When I changed to utorrent through wine or azureus not only did I download significantly faster the other users didn't notice my downloading. I concluded that either I had deluge configured wrong (pretty much default) or it has some issues as a program. I was extremely happy it wasn't Ubuntu that was the problem.

      -Lifyre

      --
      I'll meet you at the intersection of "Should be" and "Reality"
    3. Re:Ubuntu a zealous web hog? by totally+bogus+dude · · Score: 2, Informative

      The usual cause of this is programs which upload as fast as they can, saturating the upsteam link. Some programs are smart enough to guess how much upstream bandwidth you have and confine themselves to fit inside it without causing issues.

      It makes normal usage slow because your computer sends acknowledgements as it receives data. If the host sending you that data doesn't receive the acknowledgements, it assumes there's congestion and reduces the rate at which it sends to you. If you're uploading at full steam, a large queue of packets will build up waiting to be sent out. The acknowledgement packets, while very small, also wait in this queue; and unless you're doing some kind of traffic shaping, it's just a simple first-in, first-out queue. The acks are therefore delayed for up to a few seconds before they get out.

      The result is really slow browsing, as all of the latency sensitive stuff like DNS lookups and connection handshakes can take a very long time to complete. It can also slow down your downloads, since the rate at which the host you're downloading from will send you data is partially determined by how quickly (and consistently) you send acknowledgements.

      The solution is either to use a client which magically determines your available bandwidth and reduces it upload rate so as not to allow queues to develop, or to manually tell your client to only upload at a certain rate. A more robust approach is to use traffic shaping techniques, which basically means putting a smart queue on the router so acknowledgements, DNS lookups and other small packets can skip ahead of the bulky upload packets in the transmit queue.

  12. 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....

  13. 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
  14. 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.

  15. Forget RTFA... by Darundal · · Score: 3, Insightful

    ...lets start with RTFS. Everyone here who keeps bitching about how this isn't a decent test obviously missed the bit of the summary where he admits it isn't, and he isn't asking if Uubntu is faster than Windows. He is specifically asking whether the difference is in the machines themselves or the OS.

  16. More differences.. by mugnyte · · Score: 4, Funny

      One machine has a Hello Kitty sticker on it and faces West. Irrelevant? WE REPORT, YOU DECIDE!

      Maybe the tester is too close to a mental energy vortex...

  17. Re:Swap the RAM. by moosesocks · · Score: 2, Insightful

    I'd actually throw 1GB in both machines, and test both with that.

    Given that we're testing network performance, and not swap performance, I'd want to rule out swap file usage as a factor in this test. Ubuntu 8.04 and Firefox 3 will begin swapping in a machine with only 512Mb of RAM.

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
  18. Mod parent up! by khasim · · Score: 3, Insightful

    Who cares about the boxes themselves at this point?

    The test FAILS because they're using the Internet instead of a network where they can control the other factors.

    1. Re:Mod parent up! by ArsonSmith · · Score: 4, Interesting

      Product A in lab tests always performs over 100% better/faster than product B.
      Product B in normal use always performs over 100% better/faster than product A.

      Which are you going to want to use? Perhaps product A is designed to max the test, while product B is designed to handle varying conditions.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
  19. Right on. by Anonymous Coward · · Score: 2, Insightful

    This is Kool-Aid at its finest, and all the clueless morons feel the need to speculate on things they know nothing about with regard to an extremely flawed test. I really cannot wait until a coworker or two brings this up as if it actually had any merit, because it was on Slashdot. Given that Slashdot is owned by a FOSS company, it is in their (indirect) best interest to propagate misinformation such as this.

    The Internet would be a far superior place if people were banned from discussing what they didn't know. Of course, not many people would talk much, now would they?

  20. TCP packet size. tcp window scaling. by RichMan · · Score: 4, Interesting

    possibly due to tcp window scaling

    http://en.wikipedia.org/wiki/TCP_window_scale_option

    ubuntu does it. Windows XP does not.

    The TCP window scale option is an option to increase the TCP receive window size above its maximum value of 65,536 bytes. This TCP option, along with several others, is defined in IETF RFC 1323 which deals with Long-Fat networks, or LFN.

    -rant mode, how I found out about it.
    The secure side of the Presidents Choice banking web site is royally hosed by a machine that tries to use tcp window scaling. Why can't a web service provider, one that should be extra careful about security understand a standard concept.

    1. Re:TCP packet size. tcp window scaling. by amorsen · · Score: 2, Informative

      The problem is usually that they decided to be extra careful about security and bought a PIX.

      You'd think Cisco knew something about networking, but that knowledge certainly hasn't made it to the PIX/ASA department.

      --
      Finally! A year of moderation! Ready for 2019?
    2. 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.

  21. 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.

  22. TCP Algorithms are "Funny" by trippd6 · · Score: 3, Interesting

    I've spend a lot of time looking at this type of problem. I had a customer that wanted to transfer data at greater then 10 mbps across the internet, across the country. Lets just say with windows this is impossible.

    The problem has to do with TCP algorithms. I found the ones in windows are optimized for common cases. Linux has multiple TCP/IP algorithms you can choose from. Most are significantly better the one used in windows.

    The "problem" with TCP is it has to assume that packet loss equals network congestion. This is a good thing for an over-loaded network link. As the link fills up, it starts dropping packets. As the computers on each end of a TCP connection see this packet loss, they start "Backing off". They slow down their transmission rates until the packet loss is gone. In most cases they back way off, and then slowly increase the speed until they start seeing a little packet loss. The methods they use to determine what is congestion, how much they slow down, and how they recover from it greatly effects total usable bandwidth.

    The bottom line: TCP Algorithms greatly effect transfer speed, and no algorithm is good for every situation. Linux gives you flexibility in this area (And by default uses a better one), and windows gives you zero.

    To test raw bandwidth, you have to saturate a link with UDP data, and count how much data is received. This is pretty pointless as its not the useable bandwidth, but it does tell you the "raw" potential. The problem is the "raw" potential can be subverted by a small amount of packet loss.

  23. 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

  24. It has nothing to do with the ram... by ivanmarsh · · Score: 2, Insightful

    The Linux TCP/IP stack is more effecient than the XP stack.

  25. 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

    1. Re:Dual Booting - Speeds I logged by Anonymous Coward · · Score: 2, 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

      Screenshots of it didn't happen.

      On the related note I just did the same test with XP and Ubuntu on some random pc and I got these average results XP: 15236/5364 Ubuntu 14563/4561.

      Same story. Mod parent down.

  26. Moderators... by Brain+Damaged+Bogan · · Score: 2, Informative

    how the HELL did this garbage become a slashdot article? there was a time when slashdot actually screened out the crap and provided real tech news... if we wanted Digg we would go to Digg, we want "News for nerds, stuff that matters"

    --
    -- Sex is the antonym of pringles. Once you pop it's time to stop.
  27. Same with databases by nwf · · Score: 2, Informative

    We used to regularly benchmark Oracle on the same hardware running Linux and then Windows Server. Linux always won. Not by a huge margin, more like 15%, but saving money and getting better performance is win-win!

    --
    I don't know, but it works for me.
  28. Re:No, haven't RTFA, thank you very much by jd · · Score: 2, Interesting

    "More similar" is such a fascinating phrase. Regardless (or should that be irregardles?), Linux has better algorithms for TCP control - and a much, much wider range. If Web100 is installed (not, in this case, as it's a default install), it is also auto-tuning. Disk access is also important, and again Linux has a superior range of choices for block I/O handling. Whether comparable choices are superior on one OS or another is a different question, because again this is a default install and so all we care about is whether the default choice is a superior algorithm. Then, there is the matter of context switch overhead. Network I/O and disk I/O both use the kernel, but the application would be in user-space, so you've lots of context switches to ferry data between interfaces. (Which is a stupid design, and there is hardware out that avoids it, but if you're using an x86 anyway, why use efficient hardware?) My understanding is that Windows context switches are much more expensive than those in Linux.

    So, if you add up all of these factors, it is entirely possible that the choice of OS alone could indeed make a difference as large as is being reported, and that with a bit of tweaking, it should be possible to achieve vastly superior performance yet.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  29. TCP Window Scaling by Bert64 · · Score: 2, Informative

    I believe XP has tcp window scaling turned off by default, whereas modern Linux kernels and Vista have it turned on.
    See http://en.wikipedia.org/wiki/TCP_window_scale_option

    This can make a massive difference if there is more than a tiny amount of latency on the line...

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  30. to all you people bitching... by bkirkby · · Score: 2, Insightful

    about the rigorless "research" done by the op, just pretend that the article was posted in "ask slashdot", get off your high horses and try to contribute to the discussion.

    maybe even doing some of that rigorous research yourself.

  31. Temporary boost in download speed? by Spatial · · Score: 3, Interesting

    I know Comcast has a thing (Powerboost) where it gives you double download speeds for the first x minutes of a download. Could that be at work here?

    1. Re:Temporary boost in download speed? by MP3Chuck · · Score: 3, Informative

      I'd mod you up, but I feel compelled to reply ... since I'm amazed nobody has mentioned this.

      I just signed up for Time Warner 'net myself, and when the dude was checking the signal he mentioned something about how there's a 25Mbit "boost" that people get at random. I didn't get a chance to ask many questions about it, but he said that it wasn't just an ISP-level cache ... you're actually given 25Mbit of bandwidth for a breif amount of time. That could very well be what we're seeing here, as the numbers seem to align.

  32. This is due to TCP Window Scaling by wtarreau · · Score: 2, Informative

    Window scaling is disabled by default on windows, which limits TCP sessions to 64 kB, hence the per-session bandwidth on high-latency links such as DSL.

    10-12 Mbps is typical of a DSL link with a 50 ms RTT (=ping time). 64 kB is 512 kbit. 512 kbit / 0.050 s = 10240 kbps = 10 Mbps.

    I've already seen tuning guides on the net explaining how to enable window scaling on windows, though I'm not that much interested ;-)

    Willy

  33. Re:TCP RWIN by kbielefe · · Score: 2, Interesting

    And, point of order, why are we comparing a 2001 version (2004 if you count SP2) of Windows to a 2008 version of Ubuntu?

    Maybe because the vast majority of Windows users run XP and the vast majority of Ubuntu users run recent versions?

    The one thing many scientifically-minded people fail to take away from their college course in benchmarking is that a rigorously scientific comparison is often not the best comparison. Who cares what the latest and greatest, optimally tuned, super fair, scientific benchmark says if an average user experience is far different?

    --
    This space intentionally left blank.
  34. what about packet loss? by lukas.mach · · Score: 3, Interesting

    Fine, what is this then:

    Windows (Cygwin):

    $ ping -n 20 www.google.com

    Pinging www.l.google.com [74.125.39.147] with 32 bytes of data:
    Reply from 74.125.39.147: bytes=32 time=12ms TTL=245
    [...]
    Ping statistics for 74.125.39.147:
    Packets: Sent = 20, Received = 20, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds: Minimum = 11ms, Maximum = 41ms, Average = 16ms

    Ubuntu:

    lukas@9a:~$ ping www.google.com
    PING www.l.google.com (74.125.39.147) 56(84) bytes of data.
    64 bytes from fx-in-f147.google.com (74.125.39.147): icmp_seq=1 ttl=245 time=15.3 ms
    --- www.l.google.com ping statistics ---
    22 packets transmitted, 1 received, 95% packet loss, time 21003ms
    rtt min/avg/max/mdev = 15.321/15.321/15.321/0.000 ms

    Happens on my network no matter what I change - cables or notebooks, Vista runs ok, Ubuntu sucks big time. The only non-standard thing is that I have wired connection with manual IP address (connected by Linux based Asus router).

    lukas@9a:~$ lspci | grep Eth
    00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)

  35. Too Easy To Just Test For Yourself by Nom+du+Keyboard · · Score: 2, Funny

    Can a little extra RAM make that much difference in Internet download speeds

    This is too easy to test by swapping the memory between the two machines to actually pose as a question on Slashdot. How lazy can you be about this?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  36. Re:-1, Hoary old joke by fishbowl · · Score: 3, Informative

    >I wish apple would sell a powerbook with a real right-click.

    And I wish other laptops had the "two finger" right click and the two-finger scroll.

    --
    -fb Everything not expressly forbidden is now mandatory.
  37. Oh, come on.. by Seth+Kriticos · · Score: 2, Insightful

    I'm all for Windows bashing, but this is kind of ridiculous! I mean, wouldn't someone already have discovered if Windows would eat 50% of the network capacity in terms of transfer? This is probably an aging NIC or something, maybe a broken cable or the update was downloading SP4 the nineteenth time. Would be cool to use sensible configurations for this kind of test, like make the machine dual boot and test it on the same hardware before making wild assumptions. And now, please excuse me, I have to look for articles that bash Windows and have some valid points..

  38. Der. So does Vista. by swordfishBob · · Score: 2, Interesting

    XP's TCP/IP stack is much the same as NT has been using for quite a while. It takes ages to ramp up the TCP window size. It makes for terrible results on "speed tests" unless the test is quite a long download.
    Vista is much more aggressive in increasing the receive window.

    Run a throughput monitor of some sort while performing the test - preferably one that graphs throughput against time.

    --
    -- All your bass are below two Hz
  39. Re:No, haven't RTFA, thank you very much by totally+bogus+dude · · Score: 4, Funny

    How cunning.

  40. Re:TCP/IP is native to UNIX/Linux/BSD by Glonoinha · · Score: 2, Funny

    It was originally implemented in Windows 98, and it was the BSOD stack.

    --
    Glonoinha the MebiByte Slayer
  41. Re:-1, Hoary old joke by mobby_6kl · · Score: 2

    >And I wish other laptops had the "two finger" right click and the two-finger scroll.

    Why, so one could have more accidental right clicks and scrolls?

  42. my results ... by ianare · · Score: 3, Interesting
    comcast cable modem, on the same computer (dual boot), tested with www.speedtest.net :

    winXP x64 sp2:
    • 9178 kb/s
    • 9470 kb/s
    • 9088 kb/s

    ubuntu 8.10 x64:

    • 11052 kb/s
    • 12077 kb/s
    • 11579 kb/s

    huh, weird.

  43. did he turn QoS off in WinXP? by CDMA_Demo · · Score: 2, Informative
    Windows XP by default only allows you to use upto 80% (or so, can't find the exact figure) of your bandwidth. A tweak can take care of that, start with Dr. TCP.

    This shouldn't be news!

  44. Linux kernel has TCP auto tuning by sonofusion82 · · Score: 4, Informative

    Modern Linux kernel 2.6.17 and later has TCP auto tuning, so it can better adapt to the network and saturate it. http://www.psc.edu/networking/projects/tcptune/#Linux Windows XP default TCP window size is too small and needs registry tuning for it to be optimized high speed broadband connections. Just google for WinXP TCP tuning. Or try comparing with Vista as it has better TCP/IP stack.

  45. Re:No, haven't RTFA, thank you very much by Ragica · · Score: 2, Interesting

    On my dual-boot T61 wifi is *infinitely* faster in Kubuntu than in windows xp... because at some point for absolutely no reason I've been able to figure out (and I've tried) the Windows wifi drivers suddnely quit being able to connect to my access point many months ago... while Linux's drivers in Kubuntu continue to work just fine.

  46. Re:No, haven't RTFA, thank you very much by shaitand · · Score: 2, Interesting

    More similar sounds odd but certainly seems to be valid language to me. If item a and b have similarities they are similar, if item c has more similarities to a than b than it could be said be more similar to a while b is less similar to a.

    'irregardless'

    Nonsensical as it may seem irregardless is certainly a word now. Usage and adoption and not pedants define language.

  47. Re:Right Click in OS/X by Phrogman · · Score: 2, Insightful

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

    or I can just, you know, right click as with any mouse and lo and behold! it right clicks :P

    It might *look* like there is only one button, but it actually does register right and left clicks, just like it does when I boot into XP.

    I get sick of Mac stereotypes perpetuated by people who really ought to know better.

    Oh I use my mac because its a superior environment to work and play in, not because I am some kind of OS/Hardware snob (stereotype #2) :P

    --
    "The first time I got drunk, I got married. The second time I bought a chimpanzee, after that I stayed sober" Arian Seid
  48. The Tweak for vista... by tempest69 · · Score: 2, Informative
    pop up an admin console.. and netsh interface tcp set global autotuning=disabled

    ymmv this might mess up some sound during heavy downloads.. so far I havent had a problem.

    Storm

  49. Re:-1, Hoary old joke by fishbowl · · Score: 2

    There are a lot of things I really like about my Macbook Pro and the touchpad (quality and behavior) is one of them. I take it you disagree, so whatever.

    --
    -fb Everything not expressly forbidden is now mandatory.