Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Networking

P2P Traffic Shaping For Home Use? 288

An anonymous reader writes "My housemate uses an aggressive P2P client, that when in use makes the Internet unusable for everyone else connected to the network. After hearing about various ISPs shaping traffic to reduce P2P traffic, I was wondering if there was a solution for managing P2P traffic on a home network. I have a Linksys WRT54G available for hacking. Can Slashdot recommend a way to reduce the impact of P2P on my network and make it usable again?"
This discussion has been archived. No new comments can be posted.

P2P Traffic Shaping For Home Use?

Comments Filter:
  • by ITIL Prince ( 968673 ) on Saturday May 24, 2008 @07:07PM (#23532038)
    My Linksys WRT54G is notorious for getting slower and slower over time when we use P2P here at the house. I found that rebooting it every day helped. Not even DD-WRT made that problem go away. I think the Linksys just didn't have enough "oomph" to do traffic shaping. There's an interesting solution I came up with - buy a second Linksys and flash it with DD-WRT. Turn on traffic shaping for all ports. Use the second Linksys as your Internet facing router, and leave the default firmware on it, but define the second Linksys as your DMZ system. It works, and for some reason the first Linksys doesn't need to be rebooted all the time.
  • Just speak to him! (Score:5, Interesting)

    by drspliff ( 652992 ) on Saturday May 24, 2008 @07:19PM (#23532146)
    My housemate has a machine setup for bittorrent, when we first moved in together it was very annoying as he seemed oblivious that running it all the time meant that my connections were slow, dropping all the time & unusable.

    So I spoke to him, you know - in a rational way. It's now scheduled for the nights & days when we're either asleep or at work with a few hours in between & most of the weekends where it's either throttled down to 10k/s (by uTorrent) or stopped completely.

    On top of that we've got a Smoothwall box with packet prioritization for ssh/web/email/im etc. but no bandwidth throttling.

    At the end of the day, if you cant come to an agreement then it's probably just gonna get worse for you two and there's nothing you can do to stop him being an asshole.
  • by Omnifarious ( 11933 ) <eric-slash@omnif ... g minus language> on Saturday May 24, 2008 @07:35PM (#23532244) Homepage Journal

    I had a housemate who ran P2P software all the time without even realizing it. Talking to him did nothing. Limiting the number of outbound packets from his computer to a certain number per second with a fairly high burst solved the problem. He liked playing WoW and when his WoW connection started getting all weird and I told him it was his P2P sofware he started to make sure it wasn't running. The average cap I set was plenty enough for WoW and enough for a decent download speed for P2P as well.

    I'm all for bandwidth throttling and traffic shaping as long as it's to ensure usage fairness. If I were running an ISP I would have a per-customer 5 minute bandwidth meter and customers who had exceeded their share for 5 minutes would have all their traffic dropped to the lowest priority until there was a 5 minute interval in which they hadn't exceeded their share.

    And it would be share of total pipe available to the ISP's upstreams, not some arbitrary fixed cap per customer. If the P2P application were written to favor connecting to other customers of the ISP that would be a way to avoid the re-prioritization completely.

  • Linksys and QoS (Score:1, Interesting)

    by Anonymous Coward on Saturday May 24, 2008 @07:36PM (#23532256)
    Most of the Linksys routers I've encounter have some quality of service functionality built into them. In my experience QoS is under Applications and Gaming along with port forwarding etc. Any way if you enable it, you'll have several options avaliable for restricting his bandwidth hogging. Be it changing the traffic priority by mac address, protocol, or port.

    Hope that helps
  • DD-WRT vs X-Wrt (Score:2, Interesting)

    by bitsent ( 1295282 ) on Saturday May 24, 2008 @08:03PM (#23532450)
    There is some controversy surrounding DD-WRT [bitsum.com]; you must decide if you want to support them or not. I use OpenWrt with the X-Wrt extension [x-wrt.org], which also has powerful QoS functionality in a GUI.
  • the simplest fix (Score:3, Interesting)

    by j1m+5n0w ( 749199 ) on Saturday May 24, 2008 @08:24PM (#23532598) Homepage Journal

    The real problem here isn't traffic shaping, but about traffic courtesy.

    This is true up to a point. It should be easy to get the offending roommate to cap their bandwidth, but it should also be easy to install a traffic-shaping router (though sadly it's not), and then the problem would be solved without having to get the cooperation of everyone (and every program on every computer) on the network, and for everyone to be constantly self-policing their own network usage.

    To solve the problem in one place at a higher layer of abstraction will be more likely to prevent the problem from recurring in a different form later on.

    Of course, being on friendly terms with your roommates about these sorts of issues is more important than how the problem is ultimately resolved.

  • Re:Need more input! (Score:3, Interesting)

    by STrinity ( 723872 ) on Saturday May 24, 2008 @09:13PM (#23532880) Homepage
    Model number doesn't really matter -- go into the router configuration, assign his computer a permanent IP on the LAN, then block the common P2P ports for his IP. Then password lock the router and stuff some gum in the reset button.
  • Re:How about ask? (Score:2, Interesting)

    by SScorpio ( 595836 ) on Saturday May 24, 2008 @09:39PM (#23533030)
    I can't comment on Azureus's CPU load, but I've seen Azureus go over 2GB of memory addressed, and running the same torrents in uTorrent uses 16MB of memory.
  • by PottedMeat ( 1158195 ) on Saturday May 24, 2008 @10:10PM (#23533190)
    Whether your roommate knows he's using all the bandwidth or not you should approach him about it and settle it.

    When did people get so afraid of each other?

    PM
  • by zogger ( 617870 ) on Sunday May 25, 2008 @12:43AM (#23533703) Homepage Journal
    Good points, valid points, granted, and what exactly do the computer makers think people actually *do* with hundreds of gigabytes of hard drive space, type up school reports and recipes? And look at the freekin ads for the big ISPs, smiling happy people and advertising "blazing download speeds, enjoy movies" and etc. So? Where's the beef when people really try to do that? Why does unlimited really mean limited in the fine print?

      This is like the wink wink nod nod industry. The big pipe providers (in the US) though already got paid 200 billion dollars to roll out true high speed internet all over and did about bupkis with it [newnetworks.com] except squabble over the low hanging profitable fruit in some select areas. The bulk of the nation gets grade C alleged broadband or not even that. Cry me a river of crocodile tears, like the auto industry in the US saying they can't make high MPG cars when they *sell* high MPG cars in Europe. In short, always read between the lines when big corporations bitch about stuff. It's just *cheaper* for them to do "throttling, packet shaping, and simply capping the bandwidth." than it is to actually, you know, improve the infrastructure from end to end. The fatcats Cxx whatevers and big pirate wallstreet "investors" ain't happy being millionaires anymore, nope, that ain't enough, they all got to be *billionaires* now and the only way to do that is to screw their customers over and bribe off government so they can get away with it.

    Frankly, being on dialup and being told directly by the lineman when they ran out new phone wire when I moved in here that they would *never* install anything good enough for DSL unless ordered to by the government (that is an exact quote when I asked him him if I could now get dsl and he was a smug and condescending ass about it too, BTW, near giggling over being able to screw a customer by charging for tissue paper phone lines with constant buzz and noise and crappy connections), I have little sympathy for the monopoly broadband folks and the entrenched telco cartels. I also have little sympathy for that roomate who was hogging what was available, and offered two fast solutions to that exact problem, because I have been in that situation with roomates and that is what we did, multiple lines, problem solved. If that crap-geting full seasons of the simpsons dubbed in japanese-is so important to someone, that they have to leech 24/7, let them get their own freeking line, that's what an adult would do anyway (loosely used term for anyone who would actually do that of course..seems rather silly to me, and the other roomate who I guess the net connections name is in is leaving him or herself open to getting *popped* by the the MAFIAA some day, another boneheaded decision). But if the telco folks would have their feet held to the fire by the government and the FCC the US could be on top and not like number 16 in the developed world for decent net connectivity, and then everyone might have some decent throughput and bandwith.

      Most places, if its cable, they've been there for years and have been milking a granted local monopoly with zero competition (and I remember before they even started, sat through a county commission hearing when they promised "no commercials, really, trust us!"). If it is the phone company, they've been mostly milking the same wires they strung up when alex bell was running things. I grew up with the "one" phone company and their pure asshattery corporate mindset, and I can tell you, it never went away even after they were allegedly "broken up", it's just a cartel now instead of one company. All that money they got went someplace, but a whole heaping pile of that 200 billion did not go into the last mile solution very many places except at the bare minimum possible level they could claim was "broadband".
  • by Anonymous Coward on Sunday May 25, 2008 @01:54PM (#23536949)
    If it's an asymmetric connections (likely), then this has to be the problem. P2P isn't that nasty on the download side, but if you saturate the upload channel, all downloads suffer horribly, even P2P downloads. Watch the maximum upload speed, then cap it at 75% and things will run amazing better. Assuming he's the only P2P on the network. If there's more than one, give each one a portion of that 75% for upload. I wouldn't bother with download caps until capping upload first. It might be all it takes to fix the problem. As far as talking to him, that can be very hard with some people, if they are the "mind your own business" type.

UNIX is hot. It's more than hot. It's steaming. It's quicksilver lightning with a laserbeam kicker. -- Michael Jay Tucker

Working...