0321-2670057/wiki2 5 089321: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 42: Line 42:
Following table shows caches used in recent multi-core architectures with the help of different parameters cache performance can be measured and this includes caches size in each level, line size in each level, latency in each level, associativity of each level, whether each level is private or shared and coherence protocol used. Each level of latency includes previous latency cycles.
Following table shows caches used in recent multi-core architectures with the help of different parameters cache performance can be measured and this includes caches size in each level, line size in each level, latency in each level, associativity of each level, whether each level is private or shared and coherence protocol used. Each level of latency includes previous latency cycles.


   
<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0
 
style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
   Quad -Core AMD Opteron ™ 2000 Series Procesors
  mso-yfti-tbllook:480;mso-padding-alt:0in 5.4pt 0in 5.4pt;mso-border-insideh:
Intel Core 2 Duo Intel Core Duo
.5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'>
AMD Athlon 64  
<tr style='mso-yfti-irow:0'>
   
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
   
  mso-border-alt:solid windowtext .5pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
L1
   <h3><span style='font-size:11.5pt;mso-bidi-font-size:13.5pt'><o:p>&nbsp;</o:p></span></h3>
L2
  </td>
L3
  <td width=222 colspan=3 valign=top style='width:132.9pt;border:solid windowtext 1.0pt;
L1
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
L2
  solid windowtext .5pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
L1
  <p class=MsoNormal><b><span style='font-size:11.5pt;mso-bidi-font-size:13.5pt'>Quad
L2
  -Core AMD <span class=SpellE>Opteron</span> ™ 2000 Series <span class=SpellE>Procesors</span><o:p></o:p></span></b></p>
L1
  </td>
  L2
  <td width=157 colspan=2 valign=top style='width:94.1pt;border:solid windowtext 1.0pt;
   
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
Cache Size
  solid windowtext .5pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
64 KB Data+64 KB Instruction  
  <h3><span style='font-size:11.5pt;mso-bidi-font-size:13.5pt'>Intel Core 2 Duo<o:p></o:p></span></h3>
512 per core
  </td>
2 MB
  <td width=117 colspan=2 valign=top style='width:70.2pt;border:solid windowtext 1.0pt;
32 KB Data+32 KB Instruction
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
4 MB
  solid windowtext .5pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
32 KB
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
2 MB
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Intel Core<span
64 KB  
  style='mso-spacerun:yes'>  </span>Duo</span></b><span style='font-size:11.5pt;
512 x 2 KB
  mso-bidi-font-size:12.0pt'><o:p></o:p></span></p>
   
  </td>
Shared
  <td width=117 colspan=2 valign=top style='width:70.2pt;border:solid windowtext 1.0pt;
NO
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
NO
  solid windowtext .5pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
YES
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
NO
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>AMD <span class=SpellE>Athlon</span>
YES
  64 <o:p></o:p></span></b></p>
NO
  </td>
YES
  </tr>
NO
  <tr style='mso-yfti-irow:1'>
  YES
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
   
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
Line Size
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
64 bytes
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'><o:p>&nbsp;</o:p></span></p>
64 bytes
  </td>
64 bytes
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
64 byte
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
64 byte
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
64 bytes
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
64 bytes
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
64 bytes
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L1<o:p></o:p></span></b></p>
64 bytes
  </td>
   
  <td width=59 valign=top style='width:35.35pt;border-top:none;border-left:
Latency
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
N/A
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
N/A
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
N/A
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
3
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L2<o:p></o:p></span></b></p>
14
  </td>
3
  <td width=61 valign=top style='width:36.45pt;border-top:none;border-left:
14
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
3
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  20
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
   
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
Associatively
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L3<o:p></o:p></span></b></p>
2-way
  </td>
16-way
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
32-way
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
8-way
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
16-way
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
8-way
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
8-way
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L1<o:p></o:p></span></b></p>
2-way
  </td>
16-way
  <td width=55 valign=top style='width:33.0pt;border-top:none;border-left:none;
   
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
Coherence Protocol
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
MOESI
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
 
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L2<o:p></o:p></span></b></p>
MESI
  </td>
