XCLUB-COOL STUFF AROUND YOU

 找回密码
 Register
查看: 89|回复: 6
打印 上一主题 下一主题

Flash-memory system could reduce power consumption of data center 'caches' by 90 percent

[复制链接]

1201

主题

2万

帖子

2万

积分

Jade Diamond LV32

ACTIVE STARPrimary beta testersign star1sign star2sign star3sign star4post star1post star2post star3post star4X'Club badge exclusive for India

跳转到指定楼层
#1
发表于 2019-04-04 12:50:31 来自手机 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
Researchers from CSAIL have devised a new system for data center caching that uses flash memory. In addition to costing less and consuming less power, a flash caching system could dramatically reduce the number of cache servers required by a data center. Credit: MIT News[br][br] [br][br]Most modern websites store data in databases, and since database queries are relatively slow, most sites also maintain so-called cache servers, which list the results of common queries for faster access. A data center for a major web service such as Google or Facebook might have as many as 1,000 servers dedicated just to caching.[br][br]Cache servers generally use random-access memory (RAM), which is fast but expensive and power-hungry. This week, at the International Conference on Very Large Databases, researchers from MIT's Computer Science and Artificial Intelligence Laboratory (CSAIL) are presenting a new system for data center caching that instead uses flash memory, the kind of memory used in most smartphones.[br][br]Per gigabyte of memory, flash consumes about 5 percent as much energy as RAM and costs about one-tenth as much. It also has about 100 times the storage density, meaning that more data can be crammed into a smaller space. In addition to costing less and consuming less power, a flash caching system could dramatically reduce the number of cache servers required by a data center.[br][br]The drawback to flash is that it's much slower than RAM. "That's where the disbelief comes in," says Arvind, the Charles and Jennifer Johnson Professor in Computer Science Engineering and senior author on the conference paper. "People say, 'Really? You can do this with flash memory?' Access time in flash is 10,000 times longer than in DRAM [dynamic RAM]."[br][br]But slow as it is relative to DRAM, flash access is still much faster than human reactions to new sensory stimuli. Users won't notice the difference between a request that takes .0002 seconds to process—a typical round-trip travel time over the internet—and one that takes .0004 seconds because it involves a flash query.[br][br]Keeping pace[br][br]The more important concern is keeping up with the requests flooding the data center. The CSAIL researchers' system, dubbed BlueCache, does that by using the common computer science technique of "pipelining." Before a flash-based cache server returns the result of the first query to reach it, it can begin executing the next 10,000 queries. The first query might take 200 microseconds to process, but the responses to the succeeding ones will emerge at .02-microsecond intervals.[br][br]Even using pipelining, however, the CSAIL researchers had to deploy some clever engineering tricks to make flash caching competitive with DRAM caching. In tests, they compared BlueCache to what might be called the default implementation of a flash-based cache server, which is simply a data-center database server configured for caching. (Although slow compared to DRAM, flash is much faster than magnetic hard drives, which it has all but replaced in data centers.) BlueCache was 4.2 times as fast as the default implementation.[br][br]Joining Arvind on the paper are first author Shuotao Xu and his fellow MIT graduate student in electrical engineering and computer science Sang-Woo Jun; Ming Liu, who was an MIT graduate student when the work was done and is now at Microsoft Research; Sungjin Lee, an assistant professor of computer science and engineering at the Daegu Gyeongbuk Institute of Science and Technology in Korea, who worked on the project as a postdoc in Arvind's lab; and Jamey Hicks, a freelance software architect and MIT affiliate who runs the software consultancy Accelerated Tech.[br][br]The researchers' first trick is to add a little DRAM to every BlueCache flash cache—a few megabytes per million megabytes of flash. The DRAM stores a table which pairs a database query with the flash-memory address of the corresponding query result. That doesn't make cache lookups any faster, but it makes the detection of cache misses—the identification of data not yet imported into the cache—much more efficient.[br][br]That little bit of DRAM doesn't compromise the system's energy savings. Indeed, because of all of its added efficiencies, BlueCache consumes only 4 percent as much power as the default implementation.[br][br]Engineered efficiencies[br][br]Ordinarily, a cache system has only three operations: reading a value from the cache, writing a new value to the cache, and deleting a value from the cache. Rather than rely on software to execute these operations, as the default implementation does, Xu developed a special-purpose hardware circuit for each of them, increasing speed and lowering power consumption.[br][br]Inside a BlueCache server, the flash memory is connected to the central processor by a wire known as a "bus," which, like any data connection, has a maximum capacity. BlueCache amasses enough queries to exhaust that capacity before sending them to memory, ensuring that the system is always using communication bandwidth as efficiently as possible.[br][br]With all these optimizations, BlueCache is able to perform write operations as efficiently as a DRAM-based system. Provided that each of the query results it's retrieving is at least eight kilobytes, it's as efficient at read operations, as well. (Because flash memory returns at least eight kilobytes of data for any request, it's efficiency falls off for really small query results.)[br][br]BlueCache, like most data-center caching systems, is a so-called key-value store, or KV store. In this case, the key is the database query and the value is the response.[br][br]"The flash-based KV store architecture developed by Arvind and his MIT team resolves many of the issues that limit the ability of today's enterprise systems to harness the full potential of flash," says Vijay Balakrishnan, director of the Data Center Performance and Ecosystem program at Samsung Semiconductor's Memory Solutions Lab. "The viability of this type of system extends beyond caching, since many data-intensive applications use a KV-based software stack, which the MIT team has proven can now be eliminated. By integrating programmable chips with flash and rewriting the software stack, they have demonstrated that a fully scalable, performance-enhancing storage technology, like the one described in the paper, can greatly improve upon prevailing architectures."[br]
回复

