处理器缓存可能将由软件管理
文章来源:未知 文章作者:enread 发布时间:2013-09-16 07:21 字体: [ ]  进入论坛
(单词翻译:双击或拖选)
In today's computers, moving data to and from main memory consumes so much time and energy that microprocessors1 have their own small, high-speed memory banks, known as "caches," which store frequently used data. Traditionally, managing the caches has required fairly simple algorithms that can be hard-wired into the chips. In the 21st century, however, in order to meet consumers' expectations for steadily2 increasing computational power, chipmakers have had to begin equipping their chips with more and more cores, or processing units. And as cores proliferate3(增殖,扩散), cache management becomes much more difficult.
 
Daniel Sanchez, an assistant professor in MIT's Department of Electrical Engineering and Computer Science, believes that it's time to turn cache management over to software. This week, at the International Conference on Parallel Architectures and Compilation4 Techniques, Sanchez and his student Nathan Beckmann presented a new system, dubbed5 Jigsaw6, that monitors the computations being performed by a multicore chip and manages cache memory accordingly.
 
In experiments simulating the execution of hundreds of applications on 16- and 64-core chips, Sanchez and Beckmann found that Jigsaw could speed up execution by an average of 18 percent -- with more than twofold improvements in some cases -- while actually reducing energy consumption by as much as 72 percent. And Sanchez believes that the performance improvements offered by Jigsaw should only increase as the number of cores does.
 
Location, location, location
 
In most multicore chips, each core has several small, private caches. But there's also what's known as a last-level cache, which is shared by all the cores. "That cache is on the order of 40 to 60 percent of the chip," Sanchez says. "It is a significant fraction of the area because it's so crucial to performance. If we didn't have that cache, some applications would be an order of magnitude slower."
 
Physically7, the last-level cache is broken into separate memory banks and distributed across the chip; for any given core, accessing the nearest bank takes less time and consumes less energy than accessing those farther away. But because the last-level cache is shared by all the cores, most chips assign data to the banks randomly8.
 
Jigsaw, by contrast, monitors which cores are accessing which data most frequently and, on the fly, calculates the most efficient assignment of data to cache banks. For instance, data being used exclusively by a single core is stored near that core, whereas data that all the cores are accessing with equal frequency is stored near the center of the chip, minimizing the average distance it has to travel.
 
Jigsaw also varies the amount of cache space allocated9 to each type of data, depending on how it's accessed. Data that is reused frequently receives more space than data that is accessed infrequently or only once.
 
In principle, optimizing10 cache space allocations requires evaluating how the chip as a whole will perform given every possible allocation of cache space to all the computations being performed on all the cores. That calculation would be prohibitively time-consuming, but by ignoring some particularly convoluted11 scenarios12 that are extremely unlikely to arise in practice, Sanchez and Beckmann were able to develop an approximate optimization13 algorithm that runs efficiently14 even as the number of cores and the different types of data increases dramatically.


点击收听单词发音收听单词发音  

1 microprocessors 937cb6d36748cbbe6ff19e715f8bfcc4     
微(信息)处理机( microprocessor的名词复数 )
参考例句:
  • This sort of work would have been inconceivable before the advent of microprocessors. 在微处理机问世之前这种工作是难以想象的。
  • In microprocessors, the name used for the IEEE interface bus standard. 微处理机中,IEEE接口总线标准的名字。
2 steadily Qukw6     
adv.稳定地;不变地;持续地
参考例句:
  • The scope of man's use of natural resources will steadily grow.人类利用自然资源的广度将日益扩大。
  • Our educational reform was steadily led onto the correct path.我们的教学改革慢慢上轨道了。
3 proliferate uisyE     
vi.激增,(迅速)繁殖,增生
参考例句:
  • We must not proliferate nuclear arms.我们决不能扩散核武器。
  • Rabbits proliferate when they have plenty of food.兔子有充足的食物就会繁衍得很快。