MESI
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
MOESI
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
 
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
 
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L1<o:p></o:p></span></b></p>
  </td>
 
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
   
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
 
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
Dual Processor vs Dual Core
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L2<o:p></o:p></span></b></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L1<o:p></o:p></span></b></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>L2<o:p></o:p></span></b></p>
  </td>
  </tr>
  <tr style='mso-yfti-irow:2'>
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Cache Size<o:p></o:p></span></b></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  KB Data+64 KB Instruction <o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.35pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>512
  per core<o:p></o:p></span></p>
  </td>
  <td width=61 valign=top style='width:36.45pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>2
  MB<o:p></o:p></span></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>32
  KB Data+32 KB Instruction<o:p></o:p></span></p>
  </td>
  <td width=55 valign=top style='width:33.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>4
  MB<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>32
  KB<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>2
  MB<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  KB <o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>512
  x 2 KB<o:p></o:p></span></p>
  </td>
  </tr>
<tr style='mso-yfti-irow:3'>
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Shared<o:p></o:p></span></b></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>NO<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.35pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>NO<o:p></o:p></span></p>
  </td>
  <td width=61 valign=top style='width:36.45pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>YES<o:p></o:p></span></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>NO<o:p></o:p></span></p>
  </td>
  <td width=55 valign=top style='width:33.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>YES<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>NO<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>YES<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>NO<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>YES<o:p></o:p></span></p>
  </td>
  </tr>
  <tr style='mso-yfti-irow:4'>
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Line Size<o:p></o:p></span></b></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.35pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  <td width=61 valign=top style='width:36.45pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  byte<o:p></o:p></span></p>
  </td>
  <td width=55 valign=top style='width:33.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  byte<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>64
  bytes<o:p></o:p></span></p>
  </td>
  </tr>
<tr style='mso-yfti-irow:5'>
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Latency<o:p></o:p></span></b></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>N/A<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.35pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>N/A<o:p></o:p></span></p>
  </td>
  <td width=61 valign=top style='width:36.45pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>N/A<o:p></o:p></span></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>3<o:p></o:p></span></p>
  </td>
  <td width=55 valign=top style='width:33.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>14<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>3<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>14<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>3<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>20<o:p></o:p></span></p>
  </td>
  </tr>
  <tr style='mso-yfti-irow:6'>
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Associatively<o:p></o:p></span></b></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>2-way<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.35pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>16-way<o:p></o:p></span></p>
  </td>
  <td width=61 valign=top style='width:36.45pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>32-way<o:p></o:p></span></p>
  </td>
  <td width=102 valign=top style='width:61.1pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>8-way<o:p></o:p></span></p>
  </td>
  <td width=55 valign=top style='width:33.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>16-way<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>8-way<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>8-way<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>2-way<o:p></o:p></span></p>
  </td>
  <td width=59 valign=top style='width:35.1pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>16-way<o:p></o:p></span></p>
  </td>
</tr>
  <tr style='mso-yfti-irow:7;mso-yfti-lastrow:yes'>
  <td width=126 valign=top style='width:75.4pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
  style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>Coherence Protocol<o:p></o:p></span></b></p>
  </td>
  <td width=222 colspan=3 valign=top style='width:132.9pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFCC00;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>MOESI<o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'><o:p>&nbsp;</o:p></span></p>
  </td>
  <td width=157 colspan=2 valign=top style='width:94.1pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:yellow;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>MESI<o:p></o:p></span></p>
  </td>
  <td width=117 colspan=2 valign=top style='width:70.2pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#FFFF99;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>MESI<o:p></o:p></span></p>
  </td>
  <td width=117 colspan=2 valign=top style='width:70.2pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'>MOESI<o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:11.5pt;mso-bidi-font-size:12.0pt'><o:p>&nbsp;</o:p></span></p>
  </td>
  </tr>
</table>


   
   

Revision as of 21:29, 25 September 2007

Multi-core processor


A multi-core processor is a processor can have more than one execution cores packaged in a single die (a package comprised of a single integrated circuit (IC)). A dual core processor contains two core plugged into a socket whereas quad-core contains four cores. The connection between cores in the same socket is much faster than single core multi-processors. As single core multi-processors are reaching its physical limits of speed and complexity because of producing heat and data synchronization problems.


Communication between multiple CPUs on same die is much faster than single core CPUs on different dies which leads to better results in case of cache coherence in multi-processing. Packaging multi-cores in single die allows the cache coherency circuitry to operate at much higher clock rate than communicating with off-chip processors.


Cache organization in multicore


Cache is small high speed memory usually Static RAM (SRAM) that contains most recently accessed pieces of main memory and basic purpose of cache is to minimize the latency to frequently accessed data. Cache organization deals with the number of levels in the cache hierarchy, and with the size, associativity, latency, and bandwidth parameters at each level. Cache policies determine accessibility, allocation, and eviction policies to effectively utilize on-chip cache resource.