使用道具 举报

5736

主题

2万

帖子

3万

积分

Jade Diamond LV36

ACTIVE STAR2019post star1post star2sign star1sign star2sign star3post star3post star4post star5sign star4X'Club badge exclusive for India

#2
发表于 2019-04-04 13:01:17 来自手机 | 只看该作者
nice share
回复

使用道具 举报

20

主题

52

帖子

74

积分

Jade Star LV2

sign star1

#3
发表于 2019-04-04 13:01:22 来自手机 | 只看该作者
nice information bro
回复

使用道具 举报

872

主题

7723

帖子

9852

积分

Sapphire Star LV19

Mansuper moderator2019post star1sign star1post star2sign star2post star3sign star3sign star44.0xclub20MX'Club badge exclusive for India

#4
发表于 2019-04-04 13:43:37 来自手机 | 只看该作者
[p]Good Share bro !

回复

使用道具 举报

1851

主题

1万

帖子

1万

积分

Content Partner

Rank: 8Rank: 8

Tech Fans2020COPYWRITERsign star1sign star2sign star3post star1post star2post star3sign star4X'Club badge exclusive for Indiapost star4

5#
发表于 2019-04-04 14:04:46 来自手机 | 只看该作者
gpod information
回复

使用道具 举报

1万

主题

8万

帖子

9万

积分

Sapphire Diamond LV48

Crazy TechnologyDaily Check-inTech Fans2020PL KINGHappy children's dayEid PartyHot PartyDiamondHappy Easter Medal.pngGood Wallpaper DesignerChocolate Day MedalHug Day MedalKiss Day MedalPromise Day MedalPropose Day MedalTeddy Day Medalsingel medalACTIVE STAR2020 Wish Medal20M4.0xclub2019post star1post star2post star3sign star1sign star2sign star3sign star4post star4post star5X'Club badge exclusive for Indiasign star5

6#
发表于 2019-04-04 14:50:36 来自手机 | 只看该作者
Good share
回复

使用道具 举报

7#
发表于 2019-04-04 14:50:49 来自手机 | 只看该作者
nice share bro
回复

使用道具 举报

高级模式
B Color Link Quote Code Smilies |上传

本版积分规则

Infinix Official Website|Infinix official mall|infinix Note 4|XCLUB-COOL STUFF AROUND YOU

GMT+8, 2025-01-13 17:05 , Processed in 0.035327 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表