INDIANAUNIVERSITYINDIANAUNIVERSITY Workstation-Based Traffic Shaping Presentation by Mark Meiss January 2002
INDIANAUNIVERSITYINDIANAUNIVERSITY New peer-to-peer file sharing applications emerge regularly The need for traffic shaping is greater than ever How can we limit peer-to-peer traffic without starving out other traffic? Motivation
INDIANAUNIVERSITYINDIANAUNIVERSITY Problems with Shaping Many shapers rely on “application signatures” for shaping Often, a signature is just a port number Remember learning that port 6699 equals Napster?
INDIANAUNIVERSITYINDIANAUNIVERSITY The “Port 80” Effect As traffic shaping becomes more widespread, peer-to-peer applications will start tunneling through TCP port 80 The traffic we want to shape will become indistinguishable from other traffic Packet snooping is too difficult and isn’t likely to help in the long term
INDIANAUNIVERSITYINDIANAUNIVERSITY Our Proposal Shape traffic based on different factors: –Apparent amount of demanded bandwidth –Destination IP address Create a “notch filter” so that users of interactive applications suffer the least packet loss users shouldn’t notice the congestion
INDIANAUNIVERSITYINDIANAUNIVERSITY Our Proposal (cont.) Use BGP routes to classify data according to destination Don’t worry about port numbers or packet data at all Our claim: A good PC running an open- source OS can shape traffic at least 200,000 packets/sec
INDIANAUNIVERSITYINDIANAUNIVERSITY User-Based Model User-Based Mathematical Model of Network Activity
INDIANAUNIVERSITYINDIANAUNIVERSITY Sample Run: Bandwidth
INDIANAUNIVERSITYINDIANAUNIVERSITY Sample Run: Performance
INDIANAUNIVERSITYINDIANAUNIVERSITY Sample Run: User Effects
INDIANAUNIVERSITYINDIANAUNIVERSITY Sample Run: Zoom In
INDIANAUNIVERSITYINDIANAUNIVERSITY Implementation Development platform is Pentium III system with 64-bit 66MHz PCI slots, running Redhat Linux 7.2 Software platform is the “Click” Modular Router: –
INDIANAUNIVERSITYINDIANAUNIVERSITY What Next? Real-world testing in a few months Goal is to get as close to Gigabit line rate as possible Also working on benchmarking performance of Fast Ethernet and Gigabit NICs –Early results suggest large performance differences Feedback and suggestions for additional shaping parameters are welcome