{"id":82669,"date":"2013-08-09T16:00:24","date_gmt":"2013-08-09T14:00:24","guid":{"rendered":"http:\/\/mybroadband.co.za\/news\/?p=82669"},"modified":"2013-08-09T16:01:39","modified_gmt":"2013-08-09T14:01:39","slug":"faster-internet-designed-by-computers","status":"publish","type":"post","link":"https:\/\/mybroadband.co.za\/news\/internet\/82669-faster-internet-designed-by-computers.html","title":{"rendered":"Faster Internet, designed by computers"},"content":{"rendered":"<p>TCP, the transmission control protocol, is one of the core protocols governing the Internet: If counted as a computer program, it\u2019s the most widely used program in the world.<\/p>\n<p>One of TCP\u2019s main functions is to prevent network congestion by regulating the rate at which computers send data. In the last 25 years, engineers have made steady improvements to TCP\u2019s congestion-control algorithms, resulting in several competing versions of the protocol: Many Windows computers, for instance, run a version called Compound TCP, while Linux machines run a version called TCP Cubic.<\/p>\n<p>At the annual conference of the Association for Computing Machinery\u2019s Special Interest Group on Data Communication this summer, researchers from MIT\u2019s Computer Science and Artificial Intelligence Laboratory and Center for Wireless Networks and Mobile Computing\u00a0will present a computer system, dubbed Remy, that automatically generates TCP congestion-control algorithms. In the researchers\u2019 simulations, algorithms produced by Remy significantly outperformed algorithms devised by human engineers.<\/p>\n<p>\u201cI think people can think about what happens to one or two connections in a network and design around that,\u201d says Hari Balakrishnan, the Fujitsu Professor in Electrical Engineering and Computer Science, who co-authored the new paper with graduate student Keith Winstein. \u201cWhen you have even a handful of connections, or more, and a slightly more complicated network, where the workload is not a constant \u2014 a single file being sent, or 10 files being sent \u2014 that\u2019s very hard for human beings to reason about. And computers seem to be a lot better about navigating that search space.\u201d<\/p>\n<p><strong>Lay of the land<\/strong><\/p>\n<p>Remy is a machine-learning system, meaning that it arrives at its output by trying lots of different possibilities, and exploring further variations on those that seem to work best. Users specify certain characteristics of the network, such as whether the bandwidth across links fluctuates or the number of users changes, and by how much. They also provide a \u201ctraffic profile\u201d that might describe, say, the percentage of users who are browsing static Web pages or using high-bandwidth applications like videoconferencing.<\/p>\n<p>Finally, the user also specifies the metrics to be used to evaluate network performance. Standard metrics include throughput, which indicates the total amount of data that can be moved through the network in a fixed amount of time, and delay, which indicates the average amount of time it takes one packet of information to travel from sender to receiver. The user can also assign metrics different weights \u2014 say, reducing delay is important, but only one-third as important as increasing throughput.<\/p>\n<p>Remy needs to test each candidate algorithm\u2019s performance under a wide range of network conditions, which could have been a prohibitively time-consuming task. But Winstein and Balakrishnan developed a clever algorithm that can concentrate Remy\u2019s analyses on cases in which small variations in network conditions produce large variations in performance, while spending much less time on cases where network behavior is more predictable.<\/p>\n<p>They also designed Remy to evaluate possible indicators of network congestion that human engineers have not considered. Typically, TCP congestion-control algorithms look at two main factors: whether individual data packets arrive at their intended destination and, if they do, how long it takes for acknowledgments to arrive. But as it turns out, the ratio between the rates at which packets are sent and received is a rich signal that can dictate a wide range of different behaviors on the sending computer\u2019s end.<\/p>\n<p><strong>Down to cases<\/strong><\/p>\n<p>Indeed, where a typical TCP congestion-control algorithm might consist of a handful of rules \u2014 if the percentage of dropped packets crosses some threshold, cut the transmission rate in half \u2014 the algorithms that Remy produces can have more than 150 distinct rules.<\/p>\n<p>\u201cIt doesn\u2019t resemble anything in the 30-year history of TCP,\u201d Winstein says. \u201cTraditionally, TCP has relatively simple endpoint rules but complex behavior when you actually use it. With Remy, the opposite is true. We think that\u2019s better, because computers are good at dealing with complexity. It\u2019s the behavior you want to be simple.\u201d Why the algorithms Remy produces work as well as they do is one of the topics the researchers hope to explore going forward.<\/p>\n<p>In the meantime, however, there\u2019s little arguing with the results. Balakrishnan and Winstein tested Remy\u2019s algorithms on a simulation system called the ns-2, which is standard in the field.<\/p>\n<p>In tests that simulated a high-speed, wired network with consistent transmission rates across physical links, Remy\u2019s algorithms roughly doubled network throughput when compared to Compound TCP and TCP Cubic, while reducing delay by two-thirds. In another set of tests, which simulated Verizon\u2019s cellular data network, the gains were smaller but still significant: a 20 to 30 percent improvement in throughput, and a 25 to 40 percent reduction in delay.<\/p>\n<p>\u201cI am thrilled by the approach,\u201d says Victor Bahl, research manager of the Mobility and Networking Group at Microsoft Research. \u201cWhen you can constrain the problem domain and define precisely what you want out of the protocol, I can believe that their system is better than a human.\u201d<\/p>\n<p>Bahl cautions that \u201cwhen the protocol has to do many things for many people or many devices, then it\u2019s not clear whether this is the optimal method.\u201d But he adds that it could very well be that, in the future, networked computers will adopt different congestion-control policies depending on the types of applications they\u2019re running. \u201cI could see that that\u2019s where this thing would excel,\u201d he says.<\/p>\n<p><em>Reprinted with permission of <a title=\"MIT\" href=\"http:\/\/web.mit.edu\/newsoffice\/\" target=\"_blank\">MIT News<\/a><\/em><\/p>\n<h3 class=\"my-4\">More on Internet<\/h3>\n<p><a title=\"South Africa\u2019s broadband value shocker\" href=\"http:\/\/mybroadband.co.za\/news\/broadband\/64890-south-africas-broadband-value-shocker.html\"><strong>South Africa\u2019s broadband value shocker<\/strong><\/a><\/p>\n<p><a title=\"South Africa\u2019s broadband value still left wanting\" href=\"http:\/\/mybroadband.co.za\/news\/broadband\/47168-south-africas-broadband-value-still-left-wanting.html\"><strong>South Africa\u2019s broadband value still left wanting<\/strong><\/a><\/p>\n<p><a title=\"Broadband value in SA improving, but only a little\" href=\"http:\/\/mybroadband.co.za\/news\/broadband\/39867-broadband-value-in-sa-improving-but-only-a-little.html\"><strong>Broadband value in SA improving, but only a little<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Computer-designed algorithms for controlling network congestion yield transmission rates two to three times as high as those designed by humans, writes Larry Hardesty from MIT<\/p>\n","protected":false},"author":340941,"featured_media":82627,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[20569,35,7699,5184],"class_list":["post-82669","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","tag-hari-balakrishnan","tag-headline","tag-mit","tag-tcp"],"_links":{"self":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/82669"}],"collection":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/users\/340941"}],"replies":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/comments?post=82669"}],"version-history":[{"count":0,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/82669\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media\/82627"}],"wp:attachment":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media?parent=82669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/categories?post=82669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/tags?post=82669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}