In single core processor hierarchy, we minimize latency by moving cache blocks closer and closer to the core through the levels of cache in the cache hierarchy. Same way we do in case of multi-core cache hierarchies, but there are some more things to be included in the design like some levels of cache can be private to a core and others can be shared one we have to into account whether cores has to share a given level in the cache hierarchy or whether a level is implemented as a single physical block or as a multiple physical distributed banks with non-uniform access latency to each bank.


In recent release of multi-core processors, the first one or two levels in the cache are private to each core. However, deciding whether a level should be private to a core or shared among cores can depends upon the levels of parallelism like following figure depicts for Data Level Parallelism both 1st and 2nd level caches are private to each core where in case of Thread Level Parallelism 2nd level is shared among cores.







Cache Table


Following table shows caches used in recent multi-core architectures with the help of different parameters cache performance can be measured and this includes caches size in each level, line size in each level, latency in each level, associativity of each level, whether each level is private or shared and coherence protocol used. Each level of latency includes previous latency cycles.

<o:p> </o:p>

Quad -Core AMD Opteron ™ 2000 Series Procesors<o:p></o:p>

Intel Core 2 Duo<o:p></o:p>

Intel Core  Duo<o:p></o:p>

AMD Athlon 64 <o:p></o:p>

<o:p> </o:p>

L1<o:p></o:p>

L2<o:p></o:p>

L3<o:p></o:p>

L1<o:p></o:p>

L2<o:p></o:p>

L1<o:p></o:p>

L2<o:p></o:p>

L1<o:p></o:p>

L2<o:p></o:p>

Cache Size<o:p></o:p>

64 KB Data+64 KB Instruction <o:p></o:p>

512 per core<o:p></o:p>

2 MB<o:p></o:p>

32 KB Data+32 KB Instruction<o:p></o:p>

4 MB<o:p></o:p>

32 KB<o:p></o:p>

2 MB<o:p></o:p>

64 KB <o:p></o:p>

512 x 2 KB<o:p></o:p>

Shared<o:p></o:p>

NO<o:p></o:p>

NO<o:p></o:p>

YES<o:p></o:p>

NO<o:p></o:p>

YES<o:p></o:p>

NO<o:p></o:p>

YES<o:p></o:p>

NO<o:p></o:p>

YES<o:p></o:p>

Line Size<o:p></o:p>

64 bytes<o:p></o:p>

64 bytes<o:p></o:p>

64 bytes<o:p></o:p>

64 byte<o:p></o:p>

64 byte<o:p></o:p>

64 bytes<o:p></o:p>

64 bytes<o:p></o:p>

64 bytes<o:p></o:p>

64 bytes<o:p></o:p>

Latency<o:p></o:p>

N/A<o:p></o:p>

N/A<o:p></o:p>

N/A<o:p></o:p>

3<o:p></o:p>

14<o:p></o:p>

3<o:p></o:p>

14<o:p></o:p>

3<o:p></o:p>

20<o:p></o:p>

Associatively<o:p></o:p>

2-way<o:p></o:p>

16-way<o:p></o:p>

32-way<o:p></o:p>

8-way<o:p></o:p>

16-way<o:p></o:p>

8-way<o:p></o:p>

8-way<o:p></o:p>

2-way<o:p></o:p>

16-way<o:p></o:p>

Coherence Protocol<o:p></o:p>

MOESI<o:p></o:p>

<o:p> </o:p>

MESI<o:p></o:p>

MESI<o:p></o:p>

MOESI<o:p></o:p>

<o:p> </o:p>


To compare performance difference between these two different MP architectures we can see following selection of benchmarks. First we can see results of AMD Dual Core System vs AMD Dual Processor System.



Intel Performance comparison can also be seen





Both AMD and Intel has launch many of single core multi-processors in past and spent time to improve in performance, reducing size of single gates but they found physical limits of semiconductor-based microelectronics becomes a major design concern. Multiple cores in a single die gave them a new way to improve processing power and go beyond the physical limit of single core processors.



References:

http://www.intel.com/technology/itj/2007/v11i3/1-integration/5-cache-heirarchy.htm

http://en.wikipedia.org/wiki/Multi-core_(computing)

http://www.intel.com/performance/desktop/digoffice/index.htm

http://pages.cs.wisc.edu/~isca2005/papers/07A-01.PDF

http://www.pugetsystems.com/articles.php?id=23