Slashdot Mirror


Using Linux To Make a Slow, Awful WAN Connection

Julie188 writes "This is a brilliant little Linux trick from Windows fanboy Tyson Kopczynski. He wanted to test a new Windows 7 feature called Branch Cache, which caches remote data on the local machine to reduce traffic on a stressed out WAN connection. But how to fake a crappy WAN? Linux. 'The command that I executed (tc) made use of Linux Traffic Control (a kernel thing) which allows me to easily interject 100ms latency on eth1. Boff, Bonk, Pow, Plop, Kapow, swa-a-p, whamm, zzzzzwap, bam ... instant WAN crappiness,' he writes."

7 of 110 comments (clear)

  1. Re:Goal? by umeboshi · · Score: 4, Informative

    This seems to be valuable in situations where you are developing an application that will be accessing a database behind a dsl firewall. It would be nice to be able to profile the performance on your local network, instead of having it run too slowly to be used in the field. This happened to me once, and I fixed the problem by using a subselect, instead of multiple sql commands, but this wasn't readily obvious as the library was hiding the details of the process, and the speed of the local network compensated for the ineffiency(sp) of the code.

  2. Re:Seems like a lot of work by DrDitto · · Score: 1, Informative

    Funny. In 1996, my Windows NT 4.0 workstation box running on a Pentium 166Mhz machine would never skip playing an MP3 no matter what I threw at it. I could start 12 simultaneous programs and the WinAMP MP3 still didn't skip. I didn't get skip-free Linux MP3 playback until about 2002 with a 1.5GHz machine. Move a window, playback skipped.

  3. Re:Lol. by Anonymous Coward · · Score: 1, Informative

    Let just say its if you follow the networking security setting from MS, you will not have this problem

  4. Re:so.... by Vectronic · · Score: 1, Informative

    No, XP, Vista, Win7 all have the limit, but I'm not so sure about Server versions.

    They don't consider it a "flaw", as they boast it as malware limiting, and under most situations, it's irrelevant because 10 new connections a second is about 5 times more than most applications need. Excluding P2P, and a few Games.

    Event ID: 4226

    However, they haven't made it any harder to bypass, Hex editing, or one of a few automated versions out there for XP, Vista and Win7.

  5. Re:Shit wifi performace is a standard Linux 'featu by Jah-Wren+Ryel · · Score: 2, Informative

    Intel 8945J integrated wireless on my laptop. Dual boot, Zenwalk Linux and XP MCE 2005. Until the most recent driver from Intel, the wireless card was *significantly* stabler under Linux.

    Who needs wireless - I've got an Atherlos L1 gigabit ethernet controller on the motherboard - despite it being years old, all vista drivers for it are dogshit slow AND crash under any significant load. Under linux it works just fine. For the one vista system I must run I had to waste as slot on a PCIe gig-e card and use that instead.

    --
    When information is power, privacy is freedom.
  6. Re:Lol. by Anonymous Coward · · Score: 1, Informative

    Obviously the moderator who gave this an offtopic rating didn't read the fucking article. Its a direct quote.

    What a maroon!

  7. Followup coming... by rkhalloran · · Score: 2, Informative

    Author of TFA said his original intent was to highlight using Linux to simulate network crapfulness, but enough folks have asked your question that he's planning a followup with the actual caching results.

    SCOX(Q) DELENDA EST!!