Files

44 lines
4.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 910 363" width="910" height="363"><title>存储层次与访问延迟</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<rect x="10" y="10" width="170" height="49" stroke="#67859e" fill="#e9eff6" stroke-width="1.5"/>
<text x="95.0" y="34.5" text-anchor="middle" dominant-baseline="central" font-size="20">位置</text>
<rect x="180" y="10" width="380" height="49" stroke="#67859e" fill="#e9eff6" stroke-width="1.5"/>
<text x="370.0" y="34.5" text-anchor="middle" dominant-baseline="central" font-size="20">大小</text>
<rect x="560" y="10" width="340" height="49" stroke="#67859e" fill="#e9eff6" stroke-width="1.5"/>
<text x="730.0" y="34.5" text-anchor="middle" dominant-baseline="central" font-size="20">访问延迟</text>
<rect x="10" y="59" width="170" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="95.0" y="83.5" text-anchor="middle" dominant-baseline="central" font-size="20">寄存器</text>
<rect x="180" y="59" width="380" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="370.0" y="83.5" text-anchor="middle" dominant-baseline="central" font-size="20">&lt; 1 KB</text>
<rect x="560" y="59" width="340" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="730.0" y="83.5" text-anchor="middle" dominant-baseline="central" font-size="20">一个周期(约 0.27 ns)</text>
<rect x="10" y="108" width="170" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="95.0" y="132.5" text-anchor="middle" dominant-baseline="central" font-size="20">L1 缓存</text>
<rect x="180" y="108" width="380" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="370.0" y="132.5" text-anchor="middle" dominant-baseline="central" font-size="20">每核 32 KB 指令、32 KB 数据</text>
<rect x="560" y="108" width="340" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="730.0" y="132.5" text-anchor="middle" dominant-baseline="central" font-size="20">约 1 ns</text>
<rect x="10" y="157" width="170" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="95.0" y="181.5" text-anchor="middle" dominant-baseline="central" font-size="20">L2 缓存</text>
<rect x="180" y="157" width="380" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="370.0" y="181.5" text-anchor="middle" dominant-baseline="central" font-size="20">1.5 MB</text>
<rect x="560" y="157" width="340" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="730.0" y="181.5" text-anchor="middle" dominant-baseline="central" font-size="20">约 4 ns</text>
<rect x="10" y="206" width="170" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="95.0" y="230.5" text-anchor="middle" dominant-baseline="central" font-size="20">L3 缓存</text>
<rect x="180" y="206" width="380" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="370.0" y="230.5" text-anchor="middle" dominant-baseline="central" font-size="20">12 MB</text>
<rect x="560" y="206" width="340" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="730.0" y="230.5" text-anchor="middle" dominant-baseline="central" font-size="20">比 L2 慢 10 倍</text>
<rect x="10" y="255" width="170" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="95.0" y="279.5" text-anchor="middle" dominant-baseline="central" font-size="20">主存</text>
<rect x="180" y="255" width="380" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="370.0" y="279.5" text-anchor="middle" dominant-baseline="central" font-size="20">32 GB</text>
<rect x="560" y="255" width="340" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="730.0" y="279.5" text-anchor="middle" dominant-baseline="central" font-size="20">比 L3 慢 2 倍</text>
<rect x="10" y="304" width="170" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="95.0" y="328.5" text-anchor="middle" dominant-baseline="central" font-size="20">硬盘</text>
<rect x="180" y="304" width="380" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="370.0" y="328.5" text-anchor="middle" dominant-baseline="central" font-size="20">—</text>
<rect x="560" y="304" width="340" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="730.0" y="328.5" text-anchor="middle" dominant-baseline="central" font-size="20">比主存慢 100 倍起</text>
</g></svg>