Slashdot Mirror


Why BitTorrent Causes Latency and How To Fix It

Sivar recommends an article by George Ou examining why BitTorrent affects performance so much more than other types of file transfer and a recommendation on how to fix it. The suggestion is to modify P2P clients so that, at least on upload, they space their traffic evenly in time so that other applications have a chance to fit into the interstices. "[Any] VoIP [user] or online gamer who has a roommate or a family member who uses BitTorrent (or any P2P application) knows what a nightmare it is when BitTorrent is in use. The ping (round trip latency) goes through the roof and it stays there making VoIP packets drop out and game play impossible."

315 comments

  1. QoS? by Opportunist · · Score: 5, Funny

    Hey, I have a really spiffy idea. How about creating a router that can determine which packets take precedence? I'll make millions off that idea...

    What? Oh, damn Linux! What? Oh, Windows can do it too now? Why do I always have the good ideas about 10 years too late?

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:QoS? by Anonymous Coward · · Score: 2, Informative

      OpenWRT or DDWRT can run some nice QoS scripts to filter based on ip/port/service

    2. Re:QoS? by ILuvRamen · · Score: 3, Insightful

      yeeeeeah or for free, you could just cap the bandwidth your client uses. I cap it at 25KBps up and 400 down out of my approximate 70 up and 850 down (Road Runner) and I play MMORPGs under those conditions just fine.

      --
      Google's Super Secret Search Algorithm: SELECT @search_results FROM internet WHERE @search_results = 'good'
    3. Re:QoS? by pin0chet · · Score: 5, Informative

      OpenWRT and Tomato feature impressive QoS capabilities as well.

      L7-filter can even manage traffic at the application layer. Just set Bittorrent to "Bulk" and put Skype and Xbox live as "Premium."

      Managing traffic on the router level is a lot easier than on the PC level, especially when you have several devices on a single network competing for scarce bandwidth.

    4. Re:QoS? by Draconix · · Score: 1

      Uhhh... DD-WRT is free. I use it on my WRT54GL, and it works marvelously.

      --
      By reading this you acknowledge that you have read it.
    5. Re:QoS? by satoshi1 · · Score: 0

      Your WRT54GL wasn't free. It's safe to assume that many people still don't use routers with their cable modems, especially those with only one internet capable device.

    6. Re:QoS? by yabos · · Score: 2, Interesting

      The 3rd party firmware products like dd-wrt and tomato only does upstream QoS by default. You can make your own iptables script for the down stream though. I'm not sure how it works in implementation but I've set mine to give http full bandwidth over nntp on a certain port.

      When I'm not using http to download something then nntp can download at full speed. When I do something on http it will get the full bandwidth. It's not instant though so it takes a few seconds to kick in. I suspect it's dropping ACKs for the nntp traffic or something like that so that the nntp server stops sending so much data.

      You could do the same thing with bittorrent as long as you know the ports.

    7. Re:QoS? by ATMD · · Score: 1

      I've set QoS up on my (Gentoo) router manually using tc, and it helps a bit but the internet is definately a lot slower when people are torrenting. I'm not even talking about stuff with low latency requirements - simple web browsing becomes several times slower, and if someone's set their BT client to unlimited upload then even with my QoS, about a third of HTTP connections time out or never establish in the first place.

      I don't want to use L7 because I'm trying to /reduce/ lag, not spend precious milliseconds figuring out what's inside each packet. The quoted detection time for BT was multiple seconds, last I looked.

      Does anyone have a decent tc/iptables setup that actually removes the horrible effect BitTorrent has on every other form of net usage? Because I'd very much like to hear from them. Two more people are moving in soon and we're all geeks. We desperately need decent QoS!

      --
      Nobody else has this sig.
    8. Re:QoS? by JK_the_Slacker · · Score: 2, Funny

      They got a cable connection just for their internet-enabled toaster? Now THAT'S luxury!

      --
      I'm waiting for a "-1 somepeoplejustshouldn'tgetmodprivileges" meta-moderation.
    9. Re:QoS? by cgdiaz · · Score: 5, Insightful

      Well, since the article is about how to stop other users on the network from ruining your net experience, I think we assume they will be on a router of some sort.

    10. Re:QoS? by Dolda2000 · · Score: 1
      Oh, can Windows do it, too? How does one go about to set that up?

      (All-important disclaimer: I don't use Windows myself, of course, but I might at least be able to help people who do)

    11. Re:QoS? by WhatAmIDoingHere · · Score: 2, Insightful

      It's called a "Mac." They come from this new start-up company in California called "Apple." A silly name, I know, but you'd be surprised at how secure their OS is!

      --
      Not a Twitter sockpuppet... but I wish I was.
    12. Re:QoS? by Dolda2000 · · Score: 4, Informative
      It sounds like you're doing it wrong. I've set up HTB shaping with tc on Linux as well, and it works very well. Flawlessly, I might even say.

      There are two key points:

      • You absolutely need to limit to absolute maximum outbound bandwidth (on the root qdisc, in other words) to a value slightly below your real outbound bandwidth. This point is critical. Without it, there's no point in even trying to shape the traffic, since the modem will start buffering.
      • It helps very greatly if it is possible for you to classify torrent traffic into a HTB class with lower priority than whatever class the packets you care about go into. There are several possibilities for going about that:
        • If the program in question supports setting the DSCP field of the packets (where the TOS field went previously), you can use iptables with -m dscp to set the fwmark on them to classify more precisely (remember to clear the DSCP field before sending the packets out from your network, though).
        • If a program running locally on the router does not support setting DSCP values, you can create a group, set the program to SGID to that group, and use iptables with -m owner --gid-owner $GROUPNAME to set the fwmark. The same method can be used to set the DSCP field on packets from a Linux machine other than the router.

      For reference, here is the script that I use to set up the traffic shaping. It might prove useful to you.

      #!/bin/sh

      # Current bandwidth allocation:
      # 1:11 1:121 1:122 1:13 1:14 1:15 1:1
      # (25 + (175 + 75) + 125 + 175 + 25) = 600

      tc qdisc add dev wan root handle 1: htb default 122
      # Root
      tc class add dev wan parent 1: classid 1:1 htb rate 600kbit ceil 600kbit cburst 1500 burst 50kb
      # TOS Min-Delay
      tc class add dev wan parent 1:1 classid 1:11 htb prio 0 rate 25kbit ceil 50kbit burst 10kbit
      # Bulk
      tc class add dev wan parent 1:1 classid 1:12 htb prio 1 rate 250kbit ceil 600kbit burst 10kb
      # HTTP
      tc class add dev wan parent 1:1 classid 1:13 htb prio 1 rate 125kbit ceil 600kbit burst 50kb
      # FTP (Needs iptables support)
      tc class add dev wan parent 1:1 classid 1:14 htb prio 1 rate 175kbit ceil 600kbit burst 10kb
      # Low priority
      tc class add dev wan parent 1:1 classid 1:15 htb prio 2 rate 25kbit ceil 500kbit
      burst 10kb
      # TOS Max-Bandwidth
      tc class add dev wan parent 1:12 classid 1:121 htb prio 1 rate 175kbit ceil 600kbit
      # Default
      tc class add dev wan parent 1:12 classid 1:122 htb prio 1 rate 75kbit ceil 600kbit
      # TOS Min-Cost (Needs iptables support)
      tc class add dev wan parent 1:15 classid 1:151 htb prio 2 rate 5kbit ceil 400kbit burst 10kb
      # Auxiliary low prio bands
      tc class add dev wan parent 1:15 classid 1:152 htb prio 2 rate 5kbit ceil 400kbit burst 10kb
      tc class add dev wan parent 1:15 classid 1:153 htb prio 2 rate 5kbit ceil 400kbit burst 10kb
      tc class add dev wan parent 1:15 classid 1:154 htb prio 2 rate 5kbit ceil 400kbit burst 10kb
      tc class add dev wan parent 1:15 classid 1:155 htb prio 2 rate 5kbit ceil 400kbit burst 10kb

      # Filters
      tc filter add dev wan parent 1: protocol ip prio 1 handle 11 fw flowid 1:151
      tc filter add dev wan parent 1: protocol ip prio 1 handle 12 fw flowid 1:152
      tc filter add dev wan parent 1: protocol ip prio 1 handle 13 fw flowid 1:153
      tc filter add dev wan parent 1: protocol ip prio 1 handle 14 fw flowid 1:154
      tc filter add dev wan parent 1: protocol ip prio 1 handle 15 fw flowid 1:155
      tc filter add dev wan parent 1: protocol ip prio 2 handle 1 fw flowid 1:14
      tc filter add dev wan parent 1: protocol ip prio 3 u32 match ip tos 0x10 0x1e flowid 1:11
      tc filter add dev wan parent 1: protocol ip prio 3 u32 match ip tos 0x08 0x1e flowid 1:121
      tc filter add dev wan parent 1: protocol ip prio 3 u32 match ip sport 80 0xffff flowid 1:13
      tc filter add dev wan parent 1: protocol ip prio 3 u32 match ip sport 443 0xffff flowid 1:13

      # Leaf nodes
      tc qdisc add dev wan parent 1:11 handle 2: sfq p

    13. Re:QoS? by Cynic.AU · · Score: 1

      Hey, I have a really spiffy idea. How about creating a router that can determine which packets take precedence? I'll make millions off that idea... What? Oh, damn Linux! What? Oh, Windows can do it too now? Why do I always have the good ideas about 10 years too late? Can't remember the last time I convinced my ISP to let me install software on their DSLAM router :D
    14. Re:QoS? by glitch23 · · Score: 1, Interesting

      yeeeeeah or for free, you could just cap the bandwidth your client uses. I cap it at 25KBps up and 400 down out of my approximate 70 up and 850 down (Road Runner) and I play MMORPGs under those conditions just fine.

      I hope you don't pay too much for that service. I have Road Runner too but I get 5Mbps down and I've been able to get up to 360kbps up. I don't know what the advertised upload bandwidth is off hand. I get that for $45/mo.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    15. Re:QoS? by ATMD · · Score: 2, Informative

      That's similar to what I have, albeit with more rules and finer-grained control. Mine basically says that if the outgoing packet is > 1kb then it's probably part of a high-traffic connection and needs to be shunted to the back of the queue (low priority).

      The key point that I've missed is the master speed throttler at the trunk of the tree - of course the router's just throwing stuff at the modem as fast as it can so its queues are never full.

      Thankyou for taking the time to reply, and making my kick myself! Greatly appreciated :)

      --
      Nobody else has this sig.
    16. Re:QoS? by phantomcircuit · · Score: 2

      Did you even read the article? The entire thing was about how you could avoid having to ask other people to use the network with a lighter touch.

    17. Re:QoS? by Donjo · · Score: 5, Funny

      Was it some guy from 127.0.0.1? I used Zone Alarm once and that guy was always trying to hack me. To bad I showed him, I made a batch file and pinged him thousands of times a second. Then my computer lagged so I stopped but I think I probably got him pretty good. /sarcasm

    18. Re:QoS? by Opportunist · · Score: 1

      Ok, I admit, I have no idea how to do it in Windows. I just saw some QoS feature on Windows some time ago, could well be that it's as much a placebo as its firewall feature.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    19. Re:QoS? by schnipschnap · · Score: 5, Insightful

      You should have taken a quick look at the article first. The author basically experienced excessive lag even though he did cap his upload rate, compared to what an upload or download via a different protocol (FTP, HTTP, VoIP) would cause. This is because the BT client fires or receives packets whenever they are available, while the others receive or send packets in a spaced manner (unless they saturate the pipe). That means that even though your upload rate may be limited to 10 KB/s, if your total upload is 20 KB/s, you might experience a maximum lag of 0.5 seconds. The guy put up a lot of graphs to illustrate that it happens quite often actually. It seems that he got those patterns with the "official" client and with Azureus.

    20. Re:QoS? by BLKMGK · · Score: 1

      Yeah maybe but my experience playing first person shooters that are latency sensitive doesn't reflect his experience. I can play UT3, UT2K4, Eve too - no issues. I see pings as low as 35ms in UT2K4, I set my upload as high as 100kbs - this is a 15/15 fios connection, downloads hit as high as 1.7mbs.

      --
      Build it, Drive it, Improve it! Hybridz.org
    21. Re:QoS? by MagicM · · Score: 0, Troll

      Nerd.

    22. Re:QoS? by ZerdZerd · · Score: 1

      If you read the article, you'd see that he did just that. You'd also see that it didn't work. Go read the article.

      --
      I'm not insane! My mother had me tested.
    23. Re:QoS? by dattaway · · Score: 1

      That worked several months ago...

      I have L7 on dd-wrt, but the torrents start using encryption on port 443 almost immediately. So I block 443, then they start using random ports. Its like a game of whack-a-mole with a large fleet of computers. Try to meter one port and two more pop up. The end result is a computer saturating bandwidth with endless connections over the full range of ports.

    24. Re:QoS? by Anonymous Coward · · Score: 0

      I'm sorry, what does Apple have to do with this at all? Damn FANBOYS always think Apple is the solution to everything.

    25. Re:QoS? by WhatAmIDoingHere · · Score: 1, Flamebait

      Because, while, in my experience, an unpatched XP machine (haven't tried this with Vista) is owned in an average of 43 seconds. My Macbook Pro, on the other hand, sits on the DMZ and has no issues.

      I do also have a Vista machine, and in all fairness, it has never been infected with anything worse than Vista itself.

      --
      Not a Twitter sockpuppet... but I wish I was.
    26. Re:QoS? by LunarCrisis · · Score: 1

      I do also have a Vista machine, and in all fairness, it has never been infected with anything worse than Vista itself.

      Don't hold your breath, I don't think we have viruses that bad yet.

      --
      Mr. Period: Nine is the one that's right by ten!
      Nine: One day I will kill him. Then, I will be Ten.
    27. Re:QoS? by mrbooze · · Score: 1

      So why not make "Bulk" the default traffic classification and selectively identify the legitimate traffic that deserves higher priority? Now all bittorrent traffic is bulk no matter what port or encryption they use.

    28. Re:QoS? by mwilliamson · · Score: 1

      I've been running OpenWRT for about a year now and have had no problems at all with my voip traffic getting clobbered by bittorrent. I also provide the NOAA audio for my city's listing in weatherunderground.com 24/7 and that never seems bothered either.

    29. Re:QoS? by zamboni1138 · · Score: 1

      Just because your machines sits in the DMZ of your firewall *does not* mean that you have open ports from outside your firewall to your machine (inbound tunnel). I have plenty of machines sitting in my DMZ which have no external IP nor any open ports from the internet to the machines and have never had a problem. Yes, they run Windows, as well as Linux and BSD.

    30. Re:QoS? by Korin43 · · Score: 3, Funny

      DD-WRT is firmware for a router. So it's exactly like being behind a normal linksys router, except it doesn't suck.

    31. Re:QoS? by chubs730 · · Score: 0, Offtopic

      Don't be left out of the revolution! ~: Use it today! http://slashdot.org/comments.pl?sid=559172&cid=23484412

    32. Re:QoS? by kesuki · · Score: 1

      "You can make your own iptables script for the down stream though. I'm not sure how it works in implementation but I've set mine to give http full bandwidth over nntp on a certain port."

      this is why i like smoothwall, the best part of smoothwall is that it will run on slow, cheap computers, some have even managed to get it to run on 386's. I know old computers use more power than a linksys, but you can get a new computer based on cheap System on a chip parts, that uses about as much power as a linksys, but with all the features of a full linux machine.

      i don't know if you have to play with iptables on smoothwall express* for inbound QoS, but the 'commercial' smoothwall product has user friendly inbound configuration...

      * = free as in beer

    33. Re:QoS? by kesuki · · Score: 1

      "I have no idea how to do it in Windows"

      Free as in beer, smoothwall express http://www.smoothwall.org/get/vmware.php
      vmware player http://www.vmware.com/products/player/

      you do have to play around with your network configuration to route it through smoothwall in the vmware player, and i don't know if you can have vmware player automatically load the smoothwall vm on boot, but there probably is a way.

      a smoothwall VM will need a little cpu resource and a little ram, not as much as a full desktop linux would need though, and i've had a full debian desktop using 128 mb of ram..

      at anyrate, yes you can do it in windows.

    34. Re:QoS? by Anonymous Coward · · Score: 1, Funny

      Wow. I just went to their website, and you'll never believe the name they've chosen for their MP3 player... They'll never sell more than a few dozen units, that's for sure.

    35. Re:QoS? by Kompressor · · Score: 1

      That would indeed fix the problem for the moment, but try to think like a chess player on this one - what would their next move be?

      Myself, I would identify the legitimate traffic, and force the P2P apps to imitate it. For example, if priority was given to SIP traffic on port 5060, I would ensure that the P2P app started to operate with port 5060 in order to try and fool the traffic prioritizer.

      So, what would the appropriate response from the admin side be?

      --
      kmem russian roulette: Aquillar> dd if=/dev/urandom of=/dev/kmem bs=1 count=1 seek=$RANDOM
    36. Re:QoS? by Anonymous Coward · · Score: 0

      Hey, I have a really spiffy idea. How about creating a router that can determine which packets take precedence? I'll make millions off that idea...

      What? Oh, damn Linux! What? Oh, Windows can do it too now? Why do I always have the good ideas about 10 years too late? I have an simple solution to this problem: stop stealing things.
    37. Re:QoS? by myth_of_sisyphus · · Score: 1

      FTA: " With packet prioritization (generally referred to as QoS)... your own video downloads won't need to be stopped and they won't interfere with your VoIP or gaming."

      My Linksys router has a section conveniently called "QoS" Is there any way to adjust these settings so I don't get severe lagging while downloading the latest Ubuntu ISO? (Or something else?)

      Also, I turned on Encryption inside Azureus and my download speed jumped 4 times the rate I was getting. Just a hint for everybody who has Comcast.

    38. Re:QoS? by Anonymous Coward · · Score: 0

      tell the other user to cap the bandwidth,
      or ya, tell your router to cap the bandwidth at 75% of max.

      The reason for high latency is because of multiple senders, you are basically DOSing yourself by filling up the response queue.

    39. Re:QoS? by fast+turtle · · Score: 1

      There's a better way to handle Azureus under Gentoo: Simply restrict the damn client to no more then 10-20 connections per torrent and limit your torrents to 4 connections. The other thing is to change the cache memory limit from the default 2m to 6-8m as this actually helps things go faster. Finally the last element is to restrict the open files to =10 as that helps both the cache and memory usage of Azureus over time.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    40. Re:QoS? by toddestan · · Score: 1

      You can also try m0n0wall, which is also free. You'll also need some hardware to run it on, but if you don't have at least one suitable old PC laying around, you don't belong here.

    41. Re:QoS? by Anonymous Coward · · Score: 0

      "never been infected with anything worse than Vista itself"

      Are you saying there isn't a virus or trojan that's worse than Vista?

    42. Re:QoS? by OMNIpotusCOM · · Score: 1

      Is it secure or just doesn't have a big enough market share for anyone to care to try? I always get those two confused.

    43. Re:QoS? by Lehk228 · · Score: 1

      allow users to score their own QoS ratings, but only give them a certain amount of points so you "could" get your torrent done 15 minutes sooner, but doing so will empty your bucket of premium bits faster than it fills and leave you with shaky internet while it refills enough to be decent again. you don't need your torrent packets getting though soon just lots of them need to show up so makr your traffic honestly and your experience is better and so is everyone else's, mark it as VOIP and you'll get a single-digit percentage speed boost and crappy everything else.

      --
      Snowden and Manning are heroes.
    44. Re:QoS? by Anonymous Coward · · Score: 0

      Well, I have no idea if you've not heard this before, so let me put it this way. I'm gonna go ahead and pull some numbers out of my ass to get my point across, but for arguments sake, let's just say that Windows has a market share of 90%, linux of 5%, and mac 5%. Writing malware that MIGHT affect a 5% population would be a waste of my time. I could just write some malware to affect that 90% and get it over with. (Especially since we all know that even if Microsoft fixes it, hahaha, a good portion of the Windows users out there don't even know how to patch their systems, so the malware is semi-future proofed.)

    45. Re:QoS? by TheLink · · Score: 1

      Your config seems to be more for a single user.

      If you have multiple users, assuming that the users only get to use one IP each, you might want to achieve some sort of fairness amongst the users.

      Linux tc does not do traffic shaping per IP automatically, so if you do not want to dynamically create rules on demand, a kludge is to mask off everything but the lower bits of the user's IP address, and then use that to decide which qdiscs to put those packets in.

      You've got the main point right though - you MUST set YOUR maximum bandwidth limits (inbound and outbound) to be LOWER than what the ISP can provide you, the ISP might say they can provide you XMbps, but they might be lying.

      The analogy I often use is: the skinniest part of the straw controls the flow.

      To find out what the ISP's real limits are: first test the latency while the link is not loaded at all. Next saturate the link, and see how much the latency goes up by, if it goes up to some crap level, reduce your max limits till the latency goes down to an acceptable level.

      Not setting correct max limits is the most common reason for latency and control being bad. Once you get that right you can do the priority queues for traffic. A quick and dirty way is to just prioritize small packets that aren't fragments. Most latency sensitive applications use small packets (and there's DNS, tcp-acks etc). But some online games might use large packets to send a sudden burst of information, so if they do that you'd need to hand prioritize their traffic too.

      It can get complicated to decide how to split the bandwidth up amongst many users and maintain low latency.

      If you split to different users first, then only do the "traffic type" shaping per user, you may not get as low latency. Whereas if you split by traffic first, then shape per user for each traffic category, you might get better latency. That could depend on what sort of queuing you use.

      --
    46. Re:QoS? by Sancho · · Score: 1

      You can apply QOS rules by identifying Layer 7 traffic and boosting it up. Good luck getting Bit Torrent to looks like web traffic :)

    47. Re:QoS? by Anonymous Coward · · Score: 0

      It's called a "Mac." They come from this new start-up company in California called "Apple." A silly name, I know, but you'd be surprised at how secure their OS is! And this article has absolutely nothing to do with the security of an OS. Your comment must belong in a different thread.
    48. Re:QoS? by Hal_Porter · · Score: 1

      I've set QoS up on my (Gentoo) router manually using tc, and it helps a bit but the internet is definately a lot slower when people are torrenting. I'm not even talking about stuff with low latency requirements - simple web browsing becomes several times slower, and if someone's set their BT client to unlimited upload then even with my QoS, about a third of HTTP connections time out or never establish in the first place. Can't you make the router forge RST packets to the torrent users, like Comcast does?

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    49. Re:QoS? by Spatial · · Score: 2, Funny

      Stuff that matters. :)

    50. Re:QoS? by Hal_Porter · · Score: 2, Informative

      Ok, I admit, I have no idea how to do it in Windows. I just saw some QoS feature on Windows some time ago, could well be that it's as much a placebo as its firewall feature. The Windows firewall isn't a placebo if there's an endemic worm exploiting a flaw in the the RPC service. Back when Blaster came out I needed to enable the firewall on my home machine to be able to download the fix without it getting blasted. This was back before SP2 when it was enabled by default. With the firewall most machines don't have any ports exposed to the internet. And it's much less likely that someone finds a exploit in the firewall than some random network service.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    51. Re:QoS? by SEWilco · · Score: 1

      So run your BitTorrent client under trickle. You can tell either trickle or trickled what the maximum rates are, and the configuration file allows control based upon the name of the application; the app can use whatever port and encryption it wants, as trickle controls it at its own network interface. No guessing by the kernel what application is involved.

    52. Re:QoS? by mriker · · Score: 1

      I'm running DDWRT and have it set to give my VOIP gateway top priority, but it doesn't seem to do squat. I have to pause my torrents every time I want to use VOIP, otherwise the call cuts out so bad that it's impossible to have a coherent conversation.

    53. Re:QoS? by dmsuperman · · Score: 2, Insightful

      I have a 15mbps connection with 500 up (also not sure advertised). Even with all of that bandwidth, as soon as my single roommate starts his bittorrent client up the whole internet connection goes to shit.

      --
      :(){ :|:& };: Go!
    54. Re:QoS? by Tacvek · · Score: 1

      But what client did he use? He did not say. He also seems to assume that all clients have the same behavior here. That seems quite unlikely. Until he mentions which client(s) he tested, his study is basically worthless.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    55. Re:QoS? by xenocide2 · · Score: 3, Informative

      I've noticed similar problems at my place, and I think it's less about burst packeting and more about fair queuing. Bittorrent opens up tons of connections and VoIP doesn't. It's not that there's no time to send communications on a regular interval, it's that the VoIP app isn't getting them. In my case, I'd been pondering the ins and outs of Tomato's QoS but I mostly just throttled Deluge and called it a day when that did the job.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    56. Re:QoS? by X0563511 · · Score: 2, Insightful

      I need to come up with a greasemonkey script that automatically hides any posts containing "apple" or "mac". I'm sick of having to bother reading this tripe. I don't care what Apple comes up with, I'm not purchasing any of their products. Their philosophies of product design/use directly oppose mine, and hence all of their products are going to fit me like a pair of pants with an extra/missing leg.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    57. Re:QoS? by X0563511 · · Score: 0, Troll

      Fuck off.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    58. Re:QoS? by X0563511 · · Score: 1

      "She's gone from suck to blow!" ... but on that note, I've been a happy DD-WRT user for quite some time (WRT54GL)

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    59. Re:QoS? by statemachine · · Score: 1

      Is that a strict or interim defense? Where's your DTD? Gaah! I feel so invalid.

    60. Re:QoS? by satoshi1 · · Score: 1

      When did I ever say that I was connected to the net unprotected? Why do people jump to conclusions like that? There are people out there that have a cable modem hooked directly into their computer, no router in between. I am not one of them. I actually do run DD-WRT on my router. And even then, it doesn't really matter. I run Linux.

    61. Re:QoS? by ILuvRamen · · Score: 1

      that's a capital KB. Here for the basic package we get 8 megabits down so I'm not sure why I calculated that as 850 KB/sec, it should be 1000 lol. I've seen other Road Runner modems max at 850 on bandwidth tests for some reason. And up I usually get just over 70 KB/sec so it's about a half a megabit up which I think is what they still give us. That or like 768kbps or something weird like that. I'm sure it's not a full megabit.

      --
      Google's Super Secret Search Algorithm: SELECT @search_results FROM internet WHERE @search_results = 'good'
    62. Re:QoS? by satoshi1 · · Score: 1

      What are you talking about?

    63. Re:QoS? by Opportunist · · Score: 1

      Personally, I think putting a Windows machine directly into a potentially hostile network (and the internet is such a network) is asking for trouble. Especially when there are tried and proven ways that first of all predate Windows firewall and second are so diverse that even if one such firewall service should be hacked, it doesn't immediately become the pandemic that a hack in the Windows firewall would mean. Diversity is actually a good thing when trying to fight untargeted (read: not directed at YOU but at "as many as possible") threats.

      And I hope we can agree that the Windows firewall doesn't present any sensible protection against unwanted outgoing traffic.

      So yes, I consider it a placebo. It may actually protect from some ancient attacks, but the false sense of security it may give you is worse than knowing there's no protection and actually exercising some caution.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    64. Re:QoS? by h3llfish · · Score: 3, Insightful

      Ah yes... security through obscurity. You better hope that this "apple" stuff never catches on, or someone might decide it's worth the trouble to write a virus to go after the smug snotty douchebags of the world.

    65. Re:QoS? by Yetihehe · · Score: 1

      Yeah, just like they came after those "debians" folks. So better watch out!

      On a side note, you can say nothing is secure. It's just matter of what you define as secure. Most linux and macs are secure enough.

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    66. Re:QoS? by Yetihehe · · Score: 2, Interesting

      If this is home router, then DMZ(DeMilitarized Zone) means that ALL ports of one computer are exposed to internet. Like - if port is not already used by some other computer in network, and there is inbound connection to some port on router from internet, route this port to DMZ computer. You are on the other hand probably talking about more professional DMZ, when some computers are allowed to get some connections from internet (single ports) and are not allowed to connect to local network, but LAN computers can access internet just like with regular firewall.

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    67. Re:QoS? by Hal_Porter · · Score: 1

      Personally, I think putting a Windows machine directly into a potentially hostile network (and the internet is such a network) is asking for trouble. Especially when there are tried and proven ways that first of all predate Windows firewall and second are so diverse that even if one such firewall service should be hacked, it doesn't immediately become the pandemic that a hack in the Windows firewall would mean. Diversity is actually a good thing when trying to fight untargeted (read: not directed at YOU but at "as many as possible") threats. Well yeah, but a NAT firewall comes (almost) free with a decent ADSL/Wifi routers these days. There's a lot of diversity in routers.

      And I hope we can agree that the Windows firewall doesn't present any sensible protection against unwanted outgoing traffic. No it doesn't. But so what. I said it was useful if there's an endemic worm attacking an exploit in some Windows service and you have nothing else protecting you. This is true. For people that use ADSL modems instead of NAT routers it probably makes their machine much more secure since it reduces their attack surface. Which is the reason it was turned on in SP2.

      Actually I've never needed to block outgoing connections from home, so it's fine for me, if a bit redundant with the NAT in the router.
      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    68. Re:QoS? by WarwickRyan · · Score: 1

      >And even then, it doesn't really matter. I run Linux.

      Security by obscurity? Now where did I hear that idea before.....

    69. Re:QoS? by spazdor · · Score: 1

      A little of both. They built it on a much more solid kernel than Windows, and their update/security response cycle is reasonably streamlined.

      Windows machines are just low-hanging fruit. It's pretty simple.

      --
      DRM: Terminator crops for your mind!
    70. Re:QoS? by spazdor · · Score: 1

      I'm really sorry, but this punctuation idea is not viable. The point of /sarcasm is that a) it's a cute markup-tag joke, and b) it clarifies the intent of the preceding sentence.

      ~ will only ever be meaningful to the type of people who mostly know how to see sarcasm. If we intend our sarcasm to be an 'in-joke', i.e. we're hoping that someone mistakes us for being serious, we'll just leave off any tag whatsoever. And I think most sarcastic people will agree; if you have to point the sarcasm out to someone, they don't deserve to get the joke.

      --
      DRM: Terminator crops for your mind!
    71. Re:QoS? by Orm · · Score: 1

      Where did you learn all this? Do you have some useful links? I would like some more information about this topic, and more information how your script actually works.

    72. Re:QoS? by spazdor · · Score: 1

      An illegitimate protocol can always be encapsulated into a legitimate one.

      If they get layer-seveny, then the next step is to make Bittorent do SSL connections. (Maybe that's what encrypted BitTorrent does. Shrug.) They're indistinguishable from https traffic, so now the ISP has to treat https and bittorrent traffic identically. Other casualties will be VPNs and, well, virtually anything that implements a crypto tunnel.

      If they're actually willing to choke down on all their users' VPNs in order to fight against bittorrent, then the file sharing app may be redesigned to encapsulate the tunnels in HTTP packets. Then a layer seven app will have to somehow distinguish p2p http traffic from real web-browser traffic. Perhaps a regexp can be written that matches a certain regularity.

      The protocol can always circumvent the inspection technique, and the inspection technique can always be changed to positively identify the new protocol. Turing and Godel proved long ago that this arms race can't be won.

      --
      DRM: Terminator crops for your mind!
    73. Re:QoS? by Random+Destruction · · Score: 1

      Security by obscurity? Yeah, and it also employs some new strategy. Security by security. You know, actually making things secure. I'm sure it'll catch on other places soon.
      --
      :x
    74. Re:QoS? by Dolda2000 · · Score: 1
      I stitched together my knowledge about it from quite some places, and I've forgotten most of them, but I can provide you with some that I do remember.
      • The ADSL Bandwidth Management HOWTO from TLDP is what got me started. It is quite outdated by now, though.
      • The Advanced Routing HOWTO from TLDP. In particular, sections 9, 9.5 and 9.5.5. Note that it was outdated even when I read it, which was several years ago (you haven't had to patch your kernel to get HTB since 2.4.20 or so).
      • The LARTC site and mailing list archives.
      • The HTB home page.
      • The manpages tc(8) and htb(8). (I wish they had existed when I learned about it.)
    75. Re:QoS? by BLKMGK · · Score: 1

      I happen to be running an older version of DD-WRT. I used to try and use QOS on it but could never see it doing too much for me and am pretty sure it's turned off. I also use Vonage - with my speed maxxed out on FIOS I have no dropouts on Vonage. When I used Comcast the same wasn't true - maxxing upload would kill Vonage and my download speed, max speed was also 1/3rd of what I am getting with fios. That said - I also never noticed them throttling my torrents (encrypted w/random port, I use uTorrent).

      So, if I maxxed out on cable trouble ensued, if I throttled it back all was good. With fios I seem to be able to do any damned thing I want - it's sick! However I throttle to a fraction of my max throughput just because I see no sense in completely abusing the bandwidth I'm paying for. Even 25K up is pretty good for something running 24X7 IMO and I have it scheduled to bump up at night. Even on cable though I saw no added latency really, not with some throttling in place. I cannot explain it compared to this guy's results

      --
      Build it, Drive it, Improve it! Hybridz.org
    76. Re:QoS? by Anonymous Coward · · Score: 0

      yeeeeeah or for free, you could just cap the bandwidth your client uses. I cap it at 25KBps up and 400 down out of my approximate 70 up and 850 down (Road Runner) and I play MMORPGs under those conditions just fine. all you have to do is use azureus and limit the upload to something sensible.

      I have 756 upload so i limit to 40kb/s

      I run azureus on a server and have ps3/xbox 360, 5 laptops plus 2 desktops on at all time, no problem at all!!
    77. Re:QoS? by misxn · · Score: 1

      What happens to encrypted bit torrent traffic? Why was I told that QoS can't account for that? Particularly L7.

    78. Re:QoS? by geminidomino · · Score: 1

      tell the other user to cap the bandwidth... And if he doesn't, tell the router to cap the user at 56k/33k.

      That'll teach 'em to fsck up my Domain of Anguish crawls because they wanna download last night's "Lost"

    79. Re:QoS? by Giant+Electronic+Bra · · Score: 1

      QoS on people's cable/DSL gateways sounds like it would work pretty well. I'd think the gateway could prioritize VOIP traffic and/or deprioritize P2P traffic.

      The nice thing is it rather does away with all the issues around the ISP trying to do it. Also if you relied on the p2p client apps to do anything there will always be those which are not well implemented etc. Client network apps should not have to get involved in that kind of issue, just from an overall network design perspective.

      The beauty of it is, 99.9% of the world can simply live with whatever default QoS setup the router manufacturers provide. In the few cases where some tweaking is required it shouldn't be too hard to do. ISPs can even provide updates which are tuned to the needs of their networks.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    80. Re:QoS? by Andy+Dodd · · Score: 1

      Works great for me. You probably didn't set it up properly.

      Giving VOIP top priority won't do squat unless you prevent your cable modem from buffering data. To do this, you need to set DD-WRT to throttle traffic to about 10% below the upstream and downstream of the router cable modem. (e.g. if it can do 512 kbps up, throttle to around 450.)

      --
      retrorocket.o not found, launch anyway?
    81. Re:QoS? by pak9rabid · · Score: 1

      Haha, yea. QoS to the rescue. I got sick of my roommates using up all the bandwidth torrenting it up and I just happened to be running a Linux router/firewall. After some googling and about an hour later, I had a kickass firewall script that implemented QoS to solve that problem once and for all. I'd be happy to share it w/anyone who's interested.

    82. Re:QoS? by poot_rootbeer · · Score: 1

      How about creating a router that can determine which packets take precedence?

      Shh, don't let the "Net Neutrality" zealots hear you suggest that.

      Remember, giving preferential treatment to some packets over others is okay when some set of morally arbitrary conditions is met, but worse than communism when another random set of conditions is met.

    83. Re:QoS? by Fumus · · Score: 1

      I get 0,5Mbps down and 16KB/s up for, like $30 :(

    84. Re:QoS? by gid · · Score: 1

      This is exactly what I did in Tomato. Everything is bulk, but I classified certain things as having greater priority, such as ssh, icmp, and all UDP (for gaming, I just marked all UDP ports as having higher priority since I don't run any high bandwidth applications on my network that actually use udp).

      Works great.

    85. Re:QoS? by ChrisA90278 · · Score: 1

      Wrong. Your argument is like saying termite eat mostly wooden houses only because there are more wooden houses and leave all those concrete parking stuctures alone because there are so few of them that it is not worth bothering. No. Termites can't eat concrete. Same with Unix. Apple's Mac OS X is in fact Unix and viruses don't "eat" Unix not because there are few of them but because it is made differently of stuff that viruses don't like.

      Believe me, amoung the hackers you'd get the reputation of a lifetime if you could write a Mac virus. Many have tried. It's a prize that lots of people want. But so far no one has ben able to write one that spreads on it's own. It would be like genetically breading termites to attack a concrete building -- way hard.

      Of all operating system in the world, going back to the 1960's only Windows has had an out of control virus problem

    86. Re:QoS? by h3llfish · · Score: 1

      Wrong.

      Am I conversing with John Mclaughlin? You seem pretty sure of yourself, but I think your argument is as full of holes as a termite-invested house.

      The fact that something has not been done is no proof that it can't be done. None at all. It's just not logically sound.

      It way well be that it's harder to write a virus for Mac OS. That's probably the case. Nevertheless, I remain quite confident that if Mac were the dominant OS, viruses would sprout up all over the place. And since Mac is not the dominant OS, there's no way for you to prove me wrong, Mr. McLaughlin.

    87. Re:QoS? by blackest_k · · Score: 1

      Try Tomato,,
      it also has pie graphs which are quite handy if your traffic somehow isn't getting the rule you thought you set it too.

      I usually assign bit torrent to class E and set limits for this class with a default priority of very low

      I like dd-wrt but not for QOS for this tomato seems better.

    88. Re:QoS? by Kadin2048 · · Score: 1

      On most consumer/home broadband routers, you can only put a single machine into the DMZ, and the effect is to cause all inbound traffic not associated with another device to be routed there.

      It's not neccessarily "all ports open", true, but it is "all ports not otherwise in use or assigned open".

      Cisco and other vendors of "real" networking equipment have a definition of DMZ that differs somewhat, but most people with broadband router/gateways are only familiar with the Linksys definition, where the DMZ acts as a sort of default route for incoming traffic without a known LAN destination.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    89. Re:QoS? by Kadin2048 · · Score: 1

      And if that doesn't work, you can always cap the user.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    90. Re:QoS? by Anonymous Coward · · Score: 0

      And I have proven that as long as you're not doing a bunch of douchebag trolling on places like slashdot, and spreading your IP accross the 'net as a viable target for people to hate, then, on average you don't even get 'attacked'.

      I have left the following bare OS's exposed to the internet for up to 60 days without "getting pwned" or experiencing anything beyond regular internet background jabber:
      1. Win95
      2. Win98 and 98se
      3. XP, SP's 0,1,2
      4. Vista
      5. Multiple Unix/Linux flavors
      6. Various Mac OS's.

      Which has NOTHING to do with the original post, which was about how a software application is sending packets across a LAN, and how that causes issues for other machines if you get one SOFTWARE application that behaves badly.

      Thankyou for playing, good night.

    91. Re:QoS? by Kadin2048 · · Score: 1

      > So, what would the appropriate response from the admin side be?

      Rather than QoSing protocols and TCP ports, QoS your users (or at least, hosts on the network).

      If a particular machine starts using an excessive amount of traffic, and particularly if they start to conceal what's probably Bulk-priority traffic in some other form to avoid QoS, just throttle their connection and send them a note.

      You're right in realizing that there isn't a good unilateral, technical solution: as long as you're letting any traffic through unshaped, it's going to be possible to make P2P/bulk traffic look like that. Heck, there's no real reason you can't make P2P look like SIP packets, if you wanted to.

      So the solution needs to come at least partially from the client side: users need to be "encouraged" to set reasonable limits in their P2P clients, so that it can be prioritized appropriately, relative to interactive services and telephony.

      However, I think the best approaches are always ones that combine both the "carrot and the stick." The "stick" is obvious: if you consume an excessive amount of bandwidth and start impacting others' use of the network, you're going to get throttled. However, providing an incentive to P2P users is equally important -- as is realizing that P2P services are a legitimate use of data networks, when they're not used in an intentionally abusive manner. So it's important to let your users know that if they set their P2P clients to be good network citizens (rate and TCP-connection limit appropriately), you're not going to pursue them just for the hell of it.

      Another option might be to set up per-user quotas that vary by TCP port and QoS level. E.g., every user gets 5GB/mo. of high priority traffic, or 250GB/mo. of best-effort. (Or any combination thereof, with high-priority being exchanged for best-effort at a ratio of 1:50.) If you let your Bittorrent client behave aggressively and push tons of traffic onto ports reserved for interactive services, that's fine, but you're just going to burn through your quota faster. And when you run out of bits, enjoy living life at 56kb/s. After a few months, people might find it's in their best interest to make their BT clients behave.

      Bottom line: a lot of QoS issues are really social problems masquerading as technical ones. Solving the technical problem is a fool's errand if you don't address the social one.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    92. Re:QoS? by MikeBabcock · · Score: 1

      I have one of those. Its called an old Linux box running QoS rules.

      I limit the maximum bandwidth BitTorrent gets, I prioritize responses to VoiP, then gaming packets and I use RED to drop packets on BitTorrent when it starts firing off too many new packets at once (which it tends to do).

      --
      - Michael T. Babcock (Yes, I blog)
    93. Re:QoS? by MikeBabcock · · Score: 1

      Capping the download or upload rate in Bittorrent clients does not cap their actual bandwidth usage when you consider packet overhead for finding new peers and initiating or responding to new connections in most cases.

      Prioritizing and limiting those packets on a router (or on the machine running BitTorrent at the OS level) instead makes a big difference.

      --
      - Michael T. Babcock (Yes, I blog)
    94. Re:QoS? by j00r0m4nc3r · · Score: 1

      Termites can't eat concrete. Same with Unix.

      Wha? Unix can't eat concrete???

    95. Re:QoS? by Anonymous Coward · · Score: 0

      The problem is mostly low quality routers.

      However, at some point you must admit P2P should limit the amount of connections more intelligently.

      Most P2P use WAY to many streams. The difference in performance between 30 and 300 streams is very little, but most routers will not handle it well.

      In most clients you can change the amount of upload connections.

      Some routers/modems just suck no matter what you do and you will have lag with P2P in general when handling multiple streams.

      Limiting the amount of connections will help MUCH MUCH more than limiting the bandwidth and keeping the queue low will also help, but without limiting the connections popular files will still ask for several connections, even though you rarely benefit from turning connections way up.

      QOS and other packet prioritizing doesn't work because the P2P app is actually spamming the router with hundreds of times more packets than all the other apps on the network combined.

      Instead of limiting the bandwidth... limit the amount of global connections to just a few. You don't need that many streams for good performance usually unless the file is on many slow seeds.

      Usually the file is on many slow seeds, but also a few fast seeds, so you don't need to connect to 10+ clients to get the file, you really just need one or two most of the time.

      A more robust router such as Pfsense should help out a lot compared to a SOHO router. That's been my experience at least, but it depends on the SOHO I guess. They vary in performance and quality so much it's impossible to say what's actually slowing you down.

      The most practical method is to lower the queue so you only have 1-3 files running and limit the streams down to 30 global connections or less.

      Also limit the upload to one stream.

      Once you do that, the amount of packets drops exponentially so QOS or traffic shaping isn't really needed.

      The REAL problem in my opinion is the default settings are so aggressive they clog most networks with too many streams.

      Torrent is just built to scale upward in an unrealistic way in which routers are infinitely able to routing packets.

      The theory is good to distribute packets from multiple clients, but in practice most routers can't do it and it's rarely necessary for satisfactory performance.

      QOS will never work that well. When the amount of packets gets too high... what's the router supposed to do ? There are just simple processing limitations there. If anything QOS sucks when you spam it with packets since it has to 'think' about each packet more. That's why I think a higher quality router and lowering the connections are the most practical methods.

      In my experience QOS sucks and especially with torrent. Even when other clients don't use the network, QOS slows down torrent and most likely EVERYTHING on the network. However I've never tried a production level router on a shared network with torrent.

      The real question is WHY does torrent default to so many open connections ? Why doesn't it have auto connection management to close the amount of open connections if ping times go up rather than just the bandwidth.

      BECAUSE.... QOS and most everything we are talking about are far FAR out of most torrent users PC knowledge.

      The client should handle it first and foremost because it's a END USER program primarily, not a IT program.

      I still say it's a route problem.

      If it wasn't then all pings on the internet would be high because ISP's would be drowning in P2P packets.

      So... routers just need to not suck so much because no matter what you do, they cannot shape endless amount of packets with highly limited processing power.

      It would be VERY interesting to see these test on a couple of SOHO routers and a couple of software routers. Pfsense being one of them

      Someone please do this and post it on digg. :P

    96. Re:QoS? by Anonymous Coward · · Score: 0

      >I run Linux.

      You're an android, I take it?

    97. Re:QoS? by Allador · · Score: 1

      Because, while, in my experience, an unpatched XP machine (haven't tried this with Vista) is owned in an average of 43 seconds. 2001 called and they want their meme back.

      This hasnt been an issue since SP2 came out on WinXP, and you know this.
    98. Re:QoS? by SMS_Design · · Score: 1

      Your internet must be much more hostile than mine. When I'm behind NAT and running a software firewall, I see nothing at all messing with me. Funny how they can't get to you without one of those silly ports to connect thru.

    99. Re:QoS? by Rich0 · · Score: 1

      I use shorewall on a linux-based router. Is it straightforward to implement QoS on such a setup? I've seen a few scripts out there and howtos, but they all assume that you start out with nothing in your filtering configuration. When you're running shorewall you end up with a bazillion rules and a very complex configuration and the linux packet filtering capabilities aren't exactly transparent to somebody who doesn't program routers for a living...

    100. Re:QoS? by triso · · Score: 1

      What are you talking about? It's called earth humor.

  2. short answer: by Anonymous Coward · · Score: 3, Funny

    Don't download porn while playing WoW.

    1. Re:short answer: by ed.mps · · Score: 2

      but the internet is for porn! http://www.youtube.com/watch?v=JpdCJKPHzh8

      --
      !sig
    2. Re:short answer: by Anonymous Coward · · Score: 0

      Fuck you, I'll download Japanese Guaver models like Miri Hanai while hosting ranked Gears of War matches if I want. And I'll scream ridiculous racial slurs, some of which I'm sure to misunderstand and thus use incorrectly, in the voice of a 12 year old british boy while doing it!

    3. Re:short answer: by Tarindel · · Score: 1

      or play Age of Conan, so you don't have to.

  3. Speaking of that... by Anonymous Coward · · Score: 0

    DD-WRT released v24 a week ago.

  4. Who's downloading torrents?!!! by pure_chownage · · Score: 1

    Although I do like to download a air few torrents here and there, I like to dabble in the odd online game although not as much as I used to. The amount of arguments and fights that come from people 'torrenting' in my gaming time is ridiculous. Almost as many as back in the day when we had 56k dial up and one phone line :P

    1. Re:Who's downloading torrents?!!! by SpaceLifeForm · · Score: 1, Troll
      You had 56K? NOT.

      No one ever had 56K, no one. If you got over 50, you were doing good.

      These days, the darkside^Wtelcos are degrading dialup on purpose.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    2. Re:Who's downloading torrents?!!! by Vectronic · · Score: 1

      Why the hell is this +1 Insightful?

      The OP was simply saying he got in fights over who could use the line for telephone, and who could use the line for internet on a 56K modem.

      Not that he got 56K out of his modem.

      But argueing against that, I ocasionally had 96K (bursts, lasting about 15 seconds) out of my 56K (USRobotics v.92), ie: 12 kilobytes a second rather than 7 kilobytes a second (Telus dial-up, on brand new phone lines around 2002) and almost a perminent 7kb/s (donwload).

    3. Re:Who's downloading torrents?!!! by ATMD · · Score: 1

      These days, the darkside^Wtelcos are degrading dialup on purpose.

      Do they really need to do that? I mean, really?
      --
      Nobody else has this sig.
    4. Re:Who's downloading torrents?!!! by Llamalarity · · Score: 1

      No one ever had 56K, no one. If you got over 50, you were doing good.

      Real crappy ISDN? Mine rocked! Two rock solid, honest to goodness, true 64K connections. Of course the overhead was on a separate 'B' channel, but it was most certainly over 50K:) Now true dial-up I agree with you, mid 40s was the best I ever got and that was rare.
    5. Re:Who's downloading torrents?!!! by Zak3056 · · Score: 1

      Of course the overhead was on a separate 'B' channel,

      BRI ISDN is 2 64kb B-channels, and 1 16kb D-channel.

      --
      What part of "shall not be infringed" is so hard to understand?
    6. Re:Who's downloading torrents?!!! by marcansoft · · Score: 1

      But argueing against that, I ocasionally had 96K (bursts, lasting about 15 seconds) out of my 56K (USRobotics v.92)

      It's called data compression.
    7. Re:Who's downloading torrents?!!! by kesuki · · Score: 1

      I know you are a troll, and connecting at a full 56kbps was almost impossible, but back in the day, newsgroups could be downloaded with compression, and if you ran FreeBSD you could use the same compression on packet headers (if your ISP supported it, most did) i could easily pull 112 kbps off 7-bit ASCII from usenet, with both header compression, and compression on the newsgroup posting, albeit uu-encoded files were 30% larger, but getting 2:1 compression offset that more than enough.

      BTW, my freebsd machine, with a hardware modem (serial style) tended to connect at or near 56 kbps, even for web browsing, not at the 52-48kbps winmodems would get, then again, my 56k modem was released before the 56kbps standard, yada yada yada.

  5. My Roommate owes me 5000g by fragmentate · · Score: 3, Funny

    Do you know how many times I've died in WoW because of his porn downloading?

    He's paying up, I need my epic flying mount...

    1. Re:My Roommate owes me 5000g by Midnight+Thunder · · Score: 5, Funny

      Do you know how many times I've died in WoW because of his porn downloading?

      As long as you haven't signed a contract with your roommate, then you could throttle him ;)

      --
      Jumpstart the tartan drive.
    2. Re:My Roommate owes me 5000g by Vectronic · · Score: 5, Funny

      "...then you could throttle him"

      eewww. he no doubt can handle that himself.

    3. Re:My Roommate owes me 5000g by Torvaun · · Score: 0, Redundant

      More trouble than it's worth, you've got to hide the body, and answer a bunch of questions from the police, and it's all a pain in the ass. Much easier just to throttle his bandwidth.

      --
      I see your informative link, and raise you a pithy comment.
    4. Re:My Roommate owes me 5000g by Anonymous Coward · · Score: 0

      He's paying up, I need my epic flying mount...

      Stop being jealous, just because he's got his already.

      At least, in video.

  6. Buy a better router by Anonymous Coward · · Score: 1, Informative

    Good routers can prioritize traffic and limit the latency increase to the time it takes one bulk traffic packet to be sent.

    Most P2P programs also have ways to limit the upstream bandwidth, which is sufficient if you are in control of your side of the bandwidth bottleneck. Just set the limit so that all bulk transfers combined leave enough room for realtime applications and the latency will sort itself out (because there won't be any queues of bulk packets building up in the router).

    1. Re:Buy a better router by Anonymous Coward · · Score: 0

      Read the article next time

    2. Re:Buy a better router by Anonymous Coward · · Score: 0

      I did. If your P2P program has a broken rate limiter and sends bursts of packets above the set rate, then you'll have to use traffic prioritization in the router or use a different P2P program, one with a working minimum granularity rate limiter.

  7. Next on /. by this+great+guy · · Score: 5, Funny

    Why BitTorrent causes network bandwidth to be used. And network packets to be sent & received. Really sometimes I wonder.

    1. Re:Next on /. by Anonymous Coward · · Score: 1, Funny

      What do you wonder about? Why the admins keep pushing slop through because they want ad clicks and we seem content to just do it? Or do you wonder why the fuck we do it? Cause lately I sure wonder why I bother coming here. Hell I can't even bother to login.
      The captcha is crooks. Man sometimes the jokes right themselves.

    2. Re:Next on /. by blahplusplus · · Score: 0, Troll

      "Why BitTorrent causes network bandwidth to be used. And network packets to be sent & received. Really sometimes I wonder."

      Remember not everbody that is a nerd knows the specifics nor has the inclination to learn about the technology in sufficient depth. Most people are timestrapped or disinterested when it comes to domains outside their areas of job or area of their perosnal interests.

      Really, it's like complaining we have to teach brand new people the same things over and over again many people figured out many millenia ago.

      I think people forget that, not everyon is into tech, or is old enough yet to have become accustomed to it.

  8. slashvertisement shenanigans again by Anonymous Coward · · Score: 0

    i use torrents extensively (to distribute some home-made videos between a largeish group of members) and i have never seen the issues that blogger describes, despite me being the lone seeder for extensive periods of time.

    the only "management" i ever do is shape the torrent traffic so that there is bandwidth left for other apps -- and i do that in the torrent software itself.

    1. Re:slashvertisement shenanigans again by Anonymous Coward · · Score: 0

      Stop raiding my private collection, asshat.
      (Not the original AC)

    2. Re:slashvertisement shenanigans again by toddestan · · Score: 1

      How many people do you have connected at once? A couple of people pegging your upload is a lot less worse than dozens of people pegging your upload, assuming your router gives all connections an equal slice of the available bandwidth.

  9. Shaping the traffic? by silverdr · · Score: 1

    How is that news that good P2P download can saturate the bandwidth? And how is the question answered thousands if not millions of times in traffic shaping gateways comes in 2008 again?

    --
    Now, mod me down freely. My karma can't get any worse...
    1. Re:Shaping the traffic? by Anonymous Coward · · Score: 0

      The traffic is already being shaped...
      Asymetric lines are the culprit. As long as you can fill the uppload bandwidth almost completely with "ack" packets you can't expect that to coexist with WoW and VoIP.
      I have a symetric line (10/10) and even sending and receiving 800k/s only changes my ping from 9ms to 18.

  10. I used to have this problem... by Anonymous Coward · · Score: 0

    fixed it by buying a different cable modem (motorola). my linksys cable model got totally hosed by torrent traffic. no clue why, and I couldnt believe that the cable modem turned out to be the problem. I can torrent now whenever I want and it doesn't slow down traffic or increase ping or cause packetloss.. It's awsome!!

  11. QoS, but only on the Telco Side by corsec67 · · Score: 4, Informative

    While I prefer Tomato on a WRT-54GL, that would do absolutely nothing at all to solve this issue. A router behind a modem can really only regulate the upload, and can't easily prevent a flood of data on the downstream side.

    This issue is with the queue on the Telco's DSLAM, or on the other side of the cable from the modem. This is more like an invited DDOS, which no amount of filtering at or behind the modem can resolve, because the modem is getting the traffic from the DSLAM after it goes through the queue.

    The only way to have QOS solve this issue would be to ask the telco to do the QOS for you, and the amount of processing power to do that nicely isn't trivial.

    --
    If I have nothing to hide, don't search me
    1. Re:QoS, but only on the Telco Side by Anonymous Coward · · Score: 0

      While I prefer Tomato on a WRT-54GL, that would do absolutely nothing at all to solve this issue. A router behind a modem can really only regulate the upload, and can't easily prevent a flood of data on the downstream side. Really, that is not much of an issue. People's down pipes are usually 8-10x larger.
    2. Re:QoS, but only on the Telco Side by corsec67 · · Score: 1

      "usually" doesn't mean always.

      My upload and download are the same.

      But, why does it matter what the upload/download ratio is? P2P programs try to maximize transfer, and if several people are uploading to a single person, that could easily overwhelm a normal download pipe, like a bittorrent that has many seeders and few downloaders.

      --
      If I have nothing to hide, don't search me
    3. Re:QoS, but only on the Telco Side by tomhudson · · Score: 2, Informative

      Upload speed makes a huge difference ... so cutting your torrent upload to half your upload bandwidth solves the problem:

      1. the fewer packets your torrent app sends, the fewer replies it receives, so more bandwidth available for other data such as web pages, gaming data, etc.
      2. the fewer packets your torrent app sends, the more upstream bandwidth your other apps have to request data such as web pages, gaming data, etc.

    4. Re:QoS, but only on the Telco Side by wintermute000 · · Score: 3, Insightful

      Hear, hear

      I love these home geek "i know how to flash DD-WDT and click on a GUI" networking experts, who fail to grasp your point above (i.e. QoS = OUTBOUND).

      Since downstream QoS from telco aggregation router is not practical to implement, the best fix is to throttle the clients on the end user PCs, free and just a few clicks away.

      Or if you want to be really advanced, QoS outbound from a second router (or linux gateway or firewall etc.) behind your WAN router but really that's overkill for 99% of users.

    5. Re:QoS, but only on the Telco Side by corsec67 · · Score: 3, Informative

      That is all true, if the upload link is the bottleneck.

      But that isn't what the article is about. The article is looking at a download link that is saturated from P2P transfers from other people. Since the DSLAM queue isn't in the users control, it is a bit harder to prevent the P2P traffic from saturating the link.

      --
      If I have nothing to hide, don't search me
    6. Re:QoS, but only on the Telco Side by WhatAmIDoingHere · · Score: 5, Interesting

      I use between 50 and 80% of my max upload for torrents. I'm able to play TF2 and ping in the 20s. This article is addressing an issue that has been covered in every single "So, you want to use BitTorrent" article EVER.

      Hell, Azureus has a plugin to test ping an IP address/website, and if it takes longer than a set time, it slows down your uploads. uTorrent has a feature like that, as well.

      --
      Not a Twitter sockpuppet... but I wish I was.
    7. Re:QoS, but only on the Telco Side by tepples · · Score: 1

      A router behind a modem can really only regulate the upload, and can't easily prevent a flood of data on the downstream side. Can't a router delay ACKs for "bulk" level services?
    8. Re:QoS, but only on the Telco Side by tepples · · Score: 1, Informative

      The article is looking at a download link that is saturated from P2P transfers from other people. In BitTorrent, the more slowly you upload, the more slowly you download.
    9. Re:QoS, but only on the Telco Side by silas_moeckel · · Score: 4, Informative

      Funny I'm a network guy and grok normal QOS. DD WRT and the like are capable of inbound QOS to some degree via inbound rate shaping. You loose some bandwidth and you can do the same with cisco kit and some creative use of it's rate shaping. It's not as good as QOS but it works.

      --
      No sir I dont like it.
    10. Re:QoS, but only on the Telco Side by complete+loony · · Score: 1

      So set a download limit below your actual capacity as well. If your torrent application doesn't read all the available data out of the OS buffer, TCP flow control will cause the sender to back off in the same way actual congestion will. It's not perfect, since all your peers could send you a TCP window of data at the same time and still flood your connection. But it does have a noticeable impact.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    11. Re:QoS, but only on the Telco Side by Zan+Lynx · · Score: 2, Informative

      Yes, and delaying ACK or dropping inbound packets will help...but only for long-running TCP sessions.

      UDP or IP protocols do not care at all, and TCP sessions don't slow down until they realize packets are being lost which can take up to 10 packets per connection.

      So when remote BT clients hit with 6 incoming TCP sessions, that is at least 60 packets without any rate limit. And BT will do that over and over again.

    12. Re:QoS, but only on the Telco Side by Bruha · · Score: 4, Informative

      That is completely false. QOS features have long been supported by CEF and many other ASIC based solutions in Cisco and many other service provider equipment. For many years now it's been there and has been ignored. At my company I have been preaching QOS to make sure that user experience is guaranteed. Routing protocols get first shot, then HTTP(S)/Telnet(SSH)/POP3/IMAP/SMTP etc etc. Every other app is regulated to bulk. Then that 95% will never see latency of problems with their web surfing and even games such as WOW DOOM, Xbox live etc can get priority queues over bulk downloads.

      Once it's done at the network level the same can be applied down to the user level with the packets as they're tagged.

      What we lack is ways for routers to signal upstream routers for dynamic QOS to the customer network.

    13. Re:QoS, but only on the Telco Side by Kompressor · · Score: 1

      This is correct, however, I believe that it is not directly related to the thread at hand.

      For example, suppose that you, Bob, and I share the same ISP. We all pay for 10 megabit download rates, and our ISP, in their usual over-subscribe-the-bandwidth approach, has delivered a total of 20 megabits to the router that services our connections.

      Now, Bob and I fire up bit-torrent and queue up 20 GB of Battlestar Galactica for download. We both saturate our 10 megabit connections, using all 20 megabits of bandwidth available to our common ISP router. Then you open Skype, or pick up the handset on your VoIP phone, or launch some network action on Quake 15: Giblets and Chunks Edition.

      No matter what you do, Bob and I are already consuming all of the bandwidth. In fact, there's probably a queue of packets as long as your arm @ the ISP's router waiting for delivery to Bob or myself. Your inbound, smaller, fewer, and significantly more time sensitive packets must wait in that queue before you get them. Instant choppy voice, slideshow video framerates, and high ping. In this case, there is nothing at all that you can do to correct your lag; you are at the mercy of Bob and myself.

      --
      kmem russian roulette: Aquillar> dd if=/dev/urandom of=/dev/kmem bs=1 count=1 seek=$RANDOM
    14. Re:QoS, but only on the Telco Side by snookums · · Score: 4, Informative

      The article is looking at a download link that is saturated from P2P transfers from other people. In BitTorrent, the more slowly you upload, the more slowly you download. Actually, this is pretty much nonsense. In a heavily contended torrent, with more requests in the cloud than there is upload bandwidth to serve it, then often priority is given to better uploaders. However, on torrents with a good supply of fast seeds and few leechers (e.g. an old torrent with dedicated seeds provided by the content owner) it is very easy to reach the download cap you've set in your client while uploading next to nothing.

      --
      Be careful. People in masks cannot be trusted.
    15. Re:QoS, but only on the Telco Side by supernova_hq · · Score: 4, Funny

      20s?!?
      I'm hoping you meant 20ms...

      That's not even lag, that's simply not being connected to the server!

    16. Re:QoS, but only on the Telco Side by Anonymous Coward · · Score: 0

      What that is doing is simply dropping the packets and hoping the upstream source sees that and throttles its output accordingly.

      If an application/protocol ignores the dropped packets and just keeps pumping them out then all your router is doing is dropping packets that would be otherwise useful.

      P.S. OMG when did /. add this goddamned captcha? Can't we just rely on mods to mod down the flotasm and jetsam?

      3 attemots and I and I still got it wrong.

      Goddamm I must be fucking script

    17. Re:QoS, but only on the Telco Side by Anonymous Coward · · Score: 0

      This issue is with the queue on the Telco's DSLAM, You can still somewhat manage the incoming queue by limiting your bittorrent traffic to something less than your incoming bandwidth. If you don't want delays, you'll have to choose an incoming bandwith so small that bittorrent+important traffic < incoming bandwith.
    18. Re:QoS, but only on the Telco Side by Hatta · · Score: 1

      Sure you can't do QoS by queuing, but can't you regulate the inbound traffic by dropping some of it? Well behaved TCP/IP apps will throttle their upload appropriately.

      --
      Give me Classic Slashdot or give me death!
    19. Re:QoS, but only on the Telco Side by Anonymous Coward · · Score: 0

      He means 20s as in the 20-29, not 20 seconds. Use some common sense lad, or are you just trolling?

    20. Re:QoS, but only on the Telco Side by mzs · · Score: 1

      Nah the simplest thing that you can have your router drop some packets then TCP on the sender will figure it has hit some congestion and drop the window down. Yeah that makes the sender resend things but it always works. There is ECN but both ends need to support that for it to work where the sender gets to know about the congestion but no packets are actually dropped.

    21. Re:QoS, but only on the Telco Side by IdeaMan · · Score: 1

      Wait a second, so the solution is simply for the ISP to drop TCP packets if the queue is longer than 50ms?

      --
      They ARE out to get you simply because They are in it for themselves and they don't care about you.
    22. Re:QoS, but only on the Telco Side by Anonymous Coward · · Score: 0

      Funny I'm a network guy and grok normal QOS. DD WRT and the like are capable of inbound QOS to some degree via inbound rate shaping. You loose some bandwidth and you can do the same with cisco kit and some creative use of it's rate shaping. It's not as good as QOS but it works. I'm not normally a grammar Nazi, but I found it funny to see such correctly applied terminology together with such 7th grade grammar :)

      Posting anonymously for obvious reason.

    23. Re:QoS, but only on the Telco Side by Eponymous+Bastard · · Score: 1

      But that isn't what the article is about. The article is looking at a download link that is saturated from P2P transfers from other people. Since the DSLAM queue isn't in the users control, it is a bit harder to prevent the P2P traffic from saturating the link. Let me introduce you to my friend TCP Flow_control, which ensures that the sender only sends as fast as the receiver wants it.

      Make sure your OS and application is sending out a small window to begin with (slow start) and that your client is set to only accept X kbps, and the sender will not send more than that rate. /proc/core/net/ipv4 has a few settings along those lines IIRC. Yes, the sender will write fast enough to fill up your window at first, but if your window starts out small, this will not be a problem. The receiver can throttle down the connection by only sending ACKs for as much data as it wants to receive in the future, and it can control this by only calling read for as much data as it wants to process, thereby sliding the window and allowing the OS to ACK more data. Extra packet will be dropped by the OS when the window fills up without the APP reading it, getting the same "spacing out" result he wants. You'd have to look at how this interacts with Nagle's algorithm, but it should be OK.

      I'm guessing either his software isn't coded with this in mind or his roommate didn't actually set up the down rate as he said he did.

      You might even filter out ACKs at the router level (or clear the ACK bits if there is data) for all non-HTTP traffic, but I'm not sure of software to do this. You'd have to keep track of the how fast the connection is ACKing (which mean keeping track of all connections), etc. You'd also need to fix up window size announcement during the initial SYN. Dropping download packets will do the same thing.

      Also, I think windows doesn't do slow start, which help for interactive sessions but will give you a burst as described every time a new server starts sending you data. I think you can set it with SO_RCVBUF in Posix, setReceiveBufferSize in java and probably the same option in windows, but I think those are hints anyway.
    24. Re:QoS, but only on the Telco Side by bi_boy · · Score: 1

      Hell, Azureus has a plugin to test ping an IP address/website, and if it takes longer than a set time, it slows down your uploads. uTorrent has a feature like that, as well. What is this feature you speak of in uTorrent? (honestly curious here)
      --
      Chicken fried butter sticks? Do ... do you use a fork? - Black Mage, 8-Bit Theater
    25. Re:QoS, but only on the Telco Side by Gnavpot · · Score: 1

      [captcha]
      3 attemots and I and I still got it wrong.

      I think I know why your attemots failed.
    26. Re:QoS, but only on the Telco Side by WhatAmIDoingHere · · Score: 1

      It's right in your settings. It's under the Bandwidth page. There's a little button called "Automatic."

      --
      Not a Twitter sockpuppet... but I wish I was.
    27. Re:QoS, but only on the Telco Side by Anonymous Coward · · Score: 0

      And here I thought he was a time traveler and was bragging about being able to ping before the Great Depression began.

    28. Re:QoS, but only on the Telco Side by Zan+Lynx · · Score: 1

      Not for the ISP to drop packets, but for your QoS router to do it. If you drop packets, TCP will blame it on network congestion and slow down.

    29. Re:QoS, but only on the Telco Side by Wavebreak · · Score: 1

      He meant 'twenties'.

      --
      Nobody expects the British Columbia Human Rights Tribunal.
  12. good way to deal with it by arbiter1 · · Score: 1

    Most router support QOS so if you run bt on one comp you can set that port priority to very low and it will help. if you got say Dlink DGL router. (http://support.dlink.com/emulators/dgl4300/Basic_Internet.html go under advanced then, click gamefuel)you can set up connections through certain ports to be limit its priority, usin that on mine i got 1mbit upload i can use 90-100kB/s up and nplay games with only at most 10ms increase

    1. Re:good way to deal with it by John+Hasler · · Score: 1

      But that would violate "network neutrality"! Evil, evil, EVIL!

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  13. Simpler solution by Frozen-Solid · · Score: 2, Insightful

    Use the bandwidth capping abilities in all modern P2P clients. If you're trying to torrent, max it's upload and download capabilities below your total network bandwidth. I have a 1Mbit up and 10Mbit connection. Capping my total upload in KTorrent to 100KByte/s and my down to 900KByte/s allows me to do anything else on the internet without issue. Very few online games or other uses of the internet require more than a 100KB down and 30KB or so up. Learn to properly manage your P2P programs and you won't have a problem.

    --
    Frozen Insanity
    http://frozen-solid.net
    1. Re:Simpler solution by Deltaspectre · · Score: 3, Informative

      I have my torrents capped to 1/10 of the advertised connection speeds, but latency still affects me (very visible in ssh sessions to my remote irssi server)

      --
      My UID is prime... is yours?
    2. Re:Simpler solution by flerchin · · Score: 5, Insightful

      Read the bloody article. He shows that bittorent traffic capped to 10% of total bandwidth still causes more latency than an http download using 90% of the pipe. The total latency hit is small, but still significant for VOIP or high intensity gaming.

      --
      --why?
    3. Re:Simpler solution by tknd · · Score: 3, Informative

      That doesn't address the number of open connections issue. Bittorrent clients can often have hundreds of open connections while a browser or a game may only have 1 or 2 connections open. So when the game sends a packet, the router gets it and recognizes that it is connection 99 of 100 open connections. If the router equally prioritizes every packet, then the app that only utilizes a single connection can still wait before being serviced.

      It also doesn't solve the problem of having a roommate who will leave bittorrent on indefinitely.

      The real solution is to come up with a way to analyze packets and determine which packets should have the highest priority. This is called Quality of Service (QoS). Linux and routers based on linux have access to a number of different QoS schemes, but the off the shelf routers may not have good enough hardware to run it. For example I bought a ddwrt compatible router. I dumped the original factory firmware and installed ddwrt. I turned on QoS and put http and other types of traffic at higher priority than the rest. It worked great when the router could handle the traffic. I could let the bittorrent client eat as much as it wanted but when I hit a webpage, the page loaded just as fast. But every once in a while the router would crash or become really slow and inaccessible (can't access it through ssh or http). Turning off QoS alleviated that issue but of course bittorrent would starve out the other apps. In the future I plan on buying a router with a faster cpu so I can leave QoS on.

    4. Re:Simpler solution by Jesus_666 · · Score: 1

      How fast is your router? I want to know beforehand whether or not turning on QoS would make sense on my device.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    5. Re:Simpler solution by Dolda2000 · · Score: 1

      I don't know about his WRT router, but I used to be using HTB shaping on a Pentium II 400 MHz box, without ever seeing it take even so much as a percent of its CPU cycles.

    6. Re:Simpler solution by complete+loony · · Score: 1

      If the router equally prioritizes every packet, then the app that only utilizes a single connection can still wait before being serviced. While it is possible to allocate bandwidth per connections routers rarely bother, and can't tell the difference between one connection sending 1000 packets, and 1000 connections sending one packet. The problem with TCP is when you receive an ACK packet you typically send a whole window size of data to your peer. If you receive multiple ACK's from different peers in a short space of time, you can easily flood the transmit / receive buffers of the device at your choke point (usually a modem). However if you set a hard limit in the application, so it doesn't try to send as much data as it can whenever it receives another ACK, but instead imposes a global speed limit across all TCP connections. Then you'll stop dumping so much data onto the wire at the same time, alleviating the need for QOS.
      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    7. Re:Simpler solution by Anonymous Coward · · Score: 0

      You must be new around here.

    8. Re:Simpler solution by AnyoneEB · · Score: 1

      That doesn't address the number of open connections issue.

      Then enable the number of connections capping that is in your p2p client's settings right next to the upload capping option.

      --
      Centralization breaks the internet.
    9. Re:Simpler solution by Anonymous Coward · · Score: 1, Interesting

      See if your router is also Tomato capable - specifically the SpeedMod variant. This firmware should remain responsive while handling some 6000 connections with QoS enabled, so long as you go easy on the Layer7 filters (port, IP, and MAC matches are much faster for the CPU).

      Low-end SonicWall boxes top out at around the same amount of connections - pretty awesome that a $50 box can keep up.

    10. Re:Simpler solution by Wavebreak · · Score: 1

      Just grab one of your old unused computers (surely every slashdotter must have at least one), stick in an extra nic and install a firewall distro (or a regular one plus an iptables front-end, or just iptables if you're one of those types) on it. I use pfsense, and it works great.

      --
      Nobody expects the British Columbia Human Rights Tribunal.
  14. Wait, wait wait! by drolli · · Score: 2, Insightful

    So, if the ISPs do traffic shaping "to improve the service" it's bad, but we admit that on the small scale (when it affects ourselfs) there is a real need for traffic shaping! Thats interesting....

    1. Re:Wait, wait wait! by Just+Some+Guy · · Score: 4, Interesting

      So, if the ISPs do traffic shaping "to improve the service" it's bad, but we admit that on the small scale (when it affects ourselfs) there is a real need for traffic shaping!

      I don't mind traffic shaping at all, anywhere. QoS is a good thing, even when the ISPs do it. What I mind a whole awful lot is traffic blocking, ala Comcast.

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:Wait, wait wait! by rossz · · Score: 2, Insightful

      What ISPs are doing is not traffic shaping. They are doing traffic elimination. I don't have a problem with traffic shaping. It's often necessary to get different things to play nice with each other.

      --
      -- Will program for bandwidth
    3. Re:Wait, wait wait! by SlashJoel · · Score: 1
      TFA makes your point, too, but that doesn't make it a good one:

      Unfortunately, these types of QoS services may never see the light of day if poorly conceived Net Neutrality legislation gets passed that ban the sale of packet prioritization. It's bad when someone else decides on your behalf which packets to give priority to. The point of Net Neutrality is to stop an ISP from deciding which packets get through and which don't. But that's not the only way to prioritize packets; in fact, I suspect there would be much rejoicing if individuals were given the opportunity to set the priority for themselves.
    4. Re:Wait, wait wait! by dissy · · Score: 1

      So, if the ISPs do traffic shaping "to improve the service" it's bad, but we admit that on the small scale (when it affects ourselfs) there is a real need for traffic shaping! Thats interesting.... Despite the fact slashdot is not one mind, i still don't believe any sensible person here on slashdot has ever had a problem with traffic shaping.

      Sure, there are a ton of people complaining about liars (IE they do traffic shaping to an extreme and lie about that fact claiming they don't, wasting hours of resources on our end tracking down a problem that is their fault), and when an ISP simply lies on their bills claiming you used more bandwidth than they sold you and is stated you will get in their ads, and we have a problem with traffic blocking, and charging different prices for one bit vs a different bit depending on the destination ip, but never QoS or traffic shaping.

    5. Re:Wait, wait wait! by nurb432 · · Score: 1

      Not interesting at all.

      If its MY network with MY router, i have the choice of what sort of bandwidth usage will occur.

      When i PAY for bandwidth from my ISP, they shouldn't limit it.

      --
      ---- Booth was a patriot ----
    6. Re:Wait, wait wait! by amirulbahr · · Score: 2, Informative

      Injecting TCP RST packets is not traffic shaping. It is sneaky interference with legitimate network access.

    7. Re:Wait, wait wait! by Anonymous Coward · · Score: 0

      If you told your roommate he would have full access to your entire bandwidth with unlimited data transfer, it would be wrong to throttle him too.

    8. Re:Wait, wait wait! by Anonymous Coward · · Score: 0

      You're absolutely right. We have a problem with telcos using traffic shaping for their own benefit, cheating us out of the service we paid for, and claiming to be doing it for the sake of customers.

      If there had been any initiative by the telcos to use traffic shaping to deliver better service to customers, there wouldn't be such rabid knee-jerk opposition. Instead, every effort we hear about turns out to be an effort to prevent customers from making full use of the services they bought or to provide privileged access to paying business partners.

      So I say ban it. Our experience shows that despite the potentially valuable applications, telcos aren't going to use it for anything except screwing subscribers.

    9. Re:Wait, wait wait! by Anonymous Coward · · Score: 0

      I don't mind traffic shaping at all, anywhere. QoS is a good thing, even when the ISPs do it. What I mind a whole awful lot is traffic blocking, ala Comcast.

      Except when a website you're trying to use is getting DDOSed...

    10. Re:Wait, wait wait! by Joebert · · Score: 1

      When i PAY for bandwidth from my ISP, they shouldn't limit it.
      Well technically, you could still utilize all of your bandwidth if you used other protocols/applications, correct ?
      I doubt there's anything in your end user agreement that guarentees bandwidth for specific protocols/applications.
      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    11. Re:Wait, wait wait! by Anonymous Coward · · Score: 0

      Even though Comcast's blocking is actually just shaping at a snail pace? Choose your words carefully...

    12. Re:Wait, wait wait! by AceJohnny · · Score: 1

      So, if the ISPs do traffic shaping "to improve the service" it's bad, but we admit that on the small scale (when it affects ourselfs) there is a real need for traffic shaping! Thats interesting.... There are two reasons we find this kind of throttling acceptable:
      - It's real network QoS where packets get different priorities but are still transferred, not killing connections by forging TCP packets.
      - More importantly, its voluntary on the part of the consumer, not imposed and hidden by the ISP, who falsely advertises "unlimited" service.

      We Don't Like Being Lied To. Do you?
      --
      Misleading titles? Inflammatory blurbs? Keep in mind that Slashdot is a tabloid.
    13. Re:Wait, wait wait! by Hyppy · · Score: 1

      Forging RST packets is not "shaping"

    14. Re:Wait, wait wait! by Hyppy · · Score: 1

      Bandwidth is bandwidth. I severely doubt any restrictions were present in the end user agreement specifying how the bandwidth is available by port.

  15. How clever by blue+l0g1c · · Score: 4, Funny

    Homebrew traffic shaping. *facepalm*

  16. Finally a correct solution! by Geak · · Score: 0, Redundant

    I read the article. He's absolutely correct, and this would also solve the problems ISP's have with bittorrent. Instead of throttling bandwidth to all their customers and screwing them over, manage the traffic properly. It might slow down bittorrent downloads slightly, but not enough to seriously affect it. In the end however it doesn't make business sense for a monopolistic company like Bell to cater to it's customer's needs. They would rather force their customers to dump bittorrent and use their new video download service instead.

  17. Hey George by nyet · · Score: 0, Redundant

    Why not just configure your p2p app to cap its own upload rate? Pretty much every single p2p app w/o exception has this option. Some dynamically cap their upload rate for you by periodically using ping (or measuring some other round trip time) to determine latency and continuously vary the cap until the ping stabilizes.

    1. Re:Hey George by ZerdZerd · · Score: 1

      He did. When he capped at 10KB/s he still got high latency on avg and huge spikes.

      --
      I'm not insane! My mother had me tested.
  18. Uh, yeah? by Anonymous Coward · · Score: 5, Insightful

    And we admit that on a small scale, we need to control our eating, but we don't want the grocery store telling us how much of things we can buy.

  19. Traffic shaping works but fair-queue works better. by m.dillon · · Score: 4, Interesting

    Traffic shaping and QOS will help a little, but the real problem is simply that you can't afford to delay priority traffic by more then one or two full-sized packets on any connection less then a few megabits (meaning: just about all home interconnects). If you wait any longer then that, it becomes noticeable.

    Traffic shaping and QOS are not usually able to make that guarantee. A straight priority queue with bandwidth guarantees can, as long as you are able to actually classify the torrent traffic differently from your other traffic.

    Part of the problem is that it is often not possible to distinguish between the batch and the interactive traffic with Shaping/QOS. Not only is QOS almost universally set wrong, but the simple fact is that one can mix interactive and batch traffic over the SAME ports (http, ssh, dynamically allocated ports)and that can make it virtually impossible to use traffic shaping or QOS to keep the mess away from your interactive traffic.

    The best general solution is to use a straight priority mechanic with minimum bandwidth settings to separate as much of the bulk traffic out as you can, and then run fair-queueing at each priority level to take care of any that leaks through. This will do a very good job cleaning up the traffic. DragonFly has a fair-queue implementation for PF that does this. There is also at least one fair-queue implementation for PF in the wild.

    Fair-queueing essentially classifies connections (the one in DFly uses PF's keep-state to classify connections), generates a hash and indexes a large array of mini-queues. One packet is then pulled off the head of each mini-queue. One enhancement I would like to make to the DFly implementation which I haven't done yet is to use the keep-state to actually determine which connections are batch and which are interactive, and have a parameter that allows the queue to give additional priority to the interactive connections by occasionally skipping the hoppers related to the batch connections. A quick and dirty way to do that is to simply check the queue length for each mini-queue.

    In anycase, its a problem for which solutions are available. Regardless of what you use it has become apparent in the last few years that the only way one can classify the traffic well enough to properly queue it is by building keep-state knowledge on a connection by connection basis.

    -Matt

  20. Use randomized time rather than even spacing by karl.auerbach · · Score: 5, Informative

    We long ago learned that when inserting time between protocol events that it is far better to use a time randomized between an upper and lower bound than to use a repeating interval.

    When fixed repeating intervals are used, separate instances of a protocol (and other protocols that use repeating intervals) slowly tend to fall into lock-step patterns with pulsating waves of traffic in accord with those patterns.

    In other words, fixed protocol timers can create the traffic equivalent of the Tacoma Narrows bridge.

    By-the-way, ping (ICMP Echo request/reply) is a terrible way to measure network latency. ICMP is often a disfavored form of traffic as it crosses routers, sometimes even rate limited.

    There are better tools for measuring link properties, for example there is "pchar" - http://www.kitchenlab.org/www/bmah/Software/pchar/

    I worked on a method to do even better measurements, but I put it aside several years ago: Fast Path Characterization Protocol at http://www.cavebear.com/archive/fpcp/fpcp-sept-19-2000.html

    1. Re:Use randomized time rather than even spacing by dissy · · Score: 2, Interesting

      By-the-way, ping (ICMP Echo request/reply) is a terrible way to measure network latency. ICMP is often a disfavored form of traffic as it crosses routers, sometimes even rate limited.

      There are better tools for measuring link properties, for example there is "pchar" - http://www.kitchenlab.org/www/bmah/Software/pchar/ Ok, I've been out of network management for a couple years now, but I have never heard of pchar.
      Looking at the URL you gave, there is nearly zero description about the software or how it works or how to use it.
      In addition, i went ahead and downloaded the source hoping there might be some documentation giving a clue about this, and then i noticed:

      As of pchar-1.5, this program is no longer under active development, and no further releases are planned. So, to me it seems like you are saying ICMP, which is supported by literally every single device that speaks IP, is disfavored, and the current method is to use a program that has not been worked on for 3 years and never will be again.

      Like i said, ive been out of network engineering for a few years, but i still have to question this method as 'better'

    2. Re:Use randomized time rather than even spacing by testednegative · · Score: 1

      someone mod this guy up, interesting stuff!

    3. Re:Use randomized time rather than even spacing by marxmarv · · Score: 1

      It's far from the only TCP measurement tool. Besides, don't you think attacking ICANN's corporate land-grab from within is a better use of someone's time than spinning version numbers on a stable program that talks to a stable API?

      --
      /. -- the Free Republic of technology.
    4. Re:Use randomized time rather than even spacing by karl.auerbach · · Score: 3, Informative

      Give pchar a try. Just because it's not being upgraded hardly means that its data is not more accurate than ICMP echo times. Pchar is slow; it emits over 1400 probes per cycle. That's why it can take 15+ minutes to characterize each hop of the path.

      Pchar is derived from Van Jacobson's pathchar; there is a lot of very good and very deep knowledge behind those tools.

      Yes, Ping is better than nothing, and a lot better than things like DNS round trip times. But if you are probing basic connectivity of a single hop the best protocol is to use is ARP.

      But pings, as I mentioned, are often rate limited or slow-path switched or even blocked. And an increasing number of folks don't even reply to 'em. Moreover, they usually don't reveal the fate of large packets to things like MTU constraints or very noisy wireless paths that tend to clobber larger packets (as in bittorrent or HTTP) more often than small ICMP packets.

      By-the-way, a lot of folks have commented on how to use the Linux traffic control system to manage outbound traffic. I commercially build a small box to do this for folks who don't want to mess with "tc" commands.

      But the bigger issue for outgoing links is that the providers don't keep the outbound bandwidth constant; many providers tweek the outbound pipe size fairly rapidly. This makes it quite difficult to maintain the aggregate outbound rate so that the queues build up in the user's box (where the user can do sane management) rather than the provider's box (where the provider does whatever is good for the provider.)

    5. Re:Use randomized time rather than even spacing by ScytheBlade1 · · Score: 1

      Just because it isn't maintained doesn't mean that it's broken.

      Just because there is no obvious documentation doesn't mean that it's unusable and impenetrable.

      No one is contesting that everything speaks ICMP.

      pchar is not 'the current method.' It is 'a situationally better method.'

      ICMP echo replies ARE discriminated against on MANY networks. ICMP echo replies are very commonly outright dropped.

      Timing TCP or UDP replies are commonly more useful, as they are used to transport the bulk of the data over the internet and ICMP isn't.

      You may have been out of network engineering for a few years, but I have to question your logic behind your statements.

    6. Re:Use randomized time rather than even spacing by stevied · · Score: 1

      Looking at the web page, it's based on a utility written by Van Jacobson, which seems to give it a pretty good pedigree. That having been said, the README says it still relies on ICMP replies, and will suffer similar problems as mentioned above.

      The simplest way to measure network latency and lag is probably to control both ends of a TCP connection, and send timestamped data down it with Nagle disabled.

    7. Re:Use randomized time rather than even spacing by George_Ou · · Score: 1
      Karl, I'm only pinging the first hop; not trying to do a detailed and accurately sampled trace route. So I think your suggestion while good may be overkill. I'm just sending ping packets to the first router beyond my home gateway.

      Also, while I could be wrong, it would seem that using 20ms intervals aligns with 50 PPS VoIP is the best solution for that specific problem.

    8. Re:Use randomized time rather than even spacing by cmat · · Score: 1

      Please refer to: http://en.wikipedia.org/wiki/Internet_Control_Message_Protocol for a more complete description of ICMP. Please note that that "ping" (or ICMP type 0 messages) are NOT "ICMP", and when you generally see a "Filter ICMP" in a firewire GUI, what it really does is filter ICMP type 0 packets, and not the rest of the core control messages that make IP work.

      --
      -- Humans, because the hardware IS the software.
    9. Re:Use randomized time rather than even spacing by cmat · · Score: 1

      "firewall GUI" even. Damn preview, doesn't find my typos for me! ;)

      --
      -- Humans, because the hardware IS the software.
  21. wondershaper by marimbaman · · Score: 2

    http://lartc.org/wondershaper/

    Works in Linux since 2002.

    *yawn*

  22. mountains out of molehills? by Eil · · Score: 1, Informative

    Wow, talk about solving a problem the hard way. Why not just use a bittorrent client which has rate limiting built-in? Which, by the way, is almost all of them? (I use rtorrent, an excellent command-line client.)

    1. Re:mountains out of molehills? by Thundersnatch · · Score: 1

      Because...

      1. Client bandwidth limits are optional, so it requires cooperation from the BitTorrent user, who is not likely to slow their downloads voluntarily.
      2. Filtering at the client end of the connection doesn't help at all, as the download bottleneck being discussed is occuring on one of the (slowish) last-mile links from the backbone to the end user. QoS or throttling would have to be applied upstream from the user to be of value. In general you have no absolute control over the rate at which others on the net send *you* IP packets. (A TCP window size is just a suggestion, and does nothing to slow down a dumb or malicious sender).
    2. Re:mountains out of molehills? by ZerdZerd · · Score: 1

      He did, and it didn't help. He still got huge spikes of latency, which really do miracles in online games and voip.

      --
      I'm not insane! My mother had me tested.
  23. what about? by thatskinnyguy · · Score: 1

    What about the upstream being flooded with ACKs?

    --
    The game.
  24. Layer7 traffic shaping by Gothmolly · · Score: 2, Informative

    Except, wait for it, almost all p2p clients allow you to throttle your bandwidth anyway.

    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:Layer7 traffic shaping by m.dillon · · Score: 1

      That only works to a point. If you have a single computer you can control the traffic quite well. But if your home network has more then a few computers, all doing different things, PLUS consumer devices such as Apple TV, TiVO, and many other internet-connected devices, the story changes. You will not have control over all the equipment and your only recourse will be active filtering with some sort of queueing mechanic.

      Even a home with only computers under your control may not be entirely under your control. If you have a sibling he is not likely going to let you mess around with his downloads.

      -Matt

    2. Re:Layer7 traffic shaping by oblivinated · · Score: 2, Informative

      Yes but then you're throttling. The whole point is to not throttle the bandwidth, to somehow make it so that the client can download at full speed yet still be able to fit the network traffic of other applications. If you throttle the Bittorrent client then you end up downloading at a slower rate, then your downloads finish slower, etc.

    3. Re:Layer7 traffic shaping by George_Ou · · Score: 1

      Yet if you read the article or even bothered to look at the pretty graphs, it shows that the upstream bandwidth was capped at 10 KB/sec out of a peak upload rate of 52 KB/sec. Yet even at 10 KB/sec uploads for BitTorrent, it caused 60 ms latency spikes while uploading with FTP at 47 KB/sec only caused latency spikes of around 40 ms. Then when my VoIP ATA was in use with G.711 codec at 50 packets per second with data flowing upstream and downstream at 11 KB/sec, the round-trip latency added to my network was a mere 1 ms on average with occasional 4 ms spikes. Hmm, maybe it's not so dumb if you read the article?

  25. Uplink vs Downlink by m.dillon · · Score: 3, Informative

    It is always easier to manage uplink bandwidth from downlink bandwidth, simply by virtue of the fact that you control the actual packet queues.

    Downlink bandwidth can be controlled in numerous ways. The easiest way is to actually run the incoming packets through a bandwidth limiter with a very large packet queuing capability. This will cause a ton of packets to build up in front of the limiter and eventually fill the TCP windows of the senders. The packets that get through the limiter will cause a stream of ACKs back from your machines at the desired data rate. The combination of the two will cause the remote senders to band-limit the packets they send to the bandwidth you desire.

    when running incoming packets through a limiter you still need to traffic-shape/QOS, priority-queue, or priority-queue + fair-queue the packets going through the limiter. If you don't then your interactive traffic can wind up getting stuck in a packet queue with hundreds of packets in it. In addition to that you may have to control the advertised TCP window or even implement RED on your limiter to prevent the hundreds of packets built up in front of the limiter from turning into thousands of packets.

    If you can classify the bulk traffic then you can use virtually any queueing mechanic. If you can't classify all of the bulk traffic then the only mechanic that will work reasonably well is, again, going to be a fair-queue.

    Fair-queueing is not the holy grail but it is typically the most effective mechanism when combined with another queueing mechanic, such as a priority queue.

    -Matt

    1. Re:Uplink vs Downlink by Jamie+Lokier · · Score: 1

      Downlink bandwidth can be controlled in numerous ways. The easiest way is to actually run the incoming packets through a bandwidth limiter with a very large packet queuing capability. This will cause a ton of packets to build up in front of the limiter and eventually fill the TCP windows of the senders. The packets that get through the limiter will cause a stream of ACKs back from your machines at the desired data rate. The combination of the two will cause the remote senders to band-limit the packets they send to the bandwidth you desire.

      A problem with that is modern endpoint TCPs will detect your queue, and enlarge their windows to compensate because they see it as unused network capacity. They can't distinguish your device from, e.g. a satellite link where they should keep lots of data in flight. So your device and the endpoints will compete to see who can use the most RAM.
    2. Re:Uplink vs Downlink by m.dillon · · Score: 1

      Actually this isn't true. Modern TCP protocols will happily use whatever socket buffer space they are configured for, regardless of the latency, and will not reduce it unless they hit congestion control (meaning dropped packets, meaning you have to implement RED on the receiving side and you really want to avoid doing that if you can help it).

      But there are TCP moderation algorithms that will detect the link bandwidth (again, the latency is irrelevant) and actually *reduce* the number of packets queued. TCP-Vegas is one such algorithm. There is another implemented in Dragonfly and FreeBSD which can be enabled with net.inet.tcp.inflight_enable. These algorithms are designed to reduce, but not eliminate, packet backlogs at constriction points along the path between the server and client.

      These algorithms must be implemented on the *sending* end, however. Doing it on the receiving end is a much harder problem to solve. It is a good idea to enable it on your servers regardless because it reduces the number of packets backlogged on your router (or wherever your bandwidth becomes constricted) and actually improves the router's own filtering/QOS algorithms. If you have a lot of servers behind a router you can easily blow out the router's packet queues with burst traffic if you don't have this sort of feature enabled.

      Your only real choice on the receiving end is to force the packet backlog to shift to a machine under your control, which essentially means creating an artificial bandwidth restriction on your incoming packet stream. I discussed this earlier. It is possible to dynamically adjust the TCP window your receivers advertise but I don't know of anyone who has ever gotten good results from doing that, and it is very hard to build an algorithm to calculate the correct window size the receiving end should advertise.

      -Matt

    3. Re:Uplink vs Downlink by Jamie+Lokier · · Score: 1
      No, it is done at the receiving end too in more recent stacks:

      http://blogs.msdn.com/wndp/archive/2006/05/05/Winhec-blog-tcpip-2.aspx

      To address this issue in Windows Vista, we implemented TCP auto-tuning. It enables TCP window scaling by default and automatically tunes the TCP receive window size based on the bandwidth delay product (BDP) and the rate at which the application reads data from the connection. With TCP auto-tuning, we have seen 1000% (10x) throughput improvements in internal testing over underutilized wide-area network links.
  26. Not "any P2P application" by Anonymous Coward · · Score: 1, Funny

    BitTorrent does indeed cause noticeable slowdowns, but I use eMule all the time and I can even play games while downloading and uploading to hundreds of different peers.

  27. Re:Traffic shaping works but fair-queue works bett by Anonymous Coward · · Score: 0

    It has been a little while since I worked with it, but Iptables for Linux (others?) basically had every options I could think of and then some. You can certainly prioritize things, set up different classes, etc, etc. Basically you can shape your upload so that uploads are only a little slower, perhaps only a few KB/sec. It will then correctly dynamically prioritize everything else.

    Of course, the Iptables interface take a bit of reading. Perhaps someone knows a nice gui to recommend to generate the script.

    Of course, some bittorrent clients can adjust their upload rate. For the casual downloader, it wouldn't be hard to keep that just under your connection speed to preserve latency and then maybe reduce it a bit more, or just pause it, when a call comes in to give some bandwidth for that.

  28. Relevant article to me by Cctoide · · Score: 1

    I've wondered about this before, and I have tried, as many are suggesting, using QoS before. However, on our Linksys WAG354G QoS doesn't seem to do anything at all (when, luckily, all the latency is caused by traffic coming through under three ports, otherwise there aren't enough text fields in the QoS dialog to fit more), and in fact the router just seems to lose the DSL connection and not reconnect after a while, although I'm not 100% sure that's caused by QoS.

    So, basically, when I want to play online nobody can use BitTorrent or P2P at all on the LAN... or indeed when anybody wants to browse, as BitTorrent lag sometimes gets so bad Firefox will wait several minutes on a connection that is never established, forcing you to hit stop and then refresh. At lower speeds it just stops it from downloading stylesheets (for some reason FF considers them optional), which is nearly as annoying.

    --
    "Let's face it, it's a good story. Accuracy would kill it."
    1. Re:Relevant article to me by MortimerV · · Score: 1

      Try capping the maximum simultaneous connection attempts at some low amount. I don't know if it's a problem with all connection types, but I'm on cable and using a linksys router, and it seems that the constant spamming for a connection is what causes the problem.

      With a lower max connection attempts setting your torrents will take longer to find good connections, so it'll take longer to get up to speed, but it shouldn't affect your network performance as much.

    2. Re:Relevant article to me by dave562 · · Score: 1

      My very limited understanding of QoS is that both sides of the connection have to support it. Your application on the PC has to support QoS packet tagging and the router/firewall that you are using has to acknowledge those QoS tags.

  29. Re:Traffic shaping works but fair-queue works bett by wintermute000 · · Score: 2, Informative

    You forgot protocol inspection

    NBAR on any current cisco IOS feature set will detect pretty much anything you need to prioritise without seriously impacting performance.

    Juniper has something similar on their gear as well.

    Easy QoS: Low latency queueing = fair queue with a priority queue as you described.

    tag real time traffic as priority queue and allocate enough bandwidth depending on your capacity engineering. tag your important apps and put them in the second queue. Rest in default class.

    This is really all you need, I have seen VOIP for over 500 extensions hold up as that sites link is over 90% for an hour And this is Cisco callmanager i.e. the remote phones and gateways bork and go into fallback mode if the keepalives are lost.

    Just need to remember it needs to be end to end and in both directions

  30. Re:Traffic shaping works but fair-queue works bett by m.dillon · · Score: 3, Interesting

    IMHO, Cisco has the best packet queueing mechanisms that I know of. I've been using their fair-queue stuff for years, and it has only gotten better with each iteration of IOS.

    When I went from a T1 to a DSL line to save some money I immediately noticed the missing cisco. That little 2620 was so nice. PF couldn't hold a candle to what the 2620's fair-queue could do so I sat down and wrote a fair-queue implementation for PF (for DragonFly). It still isn't as good as what Cisco has, but it gets a lot closer then the other PF queuing mechanisms get.

    I think the bit I'm missing is the batch classification. My fair-queue can still get overwhelmed by dozens of batch TCP connections if I happen to not be able to classify their traffic (and they wind up on the standard queue instead of the bulk queue). The set-up is a priority queue with minimum bandwidth guarantees plus a fair-queue at each priority level.

    I keep hoping someone will take up the flag and finish it.

    -Matt

  31. Re:Traffic shaping works but fair-queue works bett by Barny · · Score: 1

    Not sure about other clients but Azureus at least allows you to set a QoS designator on all outgoing packets, leaving a router a very easy job of scheduling.

    At least one ISP here in AUS is looking at ways for customers to adjust their own shaping on the ISP end, so that you can get the perfect connection :)

    --
    ...
    /me sighs
  32. Ok, I'll bite... by Marton · · Score: 1

    Technology for mortals?

    "Incoming data from from multiple sources via the fast core of the Internet can sometimes clump closely together when multiple sources happen to transmit data around the same time."

    More like technology for idiots.

    It's simple. TCP/IP has a built-in backoff mechanism. It works wonderfully when two or three TCP (and other similar, more or less polite) streams compete for bandwidth. The mechanism is stream-based and not port-based, so when one app (one port) has 200-300 active streams, you're SoL no matter how polite those streams are. I guess one can approach the "BitTorrent corporation" with some crackpot idea about breaking TCP, but I wouldn't do it, unless you like to be laughed out of rooms.

    What may work is a port-based backoff mechanism on top of the existing stream-based one, but no app vendor is going to be able to help you with that. Or get QoS configured on your router. Alternatively, just get your roommate to use BT traffic throttling. It's there for a reason.

    Now can /. get back to actual nerd stuff?

    1. Re:Ok, I'll bite... by George_Ou · · Score: 1

      Do you understand that the TOTAL rate of incoming packets can be below the 2.4 Mbps sustained download rate (3 Mbps signaling rate) and that 200 of those packets can clump closely together and end up in the DSLAM transmit queue when they're coming in at gigabit speeds? Do you not understand how queueing theory works? Did you at least look at the pretty pictures and charts in the article? Did you see that 200 packets stuck in a queue can equate to 1000 ms lag?

  33. Does George Ou have ANY credibility left? by jamrock · · Score: 2, Informative

    Any whatsoever? His part in the Maynor/Ellch debacle was a serious low point for tech journalism; he makes Rob Enderle look good, fer chrissakes. Even if the article were in fact insightful and informative, the simple fact that his name is attached to it guarantees that I'm not going to read it. Someone please tell me what it says.

    1. Re:Does George Ou have ANY credibility left? by EllynGeek · · Score: 1

      It says he's still lacking in clues.

      --

      we will end no whine before its time

    2. Re:Does George Ou have ANY credibility left? by jamrock · · Score: 0

      LOL! Thanks for the summary.

    3. Re:Does George Ou have ANY credibility left? by TheLink · · Score: 1

      George Ou is clueless.

      He thinks the latency problem is because the P2P client sends lots of packets out in a go, and the way to to fix the latency problem is to talk to the bittorrent people to fix it at their end.

      It'll be hilarious if it weren't for many people believing him.

      Fact is it does not really matter that the P2P client sends say three 1500 byte packets at a go. If you have a 100Mbps LAN connection to the router, the router can take those three packets in less than a millisecond. Google says: 1500 * 3 * 8 bits / 100 megabits per second = 343 microseconds ( http://www.google.com/search?num=100&hl=en&safe=off&q=1500+*+3+*+8+bits++%2F+100+megabits+per+second ).

      It's more a matter of whether the router decides to send those packets out your 512kbps WAN link before your VOIP or online game packets. Each 1500 byte packet takes 23ms to send out that link.

      Your online game latency will go down even if your router naively decides to maintain a simple queue of packets where P2P packets always go to the back of the queue, and online game packets go to the front of the queue, and when the queue is full, drop packets at the end.

      The max hit you will take in this case is 23ms - that is if the router is busy sending out a 1500 byte P2P packet while your "VIP" game packet is waiting.

      Now if you are really desperate for lower latency what you can do is get the router to break the 1500 byte packets to smaller 500 byte fragments (this is what routers do). Then the first packet fragment could be sent out, then your VIP packets go next, then the rest of the frags go out when there are no more VIP packets to be sent. This cuts the maximum latency hit to 8 ms. However this approach can cause problems if your firewalls or any stuff in between you and your destination decide to drop all IP fragments - while they are doing things wrong (breaking standards), you are the one who suffers.

      George does say:

      "Now it is possible to solve this problem on the network level by prioritizing VoIP and gaming packets in the home DSL modem upload queue. Unfortunately, I don't have administrative access to the modem and implementing VoIP or gaming prioritization on my home router seemed to have no effect because there is nothing in the transmit queue of the home router since it connect to the DSL modem at 100 Mbps. "

      He does not need admin access to the modem. What he should do is configure his home router to assume the uplink is 400kbps or whatever is a bit lower than what his uplink is. Or get a router where he can do that.

      The thinnest part of the straw controls the flow.

      --
  34. Re:Traffic shaping works but fair-queue works bett by wintermute000 · · Score: 1

    Yeah Cisco QoS is fantastic if configured properly. Work was nice enough to send two of us on the proper QoS course (straight out of the CCVP syllabus) so we got to see first hand how effective it is.

    The config is actually pretty simple IMHO, its getting the correct understanding that is the hard bit. (why do Cisco insist on their stupid bucket analogy!!)

    Why don't you put your dragonfly (BSD I assume) box IN FRONT of the 2620? i.e.

    WAN --> modem --> dragonfly --> 2620 --> switch

    Then you can do your QoS, NAT and all your internal routing on your faithful 2620 :) I hate wrestling with iptables commands but you could also do your routing / NAT on the dragonfly and only use the 2620 for Qos, its up to yu - heck you could even NAT twice if you want to be difficult LOL

  35. Step 1: TCP ACKs by Piranhaa · · Score: 1

    Saturating your upstream (maxing your upload) means your downstream will suffer because you will be unable to send TCP ACKs as fast resulting in your internet to appear slower. Setting a worldwide limit on your entire outgoing traffics to just slightly below your maximum attainable upload will allow you to take advantage of giving maximum priority to your ACKs. Of course, on top of this one can also setup hierarchical queues for low bandwidth, high bandwidth and default queues (to keep it simple), but maxing your overall upload to just below your maximum attainable and giving priority to TCP ACKs are the best place to start...

  36. Ad for Killer Nic.... by Techman83 · · Score: 1

    Product placement anyone... Advert attached to this article...

    A network card that claims to improve framerate and your gaming experience in general.... Can anyone say placebo!

    --
    # cat /dev/mem | strings | grep -i cat
    Damn, my RAM is full of cats. MEOW!!
  37. From the Great Geek Philosopher Hypocrates by thedbp · · Score: 1, Troll

    So, let me get this straight:

    The geeks of slashdot acknowledge that P2P use strangles traffic on their LAN, and feel that some modification needs to happen to address this.

    However, when service providers complain about the negative effects of millions of people using P2P on their backbones, and take action to correct this, same said slashdot geeks get their panties in a bunch and cry fowl.

    I'm not taking one position over another. I'm just saying that I think this may be a big reveal about why a lot of norms have a strong mistrust and/or dislike of geeks. A lot of the time moral outrage is claimed when in fact it looks more like self interest.

    1. Re:From the Great Geek Philosopher Hypocrates by the+brown+guy · · Score: 2, Insightful

      Yeah, but the action that the ISPs take to correct the negative effects caused by millions of people actually using their allotted bandwidth is unfair (and possibly illegal, IANAL and I have no issues w/throttling so haven't been following closely.)
      There is a huge difference between a corporation not giving customers what they have paid for, and the customers using that bandwidth how they see fit.
      Just my 0,02

      --
      Orbis terrarum est non altus satis
    2. Re:From the Great Geek Philosopher Hypocrates by chubs730 · · Score: 4, Insightful

      When are ethical issues not directly derived from self interest? The issue with throttling at an ISP level is receiving the service one pays for. Bandwidth shaping for a personal network, deciding what one would like to do with the service they purchased, is an entirely separate issue.

    3. Re:From the Great Geek Philosopher Hypocrates by thedbp · · Score: 2, Insightful

      I would say that a network is, by design, a shared interdependancy. Selfish network behavior, regardless of that activity's legality, is a detriment to the entire system, while simultaneously making it harder to maintain, support, and manage.

      Look, I'm not for legislation, but a little common sense will tell you that it simply isn't right for a small minority of the customers to use a massive percentage of available bandwidth, using applications that they themselves say wreak havok on their local network.

      You speak of not providing people with what they've paid for. How about all those next gen services we want rolled out, how will they ensure they can manage network traffic fairly when all users need a much bigger chunk of bandwidth for standard services? If P2P users can't keep in mind the rights of those not using the same torrent, or their responsibility to be good network neighbors when they KNOW their activity disrupts others, they have no reason to expect the same courtesy. A free Internet only works if there's respect.

      If there's no respect, that's when you wind up with silly things like legislation.

    4. Re:From the Great Geek Philosopher Hypocrates by evilviper · · Score: 2, Insightful

      The geeks of slashdot acknowledge that P2P use strangles traffic on their LAN, and feel that some modification needs to happen to address this.

      However, when service providers complain about the negative effects of millions of people using P2P on their backbones, and take action to correct this, same said slashdot geeks get their panties in a bunch and cry fowl.

      There's nothing wrong with reasonable traffic shaping. ISPs, however, DON'T want to do that. They want to damn near cut-off Bittorrent traffic entirely, even though reducing it by, say, 1/4th would have the desired effect.

      What's more, with network non-neutrality, what they really want, and what their QoS policies are set to enforce, is to drastically throttle all applications that COMPETE with their own... You can see this most dramatically with VoIP services, but also with P2P you can see that the ISP's own applications and services that use up bandwidth just a badly do NOT get throttled.

      Those issues are why there is "moral outrage". People aren't angrily upset that their torrents were just slightly slowed down...
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    5. Re:From the Great Geek Philosopher Hypocrates by justinlee37 · · Score: 1

      However, when service providers complain about the negative effects of millions of people using P2P on their backbones, and take action to correct this, same said slashdot geeks get their panties in a bunch and cry fowl.

      The difference is that when me and my roommate throttle our bittorrent traffic, we're both doing so voluntarily and we both know that it's being done. Comcast, on the other hand, pretends not to do it and then does it anyway without our knowledge. If my roommate surreptitiously throttled me without discussing it first, and lied to me about it, then yeah, I'd be pissed. That doesn't mean that it doesn't need to be throttled. Big difference.

    6. Re:From the Great Geek Philosopher Hypocrates by the+brown+guy · · Score: 1

      "You speak of not providing people with what they've paid for. How about all those next gen services we want rolled out, how will they ensure they can manage network traffic fairly when all users need a much bigger chunk of bandwidth for standard services?"
      Well, they could start by improving their infrastructure, because we know that the internet is here to stay, and so are HD movie downloads etc. The problem with these ISPs is that they never imagined that people would be transferring several GB of data a day, and that there would be a lot of these people. Ideally, the ISP should be able to handle all of their customers online at the same time, using max bandwidth. Of course not everybody is online all the time using all their bandwidth. So they figured that X% of people will be on during peak times, using Y mb/s bandwidth. Now, we want to use more bandwidth (which we already pay for, the most important point.)
      The worst part is, that companies like Bell are rolling out their own next gen services, to fill their coffers even more. So if I want to download a movie (legally of course :P), it will be throttled unless I get it from my ISP. Does that sound fair to you?
      You seem like a smart guy, so you know all of this already, and a discussion on /. will change nobodies mind.

      --
      Orbis terrarum est non altus satis
    7. Re:From the Great Geek Philosopher Hypocrates by stephanruby · · Score: 1

      Forget P2P, when one of my family members watches youtube, or uses Skype, my own access gets really slow and my web browser starts timing out. This is not a question of legislation, this is mostly a question of resource allocation. I still want to use youtube, and skype, for my own purposes, so I do not want to make those things illegal, but I just want to automatically shut down/throttle my family members when they're using too much bandwidth on their side.

    8. Re:From the Great Geek Philosopher Hypocrates by rxmd · · Score: 1

      You want to control how much you eat in your own household, but you don't want to be told how much to eat by who sells you your food. Where's the hypocrisy in that?

      --
      As a state gets corrupt, its laws multiply; the most corrupt states have the most numerous laws. (Tacitus, Annales 3:27)
    9. Re:From the Great Geek Philosopher Hypocrates by TheLink · · Score: 1

      Here's an analogy I hope you can understand:

      Case #1
      You go to an "All You Can Eat Buffet" and the restaurant stops you from eating all you can of your favourite stuff. Or starts taking hours to replenish the food.

      The restaurant is doing something wrong in this case. Sure you might be a glutton, but if the restaurant wants to advertise "all you can eat", they have to provide the food.

      Case #2
      You buy a few pizzas and share them with your friend. You now decide to share out the pizzas in a way that you think is fair.

      If you can't see the difference, believe me there really is a difference, keep trying to see it and maybe it'll do you some good.

      --
  38. Twitter is a tool. by Anonymous Coward · · Score: 0

    George Ou's methods must be challenged because he's using Microsoft operating systems.

    Peter Gutmann's methods are sacrosanct because he's targeting Windows Vista.

    Of course, it doesn't matter that Gutmann is so full of shit that his eyes turned brown. It doesn't matter that Gutmann's methods were fatally flawed. (Anonymous anecdotes from message boards as authoritative sources?!) Peter Gutmann is a Holy Warrior of the One True License. To oppose him is to blaspheme before the Great God Stallman.

    You're either with Twitter, or you're against him. Sound like a certain president you hate, you hypocrite?

  39. Re:Your client can do this. George Ou is a tool. by willyhill · · Score: 1, Troll
    His articles look reasonable, but you can never tell with that guy.

    Well then twitter, why don't you analyze his articles and come to your own conclusion, instead of spraying ad hominems on him just because he doesn't hate Microsoft as much as you obviously do.

    --
    The twitter monologues. Click on my homepage and be amazed.
  40. TCP Capture effect by redelm · · Score: 2, Interesting
    Doh! This is a long-known effect going by the name "Ethernet Capture Effect", and TCP streams are especially vulnerable. Even moreso on asymmetric links.

    It works like this: if the upstream bandwidth is saturated, TCP ACK packets get delayed and the sender slows transmission so the downstream bandwidth does not get fully utilised.

    There is no solution other than throttling the upstream senders (AFAIK good P2P software has settings). Note larger send buffers in broadband modems actually exacerbate the problem by taking longer to flush. Best to keep them empty, and th only way is throttling.

  41. QOS rules by Sam36 · · Score: 1

    I've been using a QOS mod for smoothwall 2.0 for about 5 years now: http://community.smoothwall.org/forum/viewtopic.php?p=164920 Works fine, not sure what everyone is whining about. It seems that QOS is some kind of black art or something. I have spent hundreds of hours trying to help people on that forum to get a good working qos setup and every time it just ends up being a waste of my time. People just don't take the time to read up on the technology that they are trying to implement and I just end up going around and around in circles. But what I can tell you is that no matter what the heck goes on on my network, no matter how much p2p apps are ran, I always have clear voip calls and lag free gaming. I remember seeing an article about a device that was supposed to automatically shape your traffic and give you lag free gaming and stuff. I am sure it never took off because as it seems no matter how simple you make QOS, people still can't figure it out.

    1. Re:QOS rules by Sam36 · · Score: 1

      Oh I might add that most of the QOS settings in todays cheap embedded routers from walmart don't even work at all (Simple QOS = function-less QOS ). I have had good luck with the Tomato firmware for the wrt54g though.

  42. A Better Solution by puddnhead7 · · Score: 2, Interesting

    I like the way linux bandwidth arbitrator (http://www.bandwidtharbitrator.com/) approaches the problem.
    -
        Set your total bandwidth minus the guaranteed bandwidth you want to allocate to priority traffic masked/identified either by port/protocol/src/dest or by a deep packet (perl based) inspection.
    -
        If any app OR host OR connection OR port starts encroaching on the latency of other others, it gets chucked into memory jail for a fixed number of escalating milliseconds.
    -
        This has a two fold benefit for latency and bandwidth contention issues. One, by chucking the hogs in memory jail, queue space is cleared up to allow priority traffic through on a more consistent basis.
    -
        Imagine you've got a city bus that goes to sports stadium of your chosing. When it's not a
    game day, there are no problems boarding the bus. You get 3 or 4 people on their way home from or to work. On a game day though, you get those same 3 or 4 people plus an additional 20 drunk people who don't know how to board a bus. What usually happens is the 3 or 4 regulars either don't get a seat or have to wait until the next bus. Not good or fair.
    -
        The way linux bandwidth arbitrator solves the problem is to tell the bus driver to watch for drunk idiots. If she sees more than three cubs fans in a row, she shouts out to them to step back, close their eyes and count to 10. While they're doing this (they're cubs fans, you know they would), she waves the regulars to the front of the line.
    -
        So, it's good for latency and jitter. It's also good for bandwidth. All those bad packets you threw into memory jail? Well, a good portion of them are probably TCP which means there's a remote end of the connection waiting on an ACK before it sends more data. Even in the case of connectionless protocols like UDP, chances are there is some sort of app or session layer check that will defacto hold back sending more data until it receives a response. You've managed to stem the firehose that's half of the problem without resorting to cheap ass tactics like false RSTs.
    -
        The beauty is, done right you don't need to know anything about the problem causing traffic to mitigate its effects. Assume you tag your priority packets with a deep inspection based on port/src/dst/prot (This is what almost never gets done). Whether it's eMule is running on port 443 or through a proxy or if it's a worm or the file sharing program of tomorrow, it gets throttled back.
    -
        The drawback is it's a bitch and a half to get installed and three more bitches worth of pain to get configured and tuned. Once you do though, it rocks.
    -
    [I kid about cubs fans. I lived off of Addison Ave and dealt with my fair share of that scenario, but the bulk of the people in line were ok.]

  43. UNITS! by ConanG · · Score: 2

    I think you may be using different units (kbps vs KBps) than he is using.
    850 KBps = 6.6 mbps
    70 KBps = 560 kbps
    I use RR also, and those are both reasonable numbers.

    1. Re:UNITS! by rikkards · · Score: 1

      Last time I checked, standard method of determining bandwidth was in bits per second not Bytes. /could be worse a guy I work with uses Mips no idea what he is talking about, I just shake my head

    2. Re:UNITS! by AikonMGB · · Score: 1

      You can use whatever the hell units you want, as long as you actually indicate - properly! - which ones you are using.

    3. Re:UNITS! by randyest · · Score: 1

      Yeah? Where did you check that? In the Journal of Standard Methods of Determining Bandwidth? I'd be a little skeptical of them -- you'd think they'd know the difference between determining and specifying.

      --
      everything in moderation
    4. Re:UNITS! by rikkards · · Score: 1

      Without delving into it too much and providing an easy link to find:
      Wikipedia is one:
      http://en.wikipedia.org/wiki/Measuring_network_throughput

      When you look into the overhead (especially if encrypted traffic is involved) that is involved with typical network routing, you aren't talking anymore about the specific data that you are transferring and how it can vary (padding etc). How do you get an accurate representation of how much data that can be pushed through a link? This is why they talk bits per second, it is the smallest common denominator.

      Hell, looking at the IP protocol, it never once mentions Bytes
      http://www.networksorcery.com/enp/protocol/ip.htm

    5. Re:UNITS! by randyest · · Score: 1

      Yeah, I don't know why an uncited wikipedia sentence would be confused as a standard by anyone, and the IP RFC doesn't mention bandwidth or in which units to specify it either. So I guess I'll just feel sorry for you for (a) being unable to multiply by eight, (b) being unable to differentiate 'b' from 'B', or (c) both.

      --
      everything in moderation
  44. Re:Your client can do this. George Ou is a tool. by Hal_Porter · · Score: 3, Informative

    Why is slashdot linking to stories by a troll like George Ou? His treatment of Peter Gutmann is unforgivable. What's so bad about his treatment of Gutman? Gutman wrote a crazy tinfoil hat piece about how Vista's DRM will steal your soul and George flamed the hell out of him. From your link.

    http://www.cypherpunks.to/~peter/zdnet.html

    Schneier is a moron if he thinks telling Hollywood no will force them to use non-DRM content. All you need to do is look at the CableCard fiasco. You give Hollywood the finger and they give you the finger right back because they'd
    rather NOT have any content on the PC to begin with. Like Apple, Microsoft
    will humor Hollywood so they come join the party. Once they're in, they'll
    get screwed out of their DRM protections because Microsoft won't patch the DRM
    holes and let their customers bypass DRM. The latest DRM stripper for Windows
    Media has worked for almost 2 months now and Microsoft hasn't patched it yet. Ok, so it's nasty to call someone a moron. And it's not really true either. It's ideology that causes Schneier and all the Web 2.0 'experts' to say this. He's no fool but he can't differentiate between it would be good if something being true and something being true. It would be good if Hollywood would give up on flakey DRM schemes. But if Microsoft and Apple had somehow agreed to boycott them, then Windows and Mac users would just have been left with no way to play HD content, because Hollywood is mortally afraid of people ripping HD content and uploading it to Pirate Bay. But George Ou is right that once stuff gets on open platforms like the PC it will get cracked anyway, so the OS vendors were just humouring them. And they probably knew it.

    FOR THE LAST TIME, I want the DRM on my system so I can play my DVDs, HD DVDs,and Blu-ray like MOST people.

    You don't want it, more power to you. I've given you the links to the
    software you need get avoid enabling MFPMP at all. I've shown you the lower
    CPU utilizations using cheaper hardware. I don't know what else you want. ...
     

    You know, you are a f***ing moron. End of discussion. Well, he's certainly tactless and outright rude. But he's also right about the following -

    * Hollywood forced OS vendors like Microsoft and Apple to add DRM to allow playback of HD content.
    * Both did, because it would be hard to sell an OS which can't play next generation content.

    But this doesn't really matter because

    * DRM will be cracked anyway.
    * It doesn't have any effect on the OS if you don't use HD content.

    He's only get flamed because he's defending Vista which is the subject of the current geek 3 minute hate. Now I don't really like Vista compared to XP, you don't need to believe that it 'causes global warming' as he puts it to dislike it.

    BluRay is a product. If you don't like, don't buy and don't use the content distributed over it. I know I won't. And if you don't want Vista as a bundled OS, buy a computer it doesn't come on (like a Dell) or build your own.
    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  45. Triggered Quality of Service by hidden72 · · Score: 1

    I had major issues with bittorrent, NNTP, and other bulk file transfer applications causing massive latency for my VoIP line. I tried a few things but nothing worked out. I ended up settling on a combination of Snort (to detect when I'm on a VoIP call), pfSense (a box to host the application on), and a Cisco router to rate limit only while I was on a call, to get flawless VoIP even with bittorrent running.

    Substitute "VoIP" for online game if you wish... the concept is the same. The nice thing about this method is that 100% of the bandwidth is available for bulk file transfer when important applications are idle, but when they fire-up, rate limiting takes enough bite out of the file transfers to make the VoIP work well.

    I call it Application Aware Triggered Quality of Service or AATQoS for short. Read the how-to on the webpage.

    1. Re:Triggered Quality of Service by pandrijeczko · · Score: 1
      Why would you not just use prioritisation for VoIP packets? I've a (non-Cisco) remote VoIP hardphone on the desk in my home office over a BT ADSL link.

      I do use BitTorrent & NNTP but notice no degradation of service when those are on when I make VoIP calls - and I've only got a 3MB/s ADSL connection to boot.

      I suspect you're having to do all the fancy stuff with Snort because your VoIP hardware isn't that good - Cisco again no doubt?

      --
      Gentoo Linux - another day, another USE flag.
  46. wtf by Anonymous Coward · · Score: 0

    who the hell modded this up? doesn't everyone know by now that this is one of twitter's sockpuppets?

  47. Every good router already does that by Casandro · · Score: 1

    Well actually every good consumer router already does that. For example with mine, I can define 4 types of packages and impose certain bandwidth levels on them, as well as set priorities. It's a basic feature of many DSL-Routers.

  48. Re:Your client can do this. George Ou is a tool. by Anonymous Coward · · Score: 0

    You have been called on this before twitter, please don't trot it out again hoping someone with moderator points won't remember it and not realize how blatant your misrepresentation is.

  49. Re:Your client can do this. George Ou is a tool. by Sivar · · Score: 1

    If you'd bother to read the article you'd discover that not only does this not work, but the article explains why and, in fact, that's the whole point of the article.

    --
    Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
  50. QoS is a must-have for p2p users by clarkn0va · · Score: 1
    I've never used ddwrt, but any properly-configured qos solution should do the trick nicely.

    I've used both stock debian and m0n0wall and I run my torrents unlimited up and down. I've never had an issue once I get the qos dialed in. Yes, it takes a bit of tweaking on the numbers, but once it's set neither I nor the person I'm voiping/gaming with can tell there's a torrent even running. Latency can go up slightly on web browsing, but that's where Ou's recommendation for a smaller p2p packet would really help.

    db

    --
    I am literally 3000 tokens away from the chaotic crossbow --Stephen
  51. router limitations by clarkn0va · · Score: 1

    I don't know about his WRT router, but I used to be using HTB shaping on a Pentium II 400 MHz box, without ever seeing it take even so much as a percent of its CPU cycles. CPU usage in routers is more related to total throughput (barring a lot of encryption, such as with vpn). I ran linux a PII 350 for a router on a 10/1 connection and the fanless heatsink never even felt warm.

    The hundreds of p2p connections crashing routers has more to do with their lack of other resources. M0n0wall, for example, has a connection table that maxes out at 30 thousand entries. You are not likely to saturate this at home, and if you did, you still wouldn't crash the router, you would just have to click that link a few times in your browser before succeeding to load a new web page. I suspect the common lockup of OTC routers under p2p load has more to do with a lack of RAM.

    db

    --
    I am literally 3000 tokens away from the chaotic crossbow --Stephen
    1. Re:router limitations by Jesus_666 · · Score: 1

      Well, I have a WRT45G v4.0, that means a MIPS at 200 MHz and 16 MiB of RAM. It handles two users doing heavy filesharing plus regular browsing/mail usage gracefuly, but the question is whether it's going to be able to do QoS without issue.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  52. Assuming you have an asymmetric line... by warrax_666 · · Score: 1

    You probably just need to limit your download or upload rate more to prevent excessive queueing at the ISPs routers. What I usually do is start by setting up a continuous download/upload and continuously pinging a server (or two) which is known to respond quickly to pings. Once you do that you can simply use a binary search (looking at the ping times as an indicator) to find out what your download/upload should be.

    --
    HAND.
  53. No it doesn't. by SanityInAnarchy · · Score: 1

    Plain and simple.

    Maybe he used more sophisticated tactics than "Well, I don't seem to be lagging", but I could cap a torrent at 100kbytes out of a 2 megabit connection -- so, roughly half -- and no lag. Since I got fiber, I simply cannot saturate my pipe thoroughly enough to cause significant lag.

    --
    Don't thank God, thank a doctor!
    1. Re:No it doesn't. by flerchin · · Score: 1

      Wow, still refusing to read the frakkin' article. We are talking lag in the range of 13 to 47 ms. Hardly noticeable unless you are doing a systematic analysis. A systematic analysis like was done in the article! Nice to know that fiber is working out for you though.

      --
      --why?
    2. Re:No it doesn't. by SanityInAnarchy · · Score: 1

      We are talking lag in the range of 13 to 47 ms. Hardly noticeable unless you are doing a systematic analysis. I am talking about ping to Google in the range of about 18 ms, sustained. As I'm not always running a torrent, and I've never seen that ping go down to 5 ms, I have to assume the torrent isn't even causing that much lag.
      --
      Don't thank God, thank a doctor!
    3. Re:No it doesn't. by Anonymous Coward · · Score: 0

      That's a world of difference if you're into twitch gaming (q3 for example). A solid ping is what you need, spikes kill the fun.

  54. It's about control. by SanityInAnarchy · · Score: 1

    If the ISP wants to make the shaping opt-in, and give me a website to visit to shape my own bandwidth, I'm all for it. It might be easier than trying to shape my own traffic.

    But if the ISP is going to choose for me, no thanks. I'd rather you just actually give me my full pipe and let me use it how I want.

    And believe it or not, I seem to actually get that, on a fiber connection, for $60/mo. In rural Iowa.

    By the way, this is the solution to how to have net neutrality, and still have working VoIP: Actually build enough infrastructure that you can handle users actually using their bandwidth. Then, it's entirely up to them how they want to shape it.

    --
    Don't thank God, thank a doctor!
    1. Re:It's about control. by jhol13 · · Score: 1

      Me shaping my own traffic is very different from someone else shaping my traffic against my will. The only difference is the word "me".

      The knowledge that you cannot control the entire Internet to your whim makes me happy (i.e. there always will be shaping).

      The grocery store analogy sucks even more than a car analogy would (highway & cars).
    2. Re:It's about control. by SanityInAnarchy · · Score: 1

      The only difference is the word "me". That is a very big difference. It's the difference between suicide and homocide. The difference between ownership and theft. The difference between masturbation, sex, and rape all have to do with the word "me".

      The knowledge that you cannot control the entire Internet to your whim makes me happy (i.e. there always will be shaping). WTF?

      Shaping other people's traffic would, indeed, be that "control the entire Internet to your whim" philosophy. I only want to control what happens to my own bandwidth, which I pay for.

      The grocery store analogy sucks even more than a car analogy would (highway & cars). Got a better one?
      --
      Don't thank God, thank a doctor!
  55. It's about control. by SanityInAnarchy · · Score: 3, Insightful
    It's very, very simple:

    The geeks of slashdot acknowledge that P2P use strangles traffic on their LAN, and feel that some modification needs to happen to address this. And when we do this, we're doing it to our own LAN. And it affects our own bandwidth, and the bandwidth of any roommates -- who most likely know what's going on, and agree to it. (After all, it's not as though it's going to slow the torrent by much.)

    However, when service providers complain about the negative effects of millions of people using P2P on their backbones, and take action to correct this, same said slashdot geeks get their panties in a bunch and cry fowl. Cry "bird"? WTF?

    More seriously: Me shaping my own traffic is very different from someone else shaping my traffic against my will.

    To borrow another poster's analogy:

    I have no problem with choosing what kind of food I eat. If I had kids, I'd have no problem choosing what kind of food they eat.

    I would very much not like the grocery store to choose what kind of food is best for everyone.

    Fortunately, it's in the grocery store's best interest to give customers what they want. For some reason, ISPs think it's not in their best interest to do the same.
    --
    Don't thank God, thank a doctor!
  56. Bullshit by XNormal · · Score: 3, Interesting

    Install a bandwidth management tool like cFosSpeed and you will see that latency drops down to essentially the same levels as you have without BitTorrent running without reducing the torrent speed whatsoever. This doesn't even require any of the fancy prioritization features of the bandwidth manager tool - just avoiding overloading the transmit queue.

    In other words, your DSL line is perfectly capable of handling an uplink that is actually used for more than an occasional HTTP request without bogging down. The reason it doesn't do it is poor engineering of the DSLAM. With better tuning and queue management algorithms like RED (Random Early Drop) they will cooperate with TCP congestion control to avoid overloading the uplink buffers. Your DSL line will work just fine without a third-party bandwidth management tool.

    Why is the DSLAM poorly engineered? The simple explanation is incompetence. Conspiracy theorist would probably claim that it's intentional because ISPs don't want you to use bandwidth-intensive applications. The truth is probably somewhere in the middle: the original flaw was a combination of lazy engineers and the fact that most users don't really use their uplink so much. It's not being fixed beacuse it serves the interests of the ISPs.

    --
    Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
  57. ACK by oglueck · · Score: 1

    Even just priorizing ACK packets in your upload channel can make a tremendous difference to your ping!

  58. Some insight by Anonymous Coward · · Score: 0

    READ THE ARTICLE.

    It says and i confirm, even 10% of torrents upload capacity makes still latency high.

    There is a nice graph in that site. First picture says what it is now, big trains wait on intersection to go over. Second picture says, using packed prioritizing you can send smaller and important trains first, but there will be still big ones and if you go in on bad moment, when big train just crosses over that bottleneck, you still get latency. Third one is basicly the same, difference is, biggest trains are now smaller and worse case scenario end with less latency. Well, there is catch, more packets, more payload, throughput is smaller, you can put less information through of that bottleneck.

    QOS make latency small, smaller torrent packets makes it even more smaller.

    1. Re:Some insight by Aladrin · · Score: 1

      Agreed. I just set up my DIR-655's QoS the other day and the different is amazing. I used to be able to upload 30K/s max (half my line speed). Any more, and I couldn't browse the web at a reasonable speed.

      After setting up the QoS (it's supposed to be automatic, but the odd nature of BitTorrent seems to confuse it) I can now upload 55K/s and still browse the web fine. I tried 60K/s, but it appears that is just too much. Even the torrents cap out at 59K/s total.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
  59. bullshit by yacc143 · · Score: 1

    I'm having a Azureus running all the time, and I do make SIP calls from my mobile, over the same WLAN that my laptop uses.

    Hint: QoS on the router, and/or, you know even the first bittorrent client had a way to limit the upload rate.

    Hint2: Manage your output queue. If you let bittorrent max out the output queue of your DSL/cable modem, well, bad luck.

    To summarize, the author should get clue.

    Some special gems:

    > Now it is possible to solve this problem on the network level by prioritizing VoIP and gaming packets in the home DSL modem upload queue.
    > Unfortunately, I don't have administrative access to the modem and implementing VoIP or gaming prioritization on my home router seemed to have no
    > effect because there is nothing in the transmit queue of the home router since it connect to the DSL modem at 100 Mbps. Packets in the home
    > router get forwarded as soon as they arrive and there is nothing to reorder in the queue because there is nothing in the queue. More advanced
    > business-class routers like those from Cisco will allow you to configure the speed of the FastEthernet connection to match your DSL throughput so
    > that the queue will migrate from the DSL modem to the router but this isn't very practical for most people. So it would make sense for
    > application writers to try and make their application work as well as possible on the majority of home networks and broadband networks without
    > QoS.

    Guess my Asus router is a business class router then. Hmmm, well, the upgraded Linux firmware then. Obviously, it's better to rewrite every network application that sends data to do a distributed QoS, than to do it on the router. Hmmm, did the author check how well Microsoft FTP client blocks the connection? Wouldn't that be an peachy subject line for your next article? "Microsoft FTP needs to be rewritten". Better yet, you know MS has these WEBDAV support? "MS Windows needs to be rewritten to not disturb my VoIP calls!"

    Other cool subjects like "MS Networking needs to be rewritten because the author is to stupid to buy the right router and/or configure his router"
    come to mind.

    yacc143

  60. Incorrect definition of a DMZ by Anonymous Coward · · Score: 0

    In a DMZ, SOME of the ports are open directly to the internet. Not ALL of them. Some.

  61. Re:Your client can do this. George Ou is a tool. by hostyle · · Score: 1

    Cracking DRM is illegal in some countries. Is George Ou saying its better to break the law in this way than not have access to certain media? If that is the case, then why bother buying and cracking at all, its far easier to download it from the piratebay. You avoid the hassle of having to crack the DRM and the cost of having to buy the media/DRM software tax. Its just as illegal either way.

    --
    Caesar si viveret, ad remum dareris.
  62. Flamebait by spazdor · · Score: 1

    -nt-

    --
    DRM: Terminator crops for your mind!
  63. Real World experience by DrYak · · Score: 1

    The author basically experienced excessive lag even though he did cap his upload rate Both the parent's and my real world experience beg to differ.
    Maybe if you use some badly programmed client running on some garbage OS with a shitty TCP/IP stack, it might happen (maybe a weird ISP comes into play too).

    I happen to have 2 bit-torrent clients (mldonkey and rtorrent) on my home network running 24/7 (constantly uploading popular stuff, including things like linux distro ISOs) and that doesn't prevent my brother to have a decent ping in Phantasy Star Online, Ragnarok, Lineage 2, Cabal or Age of Conan (In case of the later at least as long the server is holding up at the other end. Of course during the launch week of such an anticipated games, there's bound to be minor hoops), while at the same time my father's Skyping to some other family across the globe.

    That means that even though your upload rate may be limited to 10 KB/s, if your total upload is 20 KB/s, you might experience a maximum lag of 0.5 seconds. Then something is really wrong with this guys' software. In-client bandwidth shaping is supposed to be done at the request-level. A well behaved client is supposed to keep in flow enough request to keep the traffic constantly within ranges of aloted bandwidth (i.e.: don't try to simultaneously push packets toward 2534 different peers, if upstream is limited to 20KB/sec).

    mldonkey, for example, has an algorithm which limits the number of peers its uploading to based on the upload limit. It won't serve more packet than it should to avoid over filling the outbound queue in the DSL modem.
    You can further control this by manually overriding this number, limiting the total amount of connections kept open at any time, etc.

    In the same way, a DSL modem is supposed to evenly distribute it's outbound traffic to all clients in the LAN. It's not supposed to suddenly shut everyone else on the network and only serve the P2P-running server for short bursts of time.
    I'm not even speaking about advanced QoS like traffic shaping and prioritizing based on services. I'm just speaking about basic "spread the bandwidth evenly among all members of the LAN".

    This guy should change its client. And maybe his router too.

    The same goes for down stream : a client shouldn't send too much requests to the point that the whole intertube suddenly starts giving back data payload at the very exact same time. That would be the equivalent of client self-DDOSing itself - that's either an idiotic client or an extremely badly done configuration.

    In a similar way (as long as the number of requests are within reasonable range) there's no reason why, when the wait queue grows in the DSLAM, it should suddenly start neglecting some of the request and not the other (the VoIP & MMORPG packet shouldn't suddenly get pushed to the end of the queue while the DSLAM first transmits all P2P packets exclusively). The DSLAM should evenly send packets to all open ports.

    But probably the ISP tried to get away with the cheapest possible material. And instead of doing something intelligent upgrading material and/or implementing packet prioritizing (no matter what, if there's a VoIP connection open, it should get a minimal constant flow of packets - Avoid at all cost temporarily pausing the flux while bursts arrive) the ISP are whining and trying to lobby to be allowed to do traffic capping.
    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  64. Nope. by Mr2001 · · Score: 1

    If you want a laugh, go through Freedom to Tinker's archives and look for the BitTorrent threads George Ou has posted on. For example, this one. Every time he opens his virtual mouth, he flushes a little more credibility down the toilet.

    --
    Visual IRC: Fast. Powerful. Free.
  65. Re:Your client can do this. George Ou is a tool. by Hal_Porter · · Score: 3, Informative

    Cracking DRM is illegal in some countries. Is George Ou saying its better to break the law in this way than not have access to certain media? No, he isn't, and I'm beginning to see why he gets angry arguing with people who don't understand what they are talking about and won't read what he says.

    Let's take the whole thing from the top.

    1) Microsoft's marketing department decided that Vista needs to support BluRay.
    2) The BluRay Disk association said that if they want to do this they need to support protected media paths and all the other nonsense.
    3) Microsoft did that.
    4) The net result is that you can Windows Vista and a software player to play BluRay DVDs. You don't need to crack anything to do this, or break any laws.

    If they hadn't implemented PMP et al, you would need to crack to watch the disks because no software players would have been licensed by the BluRay consortium. I read somewhere that with DVD they originally planned not to allow software players because they were scared the keys would leak. And they were right, the Xing Mpeg player was hacked and the key was discovered.

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

    So they sort of had a good case for only allowing hardware players. But Microsoft convinced them that PMP and so on would avoid cracks. Inevitably one of the software players was cracked.

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

    Note that Windows DRM is 100% ineffective against this sort of thing, which is why PMP is a bit of a con. You can always use WinDbg to kernel mode debug a Windows machine and read every single byte of memory. But from what I can tell, the AACS key was extracted from the user mode software player, so even this wasn't necessary.

    But you don't need to know the crack anything to play BluRay discs on Vista. Just use the BluRay player software that came with the machine. But that player would not have been licensed if Microsoft hadn't implemented DRM in the OS.

    Now Linux can't implement DRM that will satisfy the BluRay consortium that a user won't get the keys. So to play BluRay discs on Linux you must rely on the crack. But cracked software isn't exactly user friendly. It's illegal to link to it in the US and the studio will keep tweaking the disks so it breaks and you need to download a new version.

    If Microsoft hadn't implemented DRM the Windows users would be in the same boat.

    Now if Blu Ray is like DVD then writable disks will only allow unencrypted content. So to copy a Blu Ray disk you'd need to crack. But just to watch a disk you don't.

    Personally I pretty much rent or buy the odd DVD and watch cable. I'm in Asia and BluRay isn't too common here. I think the technology is overpriced and the requirment that the whole playback path be protected makes the whole process too fiddly. I can't see much difference in quality between HD and normal content. So I'm not going to buy it. But let's not get carried away. Windows users will watch BluRay disks in a userfriendly way. Pirates and Linux users will be able to copy/watch it too, it will just take a bit more work.
    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  66. I am sorry for your loss by dreamchaser · · Score: 2, Funny

    Let us take this occasion to have a moment of silence for the above AC's sense of humor. It died in a tragic accident and all attempts at resuscitation failed. It will be missed.

  67. BT Slows Down Connection by DeanFox · · Score: 1


    He fires up Bittorrent and his network connection turns to crap. Is his ISP Comcast by any chance? Kidding aside my first thought was he's viral for the telecoms to redirect and mis-direct the problem to the client.

    -[d]-

  68. Traffic Shaping by magamiako1 · · Score: 1

    Not sure about anyone else here, but traffic shaping only works to an extent. One of the things regarding my Juniper Netscreen is that it has impressive traffic shaping abilities--except, it only shapes per connection direction.

    Meaning, since most of the problem comes from torrent *upload* (which is an inbound connection), you won't be able to QoS that to a lower priority than your web traffic (outbound connection).

    Essentially, you get about the same effectiveness as simply capping using the program's rate limiting options.

  69. Real Reason by RavenChild · · Score: 0

    We all know that completely using your bandwidth will make your connection slow. If it's still slow after limiting bittorrent bandwidth then there's another reason. Most clients utilize many more connections than the operating system supports. People think "Ohh more connections means I can download faster." Just lower your number of connections for your client and this problem will fix itself.

  70. Re:Your client can do this. George Ou is a tool. by George_Ou · · Score: 2, Informative
    Hal Porter says: "No, he isn't, and I'm beginning to see why he gets angry arguing with people who don't understand what they are talking about and won't read what he says."

    Now imagine sending 10 private emails to someone (Karel Donk) and the guy continues saying annoying and idiotic things. Then imagine you lose your temper and use some profanity in a private email. Now most people can get away with that, but someone like me who is a high-profile blogger at ZDNet should have known better to write that in an email. So Donk forwards my emails to Gutmann and Gutmann posted it on that link of his pretending like I was sending Gutmann harassment email. Initially, Gutmann posted it on his University web page but he took it down because it didn't belong there. So that was Guttmann's only defense that I referred to him as a moron in some email that wasn't even sent to him.

    So I used profanity in a private email and it got posted without the full context. I should have known better and I won't make that mistake again. Guttmann on the other hand never conducted a single test, never even used Vista, and he presented a bunch of web forum postings as a scientific study from a respected university. That is by definition academic misconduct.

    I explain how Karel Donk is one of Gutmann's primary sources here. http://blogs.zdnet.com/Ou/?p=723)

    Anyhow, thanks for being logical and email me any time.

  71. Bursty traffic. by leuk_he · · Score: 1

    You can slow down traffic, even in the p2p application. But it will negatively affect transfer speed of p2p applications. Specially if you communication with other high latency clients.

    And it is not easy to do under windows because properties like frame window size is not accessible from windows in a generic way.

  72. What a load of hogwash! by g0bshiTe · · Score: 1

    "[Any] VoIP [user] or online gamer who has a roommate or a family member who uses BitTorrent (or any P2P application) knows what a nightmare it is when BitTorrent is in use. The ping (round trip latency) goes through the roof and it stays there making VoIP packets drop out and game play impossible."

    I regularly download gigs of data via Bittorrent and my wife simultaneously uses a java based IRC client, while I play COD4 and I still get on average no more than a 40 ping in my fave server. Normal ping is around 33, so a whopping 7 ms latency surely that's acceptable, at least to me. Oh yeah, I've also done all that and run my own audio stream server, all from my home network, and my games are still very much playable. Using cable medium bandwidth tier.
    --
    I am Bennett Haselton! I am Bennett Haselton!
    1. Re:What a load of hogwash! by amorsen · · Score: 1

      Using cable medium bandwidth tier. Cable has (almost) no serialization delay. ADSL is not so lucky.
      --
      Finally! A year of moderation! Ready for 2019?
  73. Routers by Coleco · · Score: 1

    Back when I had my computer plugged right into my cable modem I never had a problem with bittorrent slow downs at all. I had probems even surfing properly with bittorrent on once I added a router. Configuring QOS seemed to do nothing. You're DOSing your own router with too many open connections, it has nothing to do with bandwidth. Some routers are better able to handle hundreds of connections then others. The old linksys wireless routers (that most people still use) are garbage in this regard.

  74. Please Seed. by Icegryphon · · Score: 0

    Need more seeders.

  75. Easy by sexconker · · Score: 1

    Most bittorrent clients are configured to use far to many connections at any one time.

    While saturating your upload is a bad idea, setting it to 75% should typically (for 512 kbps and faster upstream) leave plenty of room for an FPS and a VoIP call.

    Even if you cap it at 50% you'll typically run into issues because there are so many connections open. What's the point of seeding to 50 people at 1 KBps when you could seed to 5 at 10 KBps?

    The excess of connections is the problem. Cut the standard to about half unless you have a powerful router and modem (no, DD-WRT doesn't make your router powerful, and no, that modem the cable guy gave you isn't special either).

  76. MOD PARENT UP by Anonymous Coward · · Score: 0
    You should know that the person who posted the original comment calling you a "tool" is a well-known Slashdot troll that primarily goes by "twitter", but he has at least ten other accounts.

    If you ever run into him elsewhere (or even in meatspace), his real name is William H. Hill, works at LSU and lives in Baton Rouge, LA.

    1. Re:MOD PARENT UP by Hal_Porter · · Score: 1

      I think twitter is a parody to some extent. Maybe some embittered Microsoft shill created him as a comment on the whole slashdot phenomemon. Actually it's bigger than that, it's spread to all the soi disant nerd blogs.

      It's sad really. Being a nerd used to mean someone who ignores fashion and tries to avoid joining a clique - at least that's what it meant when I was at school. Since nerds didn't believe in cliques we didn't agree on much, if anything. But that was ok, because arguing was fun.

      But the web 2.0 nerd thing is the opposite of that. It is a clique. If you want to join the clique you need to have clique approved opinions on politics and technology. And the arguments are not about fun, it's about being angry at non clique approved things. And it doesn't matter how good the arguments are any more, any argument that is against politically incorrect things is amplified and any argument that is for them is suppressed.

      It's like some of the other cliques at school. If you were in those any argument against clique defined politically incorrect things was applauded, regardless of how dumb it was. The web 2.0 nerd thing is much more like the popular people at school than the nerds.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  77. WTF, You are arguing for ISP mafia's? by Anonymous Coward · · Score: 0

    I imagine lingo is probably using UDP instead of RTP otherwise his ISP should be able to provide QoS for his voice traffic? I'm not sure if the author is trying to make a case against network neutrality but it seems he does not understand that QoS can be provided without reverting to some kind of ISP mafia pay scheme.

  78. What a load of hate. by Odder · · Score: 0

    Peter Gutmann can be trusted because he's an independent expert who's usually right. He's a academic imaging expert with no concealed interests and someone who cared enough about Windows to investigate Vista. His account of being raped in the Wintel press for it is well written. Ou took it to the next level by writing letters to Gutmann's University to get him canned. All of this because Gutmann dared publish a careful and objective review of Vista's DRM. Everything Gutmann said has proved correct.

    1. Re:What a load of hate. by Anonymous Coward · · Score: 0

      As ye sow, so shall ye reap.

    2. Re:What a load of hate. by Allador · · Score: 1

      He's a academic imaging expert with no concealed interests and someone who cared enough about Windows to investigate Vista. He never investigated Vista. He investigated some white papers, and some people who work at Nvidia and ATI.

      He never (according to his website) investigated Vista. It's all second or third hand, or worse.

      All of this because Gutmann dared publish a careful and objective review of Vista's DRM. Except thats not what Gutmann did.

      Gutmann read some very old white papers. He then built a mental model of what Vista might look like if people implemented it according to his personal interpretation of those white papers.

      He then assumed that mental model to be true, and slammed this theoretical model that might be Vista on his interpretation of how MS might have implemented it.

      But read his website closely. He clearly, at least according to anything I can find on the website, never once tried to actually see if any of his theories were correct.

      Which is really strange, because thats the fundamental scientific method. Postulate a theory, then test your theory. Gutmann only ever did the first part.

      Everything Gutmann said has proved correct. Interestingly enough, no. There hasnt really been any refutation or support for any of Gutmann's claims, one way or another.

      If you have a decent machine and good drivers, Vista clearly doesnt behave at the level of flakiness that Gutmann claimed it would, which seems to automatically invalidate some of his claims.

      But the verdict is out, as far as I've seen. No one has ever attached hardware to the bus and tried to see if there are flip bits, or the kind of intrusive checking that Gutmann claimed would be in there.

      It might be, it might not. No one that I have read has EVER tested it, including (as best I can tell from his publishings) Gutmann.
    3. Re:What a load of hate. by George_Ou · · Score: 1
      Oh but I did refute his claims with actual experimentation. So did Ed Bott. Gutmann's only evidence is from a few web forum postings.

      Guttmann on the other hand strictly relies on his defense that I never saw his slides and that I'm simply attacking an "out-of-date" version of Guttmann's writeup. But this debate has gotten to the point that people won't even bother to read what I actually wrote.

      http://blogs.zdnet.com/Ou/?p=673
      http://blogs.zdnet.com/Ou/?p=723
      http://blogs.zdnet.com/Ou/?p=723#do-not-attribute-all-cpu-to-mfpmp

    4. Re:What a load of hate. by Allador · · Score: 1

      I saw some of your stuff after I wrote that response, but appreciate you posting the links anyway.

      I'd like to see a more thorough analysis of some of this stuff by someone more qualified by me, using actual debuggers and signal analysis on the bus.

      However, in the meantime, your tests are fairly straightforward (also glad Ostermann added some useful points about IHV added effects and whatnot), and match my personal experience.

  79. The obvious solution..... by Anachragnome · · Score: 1

    And I am only partly being facetious here, get rid of the roommate!

  80. What a load of desperation by Anonymous Coward · · Score: 0

    Gutmann's useless "research" must be central to your little jihad if you're so desperate to convince people that it's somehow valid and implying that anyone who thinks otherwise "hates" you.

  81. Front and center twitter by Anonymous Coward · · Score: 0

    Please reply to Allador's points, and have the decency to apologize to George Ou (who has posted in this thread) for insulting him.