Chapter One 1.5~1.11

1.5 Technologies for Building Processors and Memory

  • transistor
    An on/off switch controlled by an electric signal.
  • very large-scale integrated (VLSI) circuit
    A device containing hundreds of thousands to millions of transistors.
芯片的生产过程
  • die
    The individual rectangular sections that are cut from a wafer, more informally known as chips.
  • yield The percentage of good dies from the total number of dies on the wafer.

1.6 Performance

keyword:

  • response time(execution time)
  • throughput(bandwidth)

1.6.1 Defining Performance

performance formula.PNG

n times.PNG

1.6.2 Measuring Performance

  • clock cycle
    Also called tick, clock tick, clock period, clock, or cycle. Th e time for one clock period, usually of the processor clock, which runs at a constant rate.
  • clock period
    The length of each clock cycle.

1.6.3 CPU Performance and Its Factors

f2.PNG

1.6.4 Instruction Performance

  • clock cycles per instruction (CPI) Average number of clock cycles per instruction for a program or program fragment.

1.6.5 The Classic CPU Performance Equation

CPU time

example.PNG
exe time formula.PNG

Elaboration:

Although you might expect that the minimum CPI is 1.0, as we’ll see in Chapter 4, some processors fetch and execute multiple instructions per clock cycle. To reflect that approach, some designers invert CPI to talk about IPC, or instructions per clock cycle. If a processor executes on average 2 instructions per clock cycle, then it has an IPC of 2 and hence a CPI of 0.5.

Elaboration:

Although clock cycle time has traditionally been fixed, to save energy or temporarily boost performance, today’s processors can vary their clock rates, so we would need to use the average clock rate for a program. For example, the Intel Core i7 will temporarily increase clock rate by about 10% until the chip gets too warm. Intel calls this Turbo mode.

1.7 The Power Wall

The dominant technology for integrated circuits is called CMOS (complementary metal oxide semiconductor). For CMOS, the primary source of energy consumption is so-called dynamic energy—that is, energy that is consumed when transistors switch states from 0 to 1 and vice versa.

Elaboration:

Although dynamic energy is the primary source of energy consumption in CMOS, static energy consumption occurs because of leakage current that flows even when a transistor is off. In servers, leakage is typically responsible for 40% of the energy consumption. Thus, increasing the number of transistors increases power dissipation, even if the transistors are always off. A variety of design techniques and technology
innovations are being deployed to control leakage, but it’s hard to lower voltage further.

1.8 The Sea Change: The Switch from Uniprocessors to Multiprocessors

Parallelism has always been critical to performance in computing, but it was often hidden.

we must:

  • schedule the sub-tasks.
  • balance the load evenly to get the desired speed up
  • reduce communication and synchronization overhead

1.10 Fallacies and Pitfalls

Pitfall: Expecting the improvement of one aspect of a computer to increase overall performance by an amount proportional to the size of the improvement.

Fallacy: Computers at low utilization use little power.

Fallacy: Designing for performance and designing for energy effi ciency are unrelated goals.

Pitfall: Using a subset of the performance equation as a performance metric.

MIPS (million instructions per second):

A measurement of program execution speed based on the number of millions of instructions. MIPS is computed as the instruction count divided by the product of the execution time and 10^6


MIPS.PNG

Finally, and most importantly, if a new program executes more instructions but each instruction is faster, MIPS can vary independently from performance!

1.11 Concluding Remarks

performance.PNG

Two of the key ideas are exploiting parallelism in the program, typically today via multiple processors, and exploiting locality of accesses to a memory hierarchy, typically via caches.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 本文转载自知乎 作者:季子乌 笔记版权归笔记作者所有 其中英文语句取自:英语流利说-懂你英语 ——————————...
    Danny_Edward阅读 44,069评论 4 38
  • 文/花古灼 好的作家应该具备怎样的品质,思考良久。 写下以下诫言,与诸君共勉。 01 不迎合市场,不追逐热点 首先...
    花古灼阅读 1,764评论 9 18
  • 为了方便查阅,这里将MongoDB常用命令进行了整理 登陆和退出 mongo命令行直接加 MongoDB服务的IP...
    河东客阅读 9,038评论 3 2
  • 感恩朋友关心,感恩老婆支持,感恩父母支持与理解,感恩伙伴支持,感恩金刚智慧种子法,感恩金钱宝宝!感恩一切,感恩!
    日精进_a07d阅读 142评论 0 0
  • 宝儿: 在这次的集体出水痘中,你没有幸免。 不能去上学,只能在家里休养,经过了大概一个星期,才好转,大部分已经...
    芷筠_口口妈阅读 242评论 0 1

友情链接更多精彩内容