{"id":4391,"date":"2008-03-27T15:22:15","date_gmt":"2008-03-27T22:22:15","guid":{"rendered":"http:\/\/bennett.com\/blog\/index.php\/archives\/2008\/03\/27\/new-and-improved-traffic-shaping\/"},"modified":"2008-03-27T15:22:15","modified_gmt":"2008-03-27T22:22:15","slug":"new-and-improved-traffic-shaping","status":"publish","type":"post","link":"https:\/\/bennett.com\/blog\/2008\/03\/27\/new-and-improved-traffic-shaping\/","title":{"rendered":"New and Improved Traffic Shaping"},"content":{"rendered":"<p>\t\t\t\tComcast&#8217;s CTO Tony Werner was kind enough to give me a few minutes today on the <a href=\"http:\/\/bennett.com\/blog\/index.php\/archives\/2008\/03\/27\/comcast-bittorrent-announcement\/\">changes afoot in the cable giant&#8217;s Internet<\/a> access network, and I like what I learned. I&#8217;ll do a longer post on this later with some diagrams, but for now I&#8217;d like to sketch out the high points. This is just from the Comcast side of the agreement, BitTorrent is also committed to making some changes on their end and I don&#8217;t have the details on those yet. BitTorrent will be making a presentation at the P4P Forum on its commitments.<\/p>\n<p>Here&#8217;s what Comcast is going to do, pending how well it shakes out in the lab:<\/p>\n<p>* Stop injecting TCP RSTs. This technique has been maligned way more than it deserves to be, because it has such a long history. Middleware devices (of which Sandvine is only one) have been doing this for at least a decade, drawing the ire of the IETF for it all along. It&#8217;s not necessary in a DOCSIS network for technical reasons, so they&#8217;re going to stop doing it. This should make the <a href=\"http:\/\/scrawford.net\/blog\/comcast-is-pretending-to-be-you\/1031\/\">&#8220;Comcast is Impersonating You and Stealing Your Credit Card Numbers!!!&#8221;<\/a> crowd happy.<\/p>\n<p>* Start using CMTS scheduling to allocate bandwidth fairly among all users of a first-hop segment when the network is heavily loaded. The DOCSIS protocol permits packet scheduling, since every user has to request bandwidth for every upstream transfer, so all the CMTS has to do is implement Fair Scheduling to prevent bandwidth hogs from getting more than a fair share. There may be some limits to the delay the scheduler can impose (my conjecture, not Tony&#8217;s,) and that&#8217;s why field testing is important.<\/p>\n<p>* Investigate longer-term solutions that will allow users to control how different traffic streams are handled. There are a number of IETF standards that relate to this problem, and their evaluation will be long-term work items for the industry forums.<\/p>\n<p>CMTS scheduling puts Comcast on the same footing as the DSL providers. While Comcast customers share a first hop and DSL doesn&#8217;t (most of the time, they actually do if repeaters are used), all of them share a second hop, access to which is mediated by a fair queuing discipline. So Comcast is simply implementing their queuing discipline on the first hop, which makes good sense for their technology. So there&#8217;s no need to look at protocols and headers, it&#8217;s all just traffic and traffic opportunities can be managed with per-user fairness.<\/p>\n<p>So the bottom line is this: the IETF protocols failed to deliver a scheme for per-user fairness, so Comcast will implement one on their first hop network. That&#8217;s what we call progress, and the only question is why it took them so long to do it.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comcast&#8217;s CTO Tony Werner was kind enough to give me a few minutes today on the changes afoot in the cable giant&#8217;s Internet access network, and I like what I learned. I&#8217;ll do a longer post on this later with some diagrams, but for now I&#8217;d like to sketch out the high points. This is &hellip; <a href=\"https:\/\/bennett.com\/blog\/2008\/03\/27\/new-and-improved-traffic-shaping\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;New and Improved Traffic Shaping&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[38],"tags":[],"class_list":["post-4391","post","type-post","status-publish","format-standard","hentry","category-net-neutrality"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pbifyw-18P","_links":{"self":[{"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/posts\/4391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/comments?post=4391"}],"version-history":[{"count":0,"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/posts\/4391\/revisions"}],"wp:attachment":[{"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/media?parent=4391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/categories?post=4391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bennett.com\/blog\/wp-json\/wp\/v2\/tags?post=4391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}