Files
mtusi2026lab3/evidence/plots/scaling/cpu-by-component.svg
T
2026-10-11 06:26:38 +03:00

102 lines
13 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 822 560" width="822" height="560" font-family='system-ui, -apple-system, "Segoe UI", sans-serif'>
<rect x="0" y="0" width="822" height="560" fill="#fcfcfb"/>
<text x="24.0" y="30.0" font-size="16" font-weight="600" fill="#52514e" text-anchor="start">CPU по компонентам на R*</text>
<text x="24.0" y="52.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">Медиана занятых ядер по ячейкам на ступени R*;</text>
<text x="24.0" y="70.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">«остальное в ВМ» — загрузка ВМ сверх контейнеров стенда</text>
<line x1="64.0" y1="476.0" x2="798.0" y2="476.0" stroke="#e1e0d9" stroke-width="1"/>
<text x="56.0" y="480.0" font-size="12" font-weight="400" fill="#898781" text-anchor="end">0</text>
<line x1="64.0" y1="360.7" x2="798.0" y2="360.7" stroke="#e1e0d9" stroke-width="1"/>
<text x="56.0" y="364.7" font-size="12" font-weight="400" fill="#898781" text-anchor="end">5</text>
<line x1="64.0" y1="245.3" x2="798.0" y2="245.3" stroke="#e1e0d9" stroke-width="1"/>
<text x="56.0" y="249.3" font-size="12" font-weight="400" fill="#898781" text-anchor="end">10</text>
<line x1="64.0" y1="130.0" x2="798.0" y2="130.0" stroke="#e1e0d9" stroke-width="1"/>
<text x="56.0" y="134.0" font-size="12" font-weight="400" fill="#898781" text-anchor="end">15</text>
<line x1="64.0" y1="476.0" x2="798.0" y2="476.0" stroke="#c3c2b7" stroke-width="1"/>
<line x1="64.0" y1="199.2" x2="798.0" y2="199.2" stroke="#52514e" stroke-width="1.5" stroke-dasharray="6 4"/>
<text x="794.0" y="193.2" font-size="12" font-weight="400" fill="#52514e" text-anchor="end">12 vCPU ВМ</text>
<line x1="64.0" y1="337.6" x2="798.0" y2="337.6" stroke="#898781" stroke-width="1.5" stroke-dasharray="2 4"/>
<g><title>a: 1x4: реплики API 0.95 ядра (R* 630 запросов/с)</title><rect x="92.8" y="454.1" width="24.0" height="21.9" fill="#2a78d6"/></g>
<g><title>a: 1x4: PostgreSQL 0.18 ядра (R* 630 запросов/с)</title><rect x="92.8" y="449.9" width="24.0" height="2.2" fill="#eb6834"/></g>
<g><title>a: 1x4: k6 0.15 ядра (R* 630 запросов/с)</title><rect x="92.8" y="445.3" width="24.0" height="1.4" fill="#e87ba4"/></g>
<g><title>a: 1x4: остальное в ВМ 0.49 ядра (R* 630 запросов/с)</title><path d="M92.8,443.3 L92.8,438.1 Q92.8,434.1 96.8,434.1 L112.8,434.1 Q116.8,434.1 116.8,438.1 L116.8,443.3 Z" fill="#008300"/></g>
<text x="104.8" y="428.1" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">1.8</text>
<text x="104.8" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">a: 1x4</text>
<text x="104.8" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 630</text>
<g><title>a: 2x2: реплики API 1.94 ядра (R* 1101 запросов/с)</title><rect x="174.3" y="431.4" width="24.0" height="44.6" fill="#2a78d6"/></g>
<g><title>a: 2x2: PostgreSQL 0.38 ядра (R* 1101 запросов/с)</title><rect x="174.3" y="422.6" width="24.0" height="6.7" fill="#eb6834"/></g>
<g><title>a: 2x2: k6 0.26 ядра (R* 1101 запросов/с)</title><rect x="174.3" y="414.4" width="24.0" height="4.0" fill="#e87ba4"/></g>
<g><title>a: 2x2: остальное в ВМ 0.55 ядра (R* 1101 запросов/с)</title><path d="M174.3,412.4 L174.3,405.7 Q174.3,401.7 178.3,401.7 L194.3,401.7 Q198.3,401.7 198.3,405.7 L198.3,412.4 Z" fill="#008300"/></g>
<text x="186.3" y="395.7" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">3.2</text>
<text x="186.3" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">a: 2x2</text>
<text x="186.3" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 1101</text>
<g><title>a: 4x1: реплики API 3.82 ядра (R* 1819 запросов/с)</title><rect x="255.9" y="387.8" width="24.0" height="88.2" fill="#2a78d6"/></g>
<g><title>a: 4x1: PostgreSQL 0.78 ядра (R* 1819 запросов/с)</title><rect x="255.9" y="369.9" width="24.0" height="15.9" fill="#eb6834"/></g>
<g><title>a: 4x1: HAProxy 0.15 ядра (R* 1819 запросов/с)</title><rect x="255.9" y="366.5" width="24.0" height="1.4" fill="#1baf7a"/></g>
<g><title>a: 4x1: k6 0.49 ядра (R* 1819 запросов/с)</title><rect x="255.9" y="354.1" width="24.0" height="9.3" fill="#e87ba4"/></g>
<g><title>a: 4x1: остальное в ВМ 0.52 ядра (R* 1819 запросов/с)</title><path d="M255.9,352.1 L255.9,346.1 Q255.9,342.1 259.9,342.1 L275.9,342.1 Q279.9,342.1 279.9,346.1 L279.9,352.1 Z" fill="#008300"/></g>
<text x="267.9" y="336.1" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">5.8</text>
<text x="267.9" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">a: 4x1</text>
<text x="267.9" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 1819</text>
<g><title>b: 1x1: реплики API 0.97 ядра (R* 666 запросов/с)</title><rect x="337.4" y="453.7" width="24.0" height="22.3" fill="#2a78d6"/></g>
<g><title>b: 1x1: PostgreSQL 0.18 ядра (R* 666 запросов/с)</title><rect x="337.4" y="449.5" width="24.0" height="2.2" fill="#eb6834"/></g>
<g><title>b: 1x1: k6 0.15 ядра (R* 666 запросов/с)</title><rect x="337.4" y="445.0" width="24.0" height="1.4" fill="#e87ba4"/></g>
<g><title>b: 1x1: остальное в ВМ 0.50 ядра (R* 666 запросов/с)</title><path d="M337.4,443.0 L337.4,437.5 Q337.4,433.5 341.4,433.5 L357.4,433.5 Q361.4,433.5 361.4,437.5 L361.4,443.0 Z" fill="#008300"/></g>
<text x="349.4" y="427.5" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">1.8</text>
<text x="349.4" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">b: 1x1</text>
<text x="349.4" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 666</text>
<g><title>b: 2x1: реплики API 1.95 ядра (R* 1164 запросов/с)</title><rect x="419.0" y="431.1" width="24.0" height="44.9" fill="#2a78d6"/></g>
<g><title>b: 2x1: PostgreSQL 0.38 ядра (R* 1164 запросов/с)</title><rect x="419.0" y="422.3" width="24.0" height="6.8" fill="#eb6834"/></g>
<g><title>b: 2x1: k6 0.27 ядра (R* 1164 запросов/с)</title><rect x="419.0" y="414.0" width="24.0" height="4.2" fill="#e87ba4"/></g>
<g><title>b: 2x1: остальное в ВМ 0.57 ядра (R* 1164 запросов/с)</title><path d="M419.0,412.0 L419.0,404.8 Q419.0,400.8 423.0,400.8 L439.0,400.8 Q443.0,400.8 443.0,404.8 L443.0,412.0 Z" fill="#008300"/></g>
<text x="431.0" y="394.8" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">3.3</text>
<text x="431.0" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">b: 2x1</text>
<text x="431.0" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 1164</text>
<g><title>b: 3x1: реплики API 2.90 ядра (R* 1539 запросов/с)</title><rect x="500.6" y="409.0" width="24.0" height="67.0" fill="#2a78d6"/></g>
<g><title>b: 3x1: PostgreSQL 0.60 ядра (R* 1539 запросов/с)</title><rect x="500.6" y="395.2" width="24.0" height="11.9" fill="#eb6834"/></g>
<g><title>b: 3x1: HAProxy 0.11 ядра (R* 1539 запросов/с)</title><rect x="500.6" y="392.7" width="24.0" height="0.4" fill="#1baf7a"/></g>
<g><title>b: 3x1: k6 0.38 ядра (R* 1539 запросов/с)</title><rect x="500.6" y="383.1" width="24.0" height="6.8" fill="#e87ba4"/></g>
<g><title>b: 3x1: остальное в ВМ 0.57 ядра (R* 1539 запросов/с)</title><path d="M500.6,381.1 L500.6,373.9 Q500.6,369.9 504.6,369.9 L520.6,369.9 Q524.6,369.9 524.6,373.9 L524.6,381.1 Z" fill="#008300"/></g>
<text x="512.6" y="363.9" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">4.6</text>
<text x="512.6" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">b: 3x1</text>
<text x="512.6" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 1539</text>
<g><title>b: 4x1: реплики API 3.83 ядра (R* 1819 запросов/с)</title><rect x="582.1" y="387.6" width="24.0" height="88.4" fill="#2a78d6"/></g>
<g><title>b: 4x1: PostgreSQL 0.79 ядра (R* 1819 запросов/с)</title><rect x="582.1" y="369.5" width="24.0" height="16.1" fill="#eb6834"/></g>
<g><title>b: 4x1: HAProxy 0.15 ядра (R* 1819 запросов/с)</title><rect x="582.1" y="366.1" width="24.0" height="1.4" fill="#1baf7a"/></g>
<g><title>b: 4x1: k6 0.49 ядра (R* 1819 запросов/с)</title><rect x="582.1" y="353.6" width="24.0" height="9.4" fill="#e87ba4"/></g>
<g><title>b: 4x1: остальное в ВМ 0.52 ядра (R* 1819 запросов/с)</title><path d="M582.1,351.6 L582.1,345.7 Q582.1,341.7 586.1,341.7 L602.1,341.7 Q606.1,341.7 606.1,345.7 L606.1,351.6 Z" fill="#008300"/></g>
<text x="594.1" y="335.7" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">5.8</text>
<text x="594.1" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">b: 4x1</text>
<text x="594.1" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 1819</text>
<g><title>b: 5x1: реплики API 4.74 ядра (R* 2034 запросов/с)</title><rect x="663.7" y="366.7" width="24.0" height="109.3" fill="#2a78d6"/></g>
<g><title>b: 5x1: PostgreSQL 1.01 ядра (R* 2034 запросов/с)</title><rect x="663.7" y="343.4" width="24.0" height="21.2" fill="#eb6834"/></g>
<g><title>b: 5x1: HAProxy 0.20 ядра (R* 2034 запросов/с)</title><rect x="663.7" y="338.9" width="24.0" height="2.5" fill="#1baf7a"/></g>
<g><title>b: 5x1: k6 0.63 ядра (R* 2034 запросов/с)</title><rect x="663.7" y="322.9" width="24.0" height="12.6" fill="#e87ba4"/></g>
<g><title>b: 5x1: остальное в ВМ 0.49 ядра (R* 2034 запросов/с)</title><path d="M663.7,320.9 L663.7,315.5 Q663.7,311.5 667.7,311.5 L683.7,311.5 Q687.7,311.5 687.7,315.5 L687.7,320.9 Z" fill="#008300"/></g>
<text x="675.7" y="305.5" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">7.1</text>
<text x="675.7" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">b: 5x1</text>
<text x="675.7" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 2034</text>
<g><title>b: 6x1: реплики API 5.56 ядра (R* 2034 запросов/с)</title><rect x="745.2" y="347.7" width="24.0" height="128.3" fill="#2a78d6"/></g>
<g><title>b: 6x1: PostgreSQL 1.10 ядра (R* 2034 запросов/с)</title><rect x="745.2" y="322.3" width="24.0" height="23.4" fill="#eb6834"/></g>
<g><title>b: 6x1: HAProxy 0.25 ядра (R* 2034 запросов/с)</title><rect x="745.2" y="316.5" width="24.0" height="3.8" fill="#1baf7a"/></g>
<g><title>b: 6x1: k6 0.69 ядра (R* 2034 запросов/с)</title><rect x="745.2" y="299.1" width="24.0" height="13.8" fill="#e87ba4"/></g>
<g><title>b: 6x1: остальное в ВМ 0.47 ядра (R* 2034 запросов/с)</title><path d="M745.2,297.1 L745.2,292.3 Q745.2,288.3 749.2,288.3 L765.2,288.3 Q769.2,288.3 769.2,292.3 L769.2,297.1 Z" fill="#008300"/></g>
<text x="757.2" y="282.3" font-size="12" font-weight="400" fill="#0b0b0b" text-anchor="middle">8.1</text>
<text x="757.2" y="494.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">b: 6x1</text>
<text x="757.2" y="510.0" font-size="12" font-weight="400" fill="#898781" text-anchor="middle">R* 2034</text>
<text x="16.0" y="303.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="middle" transform="rotate(-90 16.0 303.0)">Занятые ядра</text>
<rect x="64.0" y="89.0" width="12" height="12" rx="2" fill="#2a78d6"/>
<text x="86.0" y="99.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">реплики API</text>
<rect x="175.0" y="89.0" width="12" height="12" rx="2" fill="#eb6834"/>
<text x="197.0" y="99.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">PostgreSQL</text>
<rect x="279.0" y="89.0" width="12" height="12" rx="2" fill="#1baf7a"/>
<text x="301.0" y="99.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">HAProxy</text>
<rect x="362.0" y="89.0" width="12" height="12" rx="2" fill="#eda100"/>
<text x="384.0" y="99.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">Valkey</text>
<rect x="438.0" y="89.0" width="12" height="12" rx="2" fill="#e87ba4"/>
<text x="460.0" y="99.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">k6</text>
<rect x="486.0" y="89.0" width="12" height="12" rx="2" fill="#008300"/>
<text x="508.0" y="99.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">остальное в ВМ</text>
<line x1="64.0" y1="115.0" x2="80.0" y2="115.0" stroke="#898781" stroke-width="2" stroke-dasharray="2 4"/>
<text x="86.0" y="119.0" font-size="12" font-weight="400" fill="#52514e" text-anchor="start">6 производительных ядер хоста</text>
</svg>