4 compilation kptzy     
n.编译,编辑
参考例句:
  • One of the first steps taken was the compilation of a report.首先采取的步骤之一是写一份报告。
  • The compilation of such diagrams,is of lasting value for astronomy.绘制这样的图对天文学有永恒的价值。
5 dubbed dubbed     
v.给…起绰号( dub的过去式和过去分词 );把…称为;配音;复制
参考例句:
  • Mathematics was once dubbed the handmaiden of the sciences. 数学曾一度被视为各门科学的基础。
  • Is the movie dubbed or does it have subtitles? 这部电影是配音的还是打字幕的? 来自《简明英汉词典》
6 jigsaw q3Gxa     
n.缕花锯,竖锯,拼图游戏;vt.用竖锯锯,使互相交错搭接
参考例句:
  • A jigsaw puzzle can keep me absorbed for hours.一副拼图就能让我沉醉几个小时。
  • Tom likes to work on jigsaw puzzles,too.汤姆也喜欢玩拼图游戏。
7 physically iNix5     
adj.物质上,体格上,身体上,按自然规律
参考例句:
  • He was out of sorts physically,as well as disordered mentally.他浑身不舒服,心绪也很乱。
  • Every time I think about it I feel physically sick.一想起那件事我就感到极恶心。
8 randomly cktzBM     
adv.随便地,未加计划地
参考例句:
  • Within the hot gas chamber, molecules are moving randomly in all directions. 在灼热的气体燃烧室内,分子在各个方向上作无规运动。 来自辞典例句
  • Transformed cells are loosely attached, rounded and randomly oriented. 转化细胞则不大贴壁、圆缩并呈杂乱分布。 来自辞典例句
9 allocated 01868918c8cec5bc8773e98ae11a0f54     
adj. 分配的 动词allocate的过去式和过去分词
参考例句:
  • The Ford Foundation allocated millions of dollars for cancer research. 福特基金会拨款数百万美元用于癌症研究。
  • More funds will now be allocated to charitable organizations. 现在会拨更多的资金给慈善组织。
10 optimizing 56a2ad080ec9d3c4cf573c347d6de828     
v.使最优化,使尽可能有效( optimize的现在分词 );最佳化;寻优
参考例句:
  • This model may be classified as either an optimizing model or simulation model. 这个模型可分为最佳化模型或模拟模型。 来自辞典例句
  • Need to design crossover operator rationally while optimizing ANN. 优化网络需要合理设计交叉算子。 来自互联网
11 convoluted NvnzlG     
adj.旋绕的;复杂的
参考例句:
  • The snake slithered through a convoluted path.蛇在羊肠小道上爬行。
  • The policy is so convoluted even college presidents are confused.这项政策太令人费解,甚至连大学校长们也是一头雾水。
12 scenarios f7c7eeee199dc0ef47fe322cc223be88     
n.[意]情节;剧本;事态;脚本
参考例句:
  • Further, graphite cores may be safer than non-graphite cores under some accident scenarios. 再者,根据一些事故解说,石墨堆芯可比非石墨堆芯更安全一些。 来自英汉非文学 - 环境法 - 环境法
  • Again, scenarios should make it clear which modes are acceptable to users in various contexts. 同样,我们可以运用场景剧本来搞清楚在不同情境下哪些模式可被用户接受。 来自About Face 3交互设计精髓
13 optimization gIhxY     
n.最佳化,最优化;优选法;优化组合
参考例句:
  • Development of detergents has required optimization of the surfactants structure. 发展洗涤剂时,要求使用最恰当的表面活性剂结构。 来自辞典例句
  • In the case of productivity tools and other non-entertainment-oriented products, this optimization means minimizing work. 对于生产工具和其他非娱乐导向的产品而言,这意味着将工作负荷降至最低。 来自About Face 3交互设计精髓
14 efficiently ZuTzXQ     
adv.高效率地,有能力地
参考例句:
  • The worker oils the machine to operate it more efficiently.工人给机器上油以使机器运转更有效。
  • Local authorities have to learn to allocate resources efficiently.地方政府必须学会有效地分配资源。
TAG标签: memory computers cache
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
验证码:点击我更换图片