30
Multi-Core Processors : A seminar • Presented by: Rakesh Babu G R 04EC45 Dept of E&C NITK, Surathkal

Multi Core Processors

Embed Size (px)

DESCRIPTION

Multi core processors

Citation preview

Page 1: Multi Core Processors

Multi-Core Processors : A seminar

• Presented by: Rakesh Babu G R

04EC45Dept of E&CNITK, Surathkal

Page 2: Multi Core Processors

Outline

• What?• Block diagram• Why? – Yet another Brick wall• Changes in Software• Advantages • Disadvantages• Summary

Page 3: Multi Core Processors

“Moore’s Law was over (doubling of CPU power every 18 months). Intel said, in essence, “Sorry, we’re not going to build you 10GHz processors - but we will let you have lots of 3GHz ones” [1]

Page 4: Multi Core Processors

Welcome to the world of “multi-core” processor

chips

Page 5: Multi Core Processors

What are Multi-core processors?

• 2 or more Execution cores within one processor

• Plugs into a single processor socket• Operating system sees two processors [3]

Page 6: Multi Core Processors

Block diagram [3]

Page 7: Multi Core Processors
Page 8: Multi Core Processors

“The power wall + the memory wall + the ILP wall = a brick wall for serial performance.”- David Patterson, “Father of RISC” [5]

Page 9: Multi Core Processors

"Power is expensive, but transistors are 'free'. That is, we can put more transistors on a chip than we have the power to turn on.“ => Power wall [5]

Page 10: Multi Core Processors

Power wall

Page 11: Multi Core Processors

Power wall [6]

Page 12: Multi Core Processors

Power wall

• Cooling technology to offset increase in power• But it has limitations• 2 processors out of the transistors, run at a

lesser frequency• But 2 processors => More throughput• Pentium 4 @ 3 GHz • Pentium D @ 2.67 GHz

Page 13: Multi Core Processors

"Load and store is slow, but multiply is fast. Modern microprocessors can take 200 clocks to access Dynamic Random Access Memory (DRAM), but even floating-point multiplies may take only four clock cycles.“ [5]

Page 14: Multi Core Processors

“And increasing the size of the already great big caches traditionally used to mask memory latency aren't giving us a good return on the transistor investment anymore.” => Memory wall [5]

Page 15: Multi Core Processors

Memory wall

• Traditional approach:• Scale frequency + Increase Cache• Doesn’t work now• Increase in cache size doesn’t increase access

time by much

Page 16: Multi Core Processors

Memory wall [5]

Page 17: Multi Core Processors

Memory wall

• There is increase in transistor density at the rate predicted by Moore

• But, not the Performance!!!!!! since 2002• Since access time hasn’t improved• Use excess transistors for 2 cores • Use a lesser frequency rate at which access

rate is not that bad

Page 18: Multi Core Processors

Case study: IBM POWER6 [2]

• By a Sun employee : So, we have take it with a pinch of salt

• What did IBM do? • They more than doubled their clock rate

(2.2GHz to 4.7GHz) • Quadrupled the size of their L2 on-chip

caches (1.92MB on POWER5+, 8MB on POWER6

Page 19: Multi Core Processors

And what did they get for their efforts? [2]

Page 20: Multi Core Processors

Memory wall

• POWER6 : Diminishing performance returns • Why??? It has pinned its hopes on old,

unimaginative, and out of date techniques that the rest of the industry has largely abandoned

• “You may ask, how did this tradition get started? I'll tell you. I don't know.”

Page 21: Multi Core Processors

"There are diminishing returns on finding more ILP. ... Increasing parallelism is the primary method of improving processor performance“ => ILP wall [5]

Page 22: Multi Core Processors

What is ILP???

• Apart from speed-up by frequency scaling• “Speed-up by having duplicate hardware

speculatively execute future instructions before the results of current instructions are known while providing hardware safeguards to prevent the errors that might be caused by out of order execution”, ILP – Instruction Level Parallelism [4]

Page 23: Multi Core Processors

ILP wall

• Increase in hardware Super-linear• Increase in performance not even linear • Can’t even predict the speed-up because of

non-deterministic(probabilistic) nature

Page 24: Multi Core Processors

Advantages [3]

• They scale up the brick wall, i.e. the power wall + memory wall + ILP wall

• Presence of two processors(execution cores) on same die increases clock rate at which certain processes operate

• Occupies less space than many processors joined in the board

Page 25: Multi Core Processors

Disadvantages [3]

• The Operating system has to be modified to utilize the increased resources

• The thousands of applications that we run have to be re-written to fully utilize the improved hardware and the parallelism thus obtained

• The training of software developers to write better software for dual, quad and other multi-core processors, €€€€€€€€€€€€€€€€€

Page 26: Multi Core Processors

Moral of the story

• Multi-core processors are the way to increase the performance of the processor

• OS and software should be re-written to exploit the parallelism obtained

Page 27: Multi Core Processors

An interesting thing

• Greed of corporations• Some of them count each processor in a die as

one separate processor• So, if you use a dual core, you will have to pay

twice the licensing amount

Page 28: Multi Core Processors

References

• http://www.verilab.com/blog/2007/06/the-core-problem-of-computing/ [1]

• http://blogs.sun.com/jmeyer/entry/power6_goes_thud_part_iv [2]

• http://en.wikipedia.org/wiki/Multi-core_(computing) [ 3]

• http://www.ctwatch.org/quarterly/articles/2007/02/the-many-core-inflection-point-for-mass-market-computer-systems/1/ [4]

Page 29: Multi Core Processors

References

• http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-183.html [5]

• “Multi-Core Processor Technology: Maximizing CPU Performance in a Power-Constrained World”, Paul Teich, AMD [6]

Page 30: Multi Core Processors

Questions

???