{"id":205306,"date":"2017-04-01T13:30:10","date_gmt":"2017-04-01T11:30:10","guid":{"rendered":"http:\/\/mybroadband.co.za\/news\/?p=205306"},"modified":"2017-04-01T10:50:42","modified_gmt":"2017-04-01T08:50:42","slug":"faster-page-loading","status":"publish","type":"post","link":"https:\/\/mybroadband.co.za\/news\/internet\/205306-faster-page-loading.html","title":{"rendered":"Faster page loading"},"content":{"rendered":"<p>A webpage today is often the sum of many different components.<\/p>\n<p>A user\u2019s home page on a social-networking site, for instance, might display the latest posts from the users\u2019 friends; the associated images, links, and comments; notifications of pending messages and comments on the user\u2019s own posts; a list of events; a list of topics currently driving online discussions; a list of games, some of which are flagged to indicate that it\u2019s the user\u2019s turn; and of course the all-important ads, which the site depends on for revenues.<\/p>\n<p>With increasing frequency, each of those components is handled by a different program running on a different server in the website\u2019s data center.<\/p>\n<p>That reduces processing time, but it exacerbates another problem: the equitable allocation of network bandwidth among programs.<\/p>\n<p>Many websites aggregate all of a page\u2019s components before shipping them to the user. So if just one program has been allocated too little bandwidth on the data center network, the rest of the page \u2014 and the user \u2014 could be stuck waiting for its component.<\/p>\n<p>At the Usenix Symposium on Networked Systems Design and Implementation this week, researchers from MIT\u2019s Computer Science and Artificial Intelligence Laboratory (CSAIL) are presenting a new system for allocating bandwidth in data center networks.<\/p>\n<p>In tests, the system maintained the same overall data transmission rate \u2014 or network \u201cthroughput\u201d \u2014 as those currently in use, but it allocated bandwidth much more fairly, completing the download of all of a page\u2019s components up to four times as quickly.<\/p>\n<p>\u201cThere are easy ways to maximize throughput in a way that divides up the resource very unevenly,\u201d says Hari Balakrishnan, the Fujitsu Professor in Electrical Engineering and Computer Science and one of two senior authors on the paper describing the new system.<\/p>\n<p>\u201cWhat we have shown is a way to very quickly converge to a good allocation.\u201d<\/p>\n<p>Joining Balakrishnan on the paper are first author Jonathan Perry, a graduate student in electrical engineering and computer science, and Devavrat Shah, a professor of electrical engineering and computer science.<\/p>\n<h3 class=\"my-4\">Central authority<\/h3>\n<p>Most networks regulate data traffic using some version of the transmission control protocol, or TCP. When traffic gets too heavy, some packets of data don\u2019t make it to their destinations.<\/p>\n<p>With TCP, when a sender realizes its packets aren\u2019t getting through, it halves its transmission rate, then slowly ratchets it back up. Given enough time, this procedure will reach an equilibrium point at which network bandwidth is optimally allocated among senders.<\/p>\n<p>But in a big website\u2019s data center, there\u2019s often not enough time. \u201cThings change in the network so quickly that this is inadequate,\u201d Perry says. \u201cFrequently it takes so long that [the transmission rates] never converge, and it\u2019s a lost cause.\u201d<\/p>\n<p>TCP gives all responsibility for traffic regulation to the end users because it was designed for the public internet, which links together thousands of smaller, independently owned and operated networks. Centralizing the control of such a sprawling network seemed infeasible, both politically and technically.<\/p>\n<p>But in a data center, which is controlled by a single operator, and with the increases in the speed of both data connections and computer processors in the last decade, centralized regulation has become practical. The CSAIL researchers\u2019 system is a centralized system.<\/p>\n<p>The system, dubbed Flowtune, essentially adopts a market-based solution to bandwidth allocation. Operators assign different values to increases in the transmission rates of data sent by different programs.<\/p>\n<p>For instance, doubling the transmission rate of the image at the center of a webpage might be worth 50 points, while doubling the transmission rate of analytics data that\u2019s reviewed only once or twice a day might be worth only 5 points.<\/p>\n<h3 class=\"my-4\">Supply and demand<\/h3>\n<p>As in any good market, every link in the network sets a \u201cprice\u201d according to \u201cdemand\u201d \u2014 that is, according to the amount of data that senders collectively want to send over it.<\/p>\n<p>For every pair of sending and receiving computers, Flowtune then calculates the transmission rate that maximizes total \u201cprofit,\u201d or the difference between the value of increased transmission rates \u2014 the 50 points for the picture versus the 5 for the analytics data \u2014 and the price of the requisite bandwidth across all the intervening links.<\/p>\n<p>The maximization of profit, however, changes demand across the links, so Flowtune continually recalculates prices and on that basis recalculates maximum profits, assigning the resulting transmission rates to the servers sending data across the network.<\/p>\n<p>The paper also describes a new procedure that the researchers developed for allocating Flowtune\u2019s computations across cores in a multicore computer, to boost efficiency.<\/p>\n<p>In experiments, the researchers compared Flowtune to a widely used variation on TCP, using data from real data centers. Depending on the data set, Flowtune completed the slowest 1 percent of data requests nine to 11 times as rapidly as the existing system.<\/p>\n<p>\u201cScheduling \u2014 and, ultimately, providing guarantees of network performance \u2014 in modern data centers is still an open question,\u201d says Rodrigo Fonseca, an assistant professor of computer science at Brown University.<\/p>\n<p>\u201cFor example, while cloud providers offer guarantees of CPU, memory, and disk, you usually cannot get any guarantees of network performance.\u201d<\/p>\n<p>\u201cFlowtune advances the state of the art in this area by using a central allocator with global knowledge,\u201d Fonseca says.<\/p>\n<p>\u201cCentralized solutions are potentially better because of the global view of the network, but it is very challenging to use them at scale, because of the sheer volume of traffic. [There is] too much information to aggregate, process, and distribute for each decision. This work pushes the boundary of what was thought possible with centralized solutions. There are still questions of how much further this can be scaled, but this solution is already usable by many data center operators.\u201d<\/p>\n<p><a href=\"http:\/\/news.mit.edu\/2017\/faster-webpage-loads-data-center-bandwidth-0328\" target=\"_blank\">MIT News<\/a><\/p>\n<h3 class=\"my-4\">Now read:\u00a0<a href=\"https:\/\/mybroadband.co.za\/news\/internet\/205252-what-to-watch-on-netflix-and-showmax-this-weekend-9.html\" rel=\"bookmark\">What to watch on Netflix and Showmax this weekend<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>A system allocates data center bandwidth more fairly, so no part of a webpage lags behind others.<\/p>\n","protected":false},"author":340957,"featured_media":158879,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sma_x_autopost_status":"idle","_sma_x_autopost_error":"","_sma_x_post_id":"","_sma_facebook_post_id":"","_sma_instagram_post_id":"","_sma_threads_post_id":"","_sma_x_attempts":0,"footnotes":""},"categories":[18],"tags":[35,42322],"class_list":["post-205306","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","tag-headline","tag-webpage"],"_links":{"self":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/205306"}],"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\/340957"}],"replies":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/comments?post=205306"}],"version-history":[{"count":1,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/205306\/revisions"}],"predecessor-version":[{"id":205308,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/205306\/revisions\/205308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media\/158879"}],"wp:attachment":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media?parent=205306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/categories?post=205306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/tags?post=205306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}