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

110 comments

  1. Lol. by Anonymous Coward · · Score: 2, Funny

    Linux: Because sometimes you want slow and awful.

    1. Re:Lol. by ushering05401 · · Score: 5, Funny

      Linux, 'cause even Windows techs need real tools sometimes.

    2. Re:Lol. by Anonymous Coward · · Score: 0, Funny

      Linux, 'cause even Windows techs can be a real tools sometimes.

      There, fixed that for ya!

    3. Re:Lol. by im_thatoneguy · · Score: 4, Funny

      Dear lord if you're going to troll... at least get the grammar right:

      Linux, 'cause even Windows techs can be real tools sometimes

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

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

    6. Re:Lol. by EthanV2 · · Score: 0, Flamebait

      It's funny how the post mocking Linux gets modded Flamebait, yet the post mocking Windows gets (Score:5, Funny)

    7. Re:Lol. by nog_lorp · · Score: 1

      You realize that was probably the real troll hidden within the more obvious Wintroll.

    8. Re:Lol. by hmar · · Score: 1

      Well, the post mocking Windows was a little clever, the post mocking Linux was just mean.

    9. Re:Lol. by nschubach · · Score: 1

      You could always hang out at http://www.neowin.net/ if you don't like it. ;)

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    10. Re:Lol. by Jurily · · Score: 1

      You realize that was probably the real troll hidden within the more obvious Wintroll.

      You realize he's still a moron.

    11. Re:Lol. by Blakey+Rat · · Score: 1

      Windows has tools to do that. We used one when I was testing Xbox 360 Live games for MS that ran on Windows 2000 over ICS, and could inject any amount of latency or packet-loss you wanted.

      This is just some guy going with "what he knows" instead of bothering to look for another solution. To suggest it's some kind of deficiency with Windows is stupid.

    12. Re:Lol. by h4rr4r · · Score: 1

      This windows tool is free and the source is available?

      ICS is not free last I checked.

    13. Re:Lol. by Blakey+Rat · · Score: 1

      I really don't know, I only used it when I worked at Microsoft, and obviously when you work for them the licensing isn't that big a deal. I'm nearly 100% sure it was, at the very least, part of the Xbox 360 development kits, which means it could also be a standard component of Visual Studio. But I really don't know.

      Also, who cares if the source is available as long as it works?

    14. Re:Lol. by h4rr4r · · Score: 1

      For when it does not work, so you can fix it.
      Or for when MS or whoever stops supporting it.

  2. so.... by Anonymous Coward · · Score: 5, Funny

    Linux has to be forced to degrade network performance. Windows does it automatically.

    Did MS ever fix that 10 TCP/IP connection limit?

    1. Re:so.... by Anonymous Coward · · Score: 5, Funny

      Did MS ever fix that 10 TCP/IP connection limit?

      What? So if I open a tenth browser tab I won't be abl

    2. Re:so.... by Anonymous Coward · · Score: 3, Interesting

      I think the still haven't fixed the thing where Vista is limited to 100mbps if you are also playing audio.

      They should have stuck with the BSD network stack. As many bugs as they inserted into it to make it vulnerable, it still would pass traffic at the full data rate.

    3. Re:so.... by BattleApple · · Score: 5, Funny

      well at least it hit the submit button for you before crashing

    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:so.... by somersault · · Score: 1

      they boast it as malware limiting

      That's like a car's windows not being able to close fully and the manufacturer saying "it's a good thing too, because the air conditioning sucks!"

      --
      which is totally what she said
    6. Re:so.... by digitalunity · · Score: 2, Interesting

      I've found when transferring files across my local network, if I have any audio applications open I can't get more than 28-30 Mbps out of my wireless. If I close the audio application, I can often get over 40 Mbps.

      --
      You can't legislate goodness. Let each to his own destiny, by will of his freely made choices.
    7. Re:so.... by kenh · · Score: 1

      First off, how many incomplete outbound TCP-IP connections do you really need to have open inside of one second?

      Windows XP, Vista, and Windows 7 are all DESKTOP OS, and the stated goal is to limit the spread of certain types of malware...

      If you read the article referred to, the excessive outbound connection attempts are not dropped, they are delayed to maintain a manageable flow of information.

      If I were to run a port scanner against a /24 subnet, that would mean it would take at least 2.6 seconds, since it would throttle the requests to each IP to a rate of 10 per second - what the heck is wrong with that? Must it be able to spew all 256 connection requests instantly?

      A little research leads me to the conclusion that this is a meaningful effort to have a positive impact on the spread of malware on Windows XP, Vista, and Windows 7 desktops.

      There is (was) also a limit on in-bound connections, made popular when Tim O'Reilly published a hack to turn Windows NT Workstation into Windows NT Server, allowing more than 10 in-bound connections, allowing companies to deploy lower-cost Workstation OS as web servers. Here is a brief recap of those events.

      --
      Ken
    8. Re:so.... by mhall119 · · Score: 1

      First off, how many incomplete outbound TCP-IP connections do you really need to have open inside of one second?

      Eleven? Maybe twelve? I don't know, and I'm pretty sure Microsoft doesn't know either, so why are they deciding for me?

      Windows XP, Vista, and Windows 7 are all DESKTOP OS

      Oh, so that's a good reason to limit their networking potential? Every other "DESKTOP OS" can do more than 10.

      and the stated goal is to limit the spread of certain types of malware...

      Wow, security through....what, sloth? That's a new one on me.

      Must it be able to spew all 256 connection requests instantly?

      If that's what I want it to do, why shouldn't it?

      A little research leads me to the conclusion that this is a meaningful effort to have a positive impact on the spread of malware on Windows XP, Vista, and Windows 7 desktops.

      Perhaps a little more research is in order then. Not only does it not seem to be effective as stopping the spread of Windows malware, but not having this limit hasn't seemed to increase the amount of malware on any other OS.

      --
      http://www.mhall119.com
    9. Re:so.... by lsatenstein · · Score: 0

      Happens with IE8 and XP, only the limit seems to be every second tab. The ones skipped over are left blank.

      --
      Leslie Satenstein Montreal Quebec Canada
  3. Seems like a lot of work by seebs · · Score: 4, Funny

    Why not just use a Vista box and play an MP3?

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
    1. Re:Seems like a lot of work by Quantos · · Score: 0

      You've noticed this too eh?
      It does the same thing if you start Solitaire or Minesweeper.
      I'm also wondering why this is news, I could understand it being in the Idle, but not the front page.

      --
      Some people are only alive because it's against the law for me to hunt them down and kill them.
    2. Re:Seems like a lot of work by Anonymous Coward · · Score: 1, Funny

      Because that would take a good 4 or 5 hours to install.

      But I guess MS would call that a strength of Vista: It takes hours to setup before it can fail while you can make Linux fail right away!

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

    4. Re:Seems like a lot of work by Anonymous Coward · · Score: 0

      Funny. In 1998 my Pentium 133MHz could play mp3 just fine under Linux, except if I used Enlightenment instead of a more lightweight window manager. IIRC it didn't used to skip on OpenBSD either. Perhaps a sound card driver issue?

    5. Re:Seems like a lot of work by LoRdTAW · · Score: 1

      I believe the skipping is a limitation with X windows and not the Linux kernel. When you click to drag, the process that spawned the window is "paused" until you let go of it. This prevents X windows from going crazy trying to redraw the windows while moving which could cause problems. At least that what I read somewhere.

    6. Re:Seems like a lot of work by Anonymous Coward · · Score: 0

      Funny. In 1998 my Pentium 133MHz could play mp3 just fine under Linux, except if I used Enlightenment instead of a more lightweight window manager. IIRC it didn't used to skip on OpenBSD either. Perhaps a sound card driver issue?

      Funny, my iPod never skips playing, no matter even if my notebook crashes. Syncing it under Linux is a pain for me however (I dual boot with ubuntu).

    7. Re:Seems like a lot of work by Anonymous Coward · · Score: 0

      No, I've seen the same thing he's talking about. You could move any window, not just the one playing the mp3. Even scrolling in the browser could cause playback to stutter, because the performance was shite.

      However, for me that was using the non-Nvidia nvidia module. Once I got the non-free driver installed, there was no more problem.

    8. Re:Seems like a lot of work by uid8472 · · Score: 1

      The thing you read somewhere is wrong. There does exist the XGrabServer call, which some window managers use in some cases (mostly older WMs, I suspect), but the documentation strongly recommends using it as little as possible. In no case is anything like that inherent in X11.

    9. Re:Seems like a lot of work by BikeHelmet · · Score: 1

      I've seen this behaviour too, on a board with a craptastic Via Unichrome Pro IGP.

      I suspect something locks down the CPU while screen redrawing is occuring.

    10. Re:Seems like a lot of work by Lorens · · Score: 1

      You wanted BeOS . . .

    11. Re:Seems like a lot of work by Tubal-Cain · · Score: 4, Funny

      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.

      Try throwing bricks.

    12. Re:Seems like a lot of work by GuldKalle · · Score: 1

      Yeah, winamp really didn't stop for anything back in those days. On my win9x-system it would happily play through some bluescreens as well.

      --
      What?
    13. Re:Seems like a lot of work by alexandreracine · · Score: 1

      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.

      Try out the windows...

      --
      No sig for now.
    14. Re:Seems like a lot of work by Anonymous Coward · · Score: 0

      Yep its a problem with X. Thats why until I had decent hardware, id open up a console and play mp3s from mpeg123. Still do to this day when I get sick of GUI annoyances.

    15. Re:Seems like a lot of work by Anonymous Coward · · Score: 0

      Try throwing chairs.

      Fixed that for you.

    16. Re:Seems like a lot of work by anonymousmeatbag · · Score: 1

      Had the same experience. In winamp there is an option about size of the buffer used for decoded audio. I usually set it to 5000ms but I remember it can be set much higher. This allowed for winamp to play even during the blue screen for limited time, often until the song ends depending on cause of the BSoD.

    17. Re:Seems like a lot of work by toddestan · · Score: 1

      Winamp runs in the "high" priority class, which meant that few things could interupt it. Despite this being something that many people would frown upon, it actually worked pretty well. You should be able to do basically the same thing in Linux on older hardware.

  4. Goal? by zombietangelo · · Score: 2, Insightful

    What is the point of doing this? Is this even of remote interest to anyone other than the author of the article? If there's a genuine reason for this to be important or at least intriguing, someone please speak...

    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:Goal? by Haley's+Comet · · Score: 1

      What is the point of doing this?

      Actually, I was thinking of adding bandwidth throttling to certain parts of a subnet. This info is exacly what you need when you don't know where to start (for me at least).

      Shit wifi performace is a standard Linux 'feature'

      Com on now, switch distro's. How long did you research? Oh wait, your friend said "here, this is the distro for you..."? Try http://www.pclinuxos.com/, or you could just accept that the US government has outlawed the OEM's of wi-fi from open sourcing the drivers. (some clueless dumbshit thought it would keep hackers from destroying infrastructure) This means we have to "wrap" or reverse engineer - so yeah, the drivers of most suck. Even though you were OT.

      --
      The Illuminati would kill me, but I'm not rich enough to take notice of.
    3. Re:Goal? by Anonymous Coward · · Score: 0

      I've used this to help me design websites for bad connections by adding latency and reduced bandwidth. I already try to keep page sizes down, but it helps to see the website rendered as someone over a 56K modem would see it.

    4. Re:Goal? by phoebus1553 · · Score: 1

      Sure it is interesting. Lots of times you can't adequately simulate 'real world conditions' in an office LAN or even with consumer grade connectivity.

      Example: At my job we operate a work-at-home business that transmits essentially a voip phone call from various locations of a certain restaurant chain to the worker's home over two dsl lines, but without the luxury of being able to 'redial'. The only DSL we can actually get in our office is too close to our datacenter (under 5 hops) to adequately simulate natural conditions.

      We need to be able to make our solution able to cope with crappy lines and the only way to do that is by artifically generating latency. We had been using this old tech: http://www-x.antd.nist.gov/nistnet/index.html but it is unmaintained now and while it runs well, finding a suitable distro to run it on is troublesome in the event our nist box ever kills itself or should another such dismal fate befalls it. This type of thing would be much better albeit w/o the pretty gui ;)

      I'll definately be looking into the tc command more, I had examined it the last time I needed the test but somebody finally located the working nist box before I could get too deep in the man page.

      --
      ----- - The beatings will continue until morale improves
    5. Re:Goal? by FooAtWFU · · Score: 1

      My company has a Linux box (named "slow-router") that does exactly that, to simulate network latency talking to remote devices over the network. I think it might even simulate random packet loss and such as well. It's useful to be able to do, but it's also not all that difficult... or newsworthy... good blog post, poor Slashdot post.

      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    6. Re:Goal? by Orion · · Score: 2, Interesting

      I just went through a similiar exercise at work, to determine if TCP was a good enough protocol for a slow point to point wireless connection with a high bit error rate.

      We ended up using DummyNet on FreeBSD, mostly because we happened to have a high-end FreeBSD box handy...

    7. Re:Goal? by cheetah · · Score: 1

      This really is a something that has been around for a long time. One of the most interesting uses I have found for it is; simulating the effects of satellite Wan connections. Most of these links have about 600ms of end-to-end latency and without something like this simple tc command it is difficult to simulate this without actually hooking up to a real satellite connection.

      Other uses; I once bandwidth limited one of my old roommates. Every week I would shave a little bit more bandwidth off of his connection. I think I started at about 500kbit and by the end of the semester I had him down to about 16kbit. We were waiting to hear him say something about the slow Internet connection. The whole time he didn't say a word and he just assumed that his computer was slowly dieing on him. ^^

    8. Re:Goal? by godrik · · Score: 1

      well, tc is used on research grid on networking, tcp slow start, peer to peer simulation... It is clearly not new and I do not understand why this is posted on /. today...

    9. Re:Goal? by iYk6 · · Score: 1

      I tried playing an online linux game called Daimonin. It is kind of like a multiplayer of the old Ultima's. AFAIK, it still suffers from a serious problem, in that it doesn't do any client side prediction, and so there is severe latency between every move and every action (about half a second, which makes the game too painful to play). I tried to fix it, and started by attempting to introduce some lag on my local connection, but didn't find a way to do it.

      I have since discovered several methods of making a connection more internet like. Using iptables (or tc like in the article), you can introduce lag. You can also drop a certain number of packets, and cause UDP packets to show up out of order. I think a tutorial might be in order, as I was unable to find one years ago.

    10. Re:Goal? by Anonymous Coward · · Score: 0

      I use PCLinuxOS. I use native Intel drivers, no ndiswrapper, and seems to work fine on my Intel 3200BG WiFi card.

    11. Re:Goal? by RAMMS+EIN · · Score: 1

      ``What is the point of doing this?''

      What is the point of simulating a slow, lossy network? Why, figuring out how your setup would behave if it were in a real slow, lossy network, of course!

      I use tricks like this quite frequently when developing network software and network protocols. Especially when I'm working on my forward error correction protocol, because that is _intended_ for slow, lossy networks. Alas, my Ethernet is very fast and very reliable. ;-)

      --
      Please correct me if I got my facts wrong.
    12. Re:Goal? by TheRaven64 · · Score: 1

      It is genuinely useful. One of the things I needed to do for my PhD was test a protocol I'd been designing in high-latency environments. For the early testing, I used the FreeBSD box under my desk as the server and my laptop as the client, and just told dummynet to add 100ms of latency into the connection. Later, I added some real world tests, but this was very convenient because the latency was entirely deterministic and so the results were reproducible. You can control latency, packet loss, and throughput (and jitter, I believe) like this, which is really great for testing how a protocol (or an implementation of a protocol) handles poor network conditions. I was testing with 200ms round trip time and 5% packet loss (which is what I get from a very flakey UMTS connection in a poor signal area), but with a lot more bandwidth than you'd be likely to get from such a link (the protocol was for a remote virtual memory implementation, where spare bandwidth was used for adaptive precaching and not having the required data already present on the client when it needed it completely killed performance. If you needed to ask for a retransmit over a 200ms delay before you did any processing, CPU usage on the client averaged to under 1%).

      --
      I am TheRaven on Soylent News
    13. Re:Goal? by bunratty · · Score: 1

      At my wife's company, most employees have Windows XP laptops and can connect to the file server at work using openVPN. Even though latency is only 40 ms, Windows XP is incredibly slow at accessing the file server. Even simple operations such as getting a directory listing can take several seconds. Opening a small Word document takes over 30 seconds.

      If Windows 7 has a feature that speeds up this access, it's going to be of great interest to many people. Of course, if Microsoft fixed the poor performance of CIFS over high latency networks, it would be even better.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    14. Re:Goal? by phayes · · Score: 1

      I beg to differ, for me, this is geek news. I found TFA & the following discussion interesting. It touches subjects that interest me peripherally but that I never needed to research. Now, I've been able to discover some interesting tools it would have taken me a while to discover otherwise.

      --
      Democracy is a sheep and two wolves deciding what to have for lunch. Freedom is a well armed sheep contesting the issue
    15. Re:Goal? by Anonymous Coward · · Score: 0

      Other uses; I once bandwidth limited one of my old roommates. Every week I would shave a little bit more bandwidth off of his connection. ...he just assumed that his computer was slowly dieing on him. ^^

      You're kind of a dick.

  5. The truth is.. by miknix · · Score: 1

    that Linux is awesome for research!

  6. so by Idimmu+Xul · · Score: 3, Insightful

    how did that windows caching stuff he was testing out perform? or is this article just a synopsis of the man page for a common command .... ?

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
  7. Are they trying to say something about GPRS? by jx100 · · Score: 1

    I love how the previous story was this one:
    http://mobile.slashdot.org/article.pl?sid=09/04/09/220244

  8. 100ms by Anonymous Coward · · Score: 0

    100ms of latency is a crappy WAN connection?

    How spoiled we've become. 100ms was playable in Quakeworld.

    1. Re:100ms by Atti+K. · · Score: 1

      Yep. And latency is not everything. Bit errors, lost packets, out of order packets? That's a really shitty connection.

      --
      .sig: No such file or directory
  9. How about using FreeBSD instead? by Anonymous Coward · · Score: 0

    FreeBSD's dummynet seems to provide something similar as well.

    http://www.scalabledesign.com/articles/dummynet.html

  10. WANem would have been better by KrisJon · · Score: 1
    1. Re:WANem would have been better by AcquaCow · · Score: 1

      WANem is a FANTASTIC product.

      I use it heavily at work for generating latency into our net applications to see how they might behave across really shitty links.

      It's great injecting out of sequence and randomly ordered packets at the click of a button =)

        -- Dave

      --

      up 12 days, 22:30, 2 users, load averages: 993.20, 994.21, 994.56
      *makes note to limit user processes...
  11. Excellent tool for testing by hwyhobo · · Score: 4, Insightful

    Such capability is very useful to network folks to predict application behavior and best management approaches in various environments. We used FreeBSD for that purpose, but the effect was the same. We injected 350ms latency in each direction, and presto - satellite communication. That is enough to cripple TCP connectivity through a sizable pipe (latency will preclude the flow from taking entire pipe). By testing various acceleration methodologies, you can see first hand which one will allow you to fully utilize the bandwidth you are paying for, all in the comfort of your lab.

    --
    End anonymous moderation and posting on /.
    1. Re:Excellent tool for testing by Anonymous Coward · · Score: 0

      With FreeBSD you can also use the pf firewall (which comes from OpenBSD). Pf allows an easy interface to ALTQ, which is a very advanced traffic shaper, so you can not just only add latency, but also simulate low bandwidth scenarios. It is also easy to simulate packetloss.

      Besides pf and ALTQ, the IPFW firewall also offers some similar tricks.

    2. Re:Excellent tool for testing by Anonymous Coward · · Score: 0

      350ms for Satellite???? I wish

      Pinging google.com [209.85.171.100] with 32 bytes of data:
      Reply from 209.85.171.100: bytes=32 time=686ms TTL=235
      Reply from 209.85.171.100: bytes=32 time=776ms TTL=235
      Reply from 209.85.171.100: bytes=32 time=656ms TTL=235
      Reply from 209.85.171.100: bytes=32 time=709ms TTL=235

    3. Re:Excellent tool for testing by hwyhobo · · Score: 1

      350ms for Satellite???? I wish

      Please read my original post again. I quote: "in each direction".

      --
      End anonymous moderation and posting on /.
    4. Re:Excellent tool for testing by compnut125 · · Score: 1

      http://wanem.sourceforge.net/ is a great tool for this. We use it at work to test thin clients over simulated WAN links. It has a ton of options (latency, jitter, packet loss, bandwidth, etc).

    5. Re:Excellent tool for testing by srvivn21 · · Score: 1

      Such capability is very useful to network folks to predict application behavior and best management approaches in various environments. We used FreeBSD for that purpose, but the effect was the same. We injected 350ms latency in each direction, and presto - satellite communication. That is enough to cripple TCP connectivity through a sizable pipe (latency will preclude the flow from taking entire pipe). By testing various acceleration methodologies, you can see first hand which one will allow you to fully utilize the bandwidth you are paying for, all in the comfort of your lab.

      Even better, with dummynet on FreeBSD, you can add loss to the equation (http://www.cs.unc.edu/~jeffay/dirt/FAQ/comp249-001-F99/dummynet.html) to simulate a dirty satellite link (such as one in need of a re-peak). Good times...

  12. That's nothing... by __aaclcg7560 · · Score: 1

    Throw in a 300 baud modem if you want a crappy network connection. You can read a newspaper (dead tree edition) while a screen of text is downloading.

    1. Re:That's nothing... by Bill,+Shooter+of+Bul · · Score: 1

      I used to do something similar, with a couple of modems, a pbx, and windows internet sharing. That was my slow internet test for a while. Not 300 baud, but good enough for what I was doing.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    2. Re:That's nothing... by mazarin5 · · Score: 2, Funny

      I like how you felt the need to provide a wikipedia link, just in case we wouldn't know what that was.

      Now if you'll excuse me, I think I hear some kids on my lawn.

      --
      Fnord.
    3. Re:That's nothing... by __aaclcg7560 · · Score: 1

      When I was a lead tester at Accolade/Infogrames/Atari (same company, two owners, multiple identity crises), I had younger tests who didn't think video games existed before the Playstation. They were amazed that I played Pong when it first came out. They were shocked when I introduced them to another tester who tested board games in the 1970's. You can't always assume that the youngsters know what you're talking about.

      Besides, when was the last time you saw an acoustic modem? ;)

    4. Re:That's nothing... by Anonymous Coward · · Score: 0

      The TV show, VR-5.

    5. Re:That's nothing... by mazarin5 · · Score: 3, Funny

      They were shocked when I introduced them to another tester who tested board games in the 1970's.

      Oh wow, so before video games people used to play with pieces of lumber? :D

      --
      Fnord.
    6. Re:That's nothing... by __aaclcg7560 · · Score: 1

      Sure. You take a couple pieces of board, and get a rope to tie each board to your feet, then pretend you're in blizzard trying to get home in chest deep snow.

  13. Re:Shit wifi performace is a standard Linux 'featu by BPPG · · Score: 1

    I know this is a troll, but I remember hearing someone say their wireless card works better on a linux driver than a windows driver. Unfortunately, I can't remember where, so no link. Will post again if I remember.

    --
    What's the value of information that you don't know?
  14. Maybe do a google search... by ockers · · Score: 1

    ... and you might find out about NISTnet, which has been around for YEARS... NISTnet does the same thing as this, on Linux, and also includes a statistical latency delay model which simulates real world conditions.

    1. Re:Maybe do a google search... by bazim2 · · Score: 1

      Unfortunately, NISTnet can only delay IP traffic, netem works at the ethernet layer and can delay everything. One of the great things about netem is that it can be set up to act as a bridge. Think of it as an ethernet cable with 100ms delay. NISTnet is great but it can't do that.

  15. Re:Shit wifi performace is a standard Linux 'featu by KillerBob · · Score: 4, Interesting

    *raises hand*

    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. It's now just as stable under Windows (though I replaced by router with a new D-Link 802.11n router recently too), but the throughput at long range is still better in Linux.

    As an example of the latter under Windows the useable range on my wlan caps out at about 25m. that's enough to cover my house, and much of the front lawn. Under Linux, I was able to connect to my network from the picnic table at the park across the street, about 100m. I was only getting 1mbit of throughput, probably less, but it was definitely getting better error correction and a more useable connection at that range than under Windows.

    --
    If you believe everything you read, you'd better not read. - Japanese proverb
  16. Re:Shit wifi performace is a standard Linux 'featu by gandhi_2 · · Score: 1

    someone said something? oh...well then, that's a horse of a different color.

  17. Wish I knew about this earlier by Reapman · · Score: 1

    At work we deal with satellite links in northern offices (100ms crappy? try 800ms... ), testing network apps and such it would be handy to have had this feature back when I did this sorta thing.

    Good to file away in the back of my head for future reference.

  18. used it by mapleneckblues · · Score: 1

    tc basically allows you to activate netem (a network emulator in linux). I dont know about now, but when I had used it for a project a year ago, you had to compile your kernel with netem enabled. tc then allowed you to modify your link properties to emulate wan links. Had used this with tcpprobe to analyze the performance of an Inverse Increase Additive Decrease congestion control algorithm that we had written for academic purposes (adapted from http://nms.lcs.mit.edu/papers/binomial-infocom01.pdf) and compare its performance with newreno. Fun stuff. This was a helpful reference: http://linuxgazette.net/135/pfeiffer.html

  19. FreeBSD kernel has had this since 2002 by Anonymous Coward · · Score: 0

    The "dummynet" functionality in the FreeBSD kernel has provided this for years. Works like a charm.

    http://www.freebsd.org/cgi/man.cgi?query=dummynet&sektion=4

    http://info.iet.unipi.it/~luigi/ip_dummynet/

  20. Re:Shit wifi performace is a standard Linux 'featu by brusk · · Score: 1

    Where are your power settings in Windows vs Linux? My Thinkpad's Intel wifi driver defaults to an energy-saving power mode, which results in lower performance at long distances (but is fine in my small apartment). This might not be a fair fight.

    --
    .sig withheld by request
  21. Wanem... by HockeyPuck · · Score: 1

    Try using Wanem http://wanem.sourceforge.net/ You can even download it as a vmware virtual appliance.

  22. Quality reporting by timmarhy · · Score: 0, Flamebait

    this is the kind of quality stories i've come to expect from kdawson/timothy.

    and you wonder why we all choke with laughter when you expect to be considered journalists.

    --
    If you mod me down, I will become more powerful than you can imagine....
    1. Re:Quality reporting by KiloByte · · Score: 1

      and you wonder why we all choke with laughter when you expect to be considered journalists.

      Have you ever looked at the quality of regular journalists? If kdawson/timothy make an error, it is quickly pointed out by the readers. Traditional journalists? Same or worse error rate, no corrections.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  23. Dude.. Is anybody here whining about W98? by Anonymous Coward · · Score: 1, Insightful

    It's been 13 years. In Moore years that's a long time. Let it go.

    1. Re:Dude.. Is anybody here whining about W98? by Anonymous Coward · · Score: 0

      Yes, actually. Every Slashdot thread includes at least one whine about WinME and Win95, so why not Win98 too?

  24. Lanforge by Piranhaa · · Score: 1

    Though not free (there is a trial), I played around with an appliance with a program called Lanforge installed. It's pretty sophisticated. You can setup a number of different "errors" (packet loss, jitter, delay, etc) and it can cycle between them - never constantly the same. It runs on Linux and Windows for sure, but I'm unsure about other OS's. It will also "learn" link statistics between two particular nodes and save that configuration for testing.

    Kind of neat, but I'm unsure about how much license costs are. There may easily be open source applications that could be just as good.

    Link is here: http://www.candelatech.com/

  25. 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.
  26. I needed some relief. by Anonymous Coward · · Score: 0

    So I abused myself last night.

    Can I get some mod points for letting the world know ?

  27. Re:Shit wifi performace is a standard Linux 'featu by DarkProphet · · Score: 2, Interesting

    You know, I have noticed this with my laptop in my house. Under windows xp I get one bar of connection and its flaky at best. Granted this is on the other side of the house from the router and also on a different floor, so I am not surprised by that. But in the same location on the same laptop running an Ubuntu liveCD gets better signal and a much more reliable connection.

    My guess is that the linux driver allows for a higher power setting, though over the years I've come to think that the Linux TCP/IP stack seems a little speedier than Windows... I dunno if that is really the case, but I like to think so :-)

    --
    What could possibly hurt the security of the American people more than giving our own government the ability to hide its
  28. "inefficiency" by jonaskoelker · · Score: 1

    compensated for the ineffiency(sp)

    inefficiency, I believe. HTH.

    1. Re:"inefficiency" by umeboshi · · Score: 1

      Thanks! :) I was too busy to look for the correct spelling. :)

  29. However, he is a *spoiled* Windows fanboy by K.+S.+Kyosuke · · Score: 2, Funny

    ...as demonstrated by "VIM rocks" in his text.

    --
    Ezekiel 23:20
  30. Is there nothing Linux can't do ... by Wicknight · · Score: 1

    Amazing, Linux can mess up my LAN. Next you will be telling me it can make me bald, fat and unattractive to women ...

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

  32. There is also dummynet for the BSD based systems by stickystyle · · Score: 1
    --
    Pluralitas non est ponenda sine neccesitate
  33. I just used sleep(millis); in my program... by Anonymous Coward · · Score: 0

    Can I be on the front of Slashdot too!?

  34. Reboot? Why? by Anonymous Coward · · Score: 0

    # Once my newly minted Linux box was up and running. I then configured the network properties and enabled IP Forwarding (VIM rocks, I always really hated VI): (Edit the /etc/network/interfaces file for the network settings and Edit the /etc/sysctl.conf file to turn on net.ipv4.ip_forward)

    syctl -e net.ipv4.ip_forward=1

    # I then rebooted the Linux box, and once it was back online I verified that it was able to act as my router between my two previously mentioned network segments.

    Seems un-necessary.

  35. Netem and HTB by hugetoon · · Score: 1
    These two queuing disciplines allow you to create a fairly complete WAN simulator.
    There are however few gotchas:
    • Precise Bandwidth limitation at high speed required lots of CPU, powerful bus and quality network adapters (read: server class hardware)
    • If you want to simulate a complex network and more than two nodes, you'll need IFB (or IMQ) in order to shape incoming traffic and yet some topologies would stay out of reach.
    • Keep in mind that there are two types of latencies: the "serialization" latency that depends on packet size and link speed and "processing" latency that depends on packets rate and network hardware processing power. Netem simulates the "processing" one.
    • Simulating "serialization" latency would be harder, require more CPU and as a "side" effect would also implement bandwidth limitation. As of today I'm not aware of any project that would accurately simulate "processing" latency in the Linux QoS framework.

    All that being said in most cases having a rough simulation is sufficient to validate the behaviour of an application on WAN before deployment.
    For those interested there is an excellent, 13years old but still relevant paper about latency: http://rescomp.stanford.edu/~cheshire/rants/Latency.html

  36. Can be used as a bridge too by bazim2 · · Score: 1

    One of the great features of netem is that it isn't restricted to being used on a router. If you bridge two network interfaces together you can essentially use netem to make a device which looks like a faulty link. This can be plugged and unplugged [or routed using a VLAN infrastructure] into anywhere in your network without reconfiguration of any IP details on the machines under test.

  37. Re:Shit wifi performace is a standard Linux 'featu by SinShiva · · Score: 1

    hello fellow zenwalk user i noticed significantly better wifi performance from the kernel update, too