Files
website/static/images/docs/memory-manager-diagram.svg
Cezary Zukowski 5927f96029 The Memory Manager official documentation
Signed-off-by: Cezary Zukowski <c.zukowski@samsung.com>
2021-03-23 08:35:20 +01:00

2 lines
17 KiB
XML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="861px" height="368px" version="1.1" content="&lt;mxfile userAgent=&quot;Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36&quot; version=&quot;7.6.8&quot; editor=&quot;www.draw.io&quot; type=&quot;atlas&quot;&gt;&lt;mxAtlasLibraries/&gt;&lt;diagram id=&quot;3ea4a502-58a4-5028-28a5-2721fd70108b&quot; name=&quot;Page-1&quot;&gt;7ZpZb+M2EIB/jYHsgw0dvvLodfdC68WiadH2kZYoiwglaikqR399eepW4tiUs0cdIJaH5JCa+TgcUpr42+ThAwVZvCMhxBPPCR8m/i8Tz3O99YJ/CcmjkqzXrhIcKAp1pUpwg/6FWuhoaYFCmDcqMkIwQ1lTGJA0hQFryACl5L5ZLSK42WsGDrpHpxLcBADDTrW/UMhifRfeqpJ/hOgQm57d5bUq2YPg9kBJker+Jp4fyY8qToDRpfvNYxCS+5rIfzfxt5QQpq6Shy3EwrbGbKrd+4HSctwUpuyYBp5qcAdwAc2Il5g3fbvnFwdxYQQR4Sr5iNmjttLya0FMwTSXPtzwCu48e6gKjZZfiz3EkBllfERKX7MPLq716zW686RZoRi4y4vvY8TgTQYCUXrPMeSymCVYF0cI4y3BhMq2PpQfLs8ZJbewVuIv/Ws/LPu7g5TBh0FruqWPOPuQJJDRR15FN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pa3Wd5ymrdbStzeqnuosi0eHw9CpVuu5TTzQ7YxL9QxaMnpzbf9Yx1prknrgmdVL+tiKLU8IbnBLHBusAigx8rHC9JUlWyMXt8587US1Vj+VBFKEUMeHJiIh0D0je9YmW1PiiCG1zgSpwW4I7C8fRVnH6rAJC+LVQaz5IxBZoot8CKJNeILXzpQ53beeISCH7VOucHhhvw0AQ84tY4Wg1mlUStxl8Tnh/ZqBq18qvZPekwAxNtdFlCjamxZ8I6Mbi7sUszoVd/M8NJVcgDYUComY7i+trTM80HvEVq8u89eeaV6xqq9TcHEXXn9+Zei94hYX/rF7yVUtG9Sa1/+4/&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g transform="translate(0.5,0.5)"><rect x="0" y="5" width="120" height="60" rx="9" ry="9" fill="#eeeeee" stroke="#36393d" pointer-events="none"/><g transform="translate(33.5,27.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="52" height="14" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 52px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><b><font style="font-size: 14px">Kubelet</font></b></div></div></foreignObject><text x="26" y="13" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><rect x="250" y="5" width="120" height="60" rx="9" ry="9" fill="#eeeeee" stroke="#36393d" pointer-events="none"/><g transform="translate(251.5,19.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="116" height="30" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 116px; white-space: normal; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><b><font style="font-size: 14px">Topology Manager</font></b></div></div></foreignObject><text x="58" y="21" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><rect x="450" y="5" width="160" height="60" rx="9" ry="9" fill="#ffff88" stroke="#36393d" pointer-events="none"/><g transform="translate(469.5,19.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="120" height="30" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 120px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><b><font style="font-size: 14px">Memory Manager </font></b><div><b><font style="font-size: 14px">(MM)</font></b></div></div></div></foreignObject><text x="60" y="21" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 700 14 C 700 -4.67 860 -4.67 860 14 L 860 56 C 860 74.67 700 74.67 700 56 Z" fill="#ffff88" stroke="#36393d" stroke-miterlimit="10" pointer-events="none"/><path d="M 700 14 C 700 28 860 28 860 14" fill="none" stroke="#36393d" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(741.5,30.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="76" height="28" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 76px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><b><font style="font-size: 14px">Node Map </font></b><div><font style="font-size: 12px">(a part of MM)</font></div></div></div></foreignObject><text x="38" y="20" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 60 365 L 60 65" fill="none" stroke="#b3b3b3" stroke-width="2" stroke-miterlimit="10" stroke-dasharray="6 6" pointer-events="none"/><path d="M 310 365 L 310 65" fill="none" stroke="#b3b3b3" stroke-width="2" stroke-miterlimit="10" stroke-dasharray="6 6" pointer-events="none"/><path d="M 530 365 L 530 65" fill="none" stroke="#b3b3b3" stroke-width="2" stroke-miterlimit="10" stroke-dasharray="6 6" pointer-events="none"/><path d="M 780 365 L 780 70" fill="none" stroke="#b3b3b3" stroke-width="2" stroke-miterlimit="10" stroke-dasharray="6 6" pointer-events="none"/><path d="M 60 92 L 301.88 92" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 308.88 92 L 301.88 95.5 L 301.88 88.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(151.5,76.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="66" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: consolas; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px">Admit(...)</font></div></div></foreignObject><text x="33" y="12" fill="#000000" text-anchor="middle" font-size="11px" font-family="consolas">[Not supported by viewer]</text></switch></g><path d="M 60 319 L 521.88 319" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 528.88 319 L 521.88 322.5 L 521.88 315.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(143.5,303.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="112" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><div style="text-align: left"><span style="font-size: 12px ; font-family: &quot;consolas&quot;">AddContainer(...)</span></div></div></div></foreignObject><text x="56" y="12" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 310 104 L 521.88 104" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 528.88 104 L 521.88 107.5 L 521.88 100.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(350.5,88.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="139" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px" face="consolas">GetTopologyHints(...)</font></div></div></foreignObject><text x="70" y="12" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 310 277 L 521.88 277" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 528.88 277 L 521.88 280.5 L 521.88 273.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(376.5,261.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="86" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px" face="consolas">Allocate(...)</font></div></div></foreignObject><text x="43" y="12" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 530 118 L 771.88 118" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 778.88 118 L 771.88 121.5 L 771.88 114.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(560.5,102.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="188" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px">retrieve the counters (free memory)</font></div></div></foreignObject><text x="94" y="12" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">&lt;font style="font-size: 12px"&gt;retrieve the counters (free memory)&lt;/font&gt;</text></switch></g><path d="M 530 299 L 771.88 299" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 778.88 299 L 771.88 302.5 L 771.88 295.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(569.5,269.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="171" height="26" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px">consider memory pre-allocation </font><div style="text-align: left"><font style="font-size: 12px">in Memory Maps</font></div></div></div></foreignObject><text x="86" y="19" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 530 341 L 771.88 341" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 778.88 341 L 771.88 344.5 L 771.88 337.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(566.5,311.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="177" height="26" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px">update <i>cgroups  </i>(<b>cpuset.mems</b>) </font><div style="text-align: left"><font style="font-size: 12px">using CRI API<i> </i></font></div></div></div></foreignObject><text x="89" y="19" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><path d="M 530 239 L 318.12 239" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 311.12 239 L 318.12 235.5 L 318.12 242.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(371.5,223.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="97" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;"><font style="font-size: 12px">Hints (<b><font color="#0000ff">10</font></b>, <font color="#ff0000"><b>11</b></font>, etc.)</font></div></div></foreignObject><text x="49" y="12" fill="#000000" text-anchor="middle" font-size="11px" font-family="Helvetica">[Not supported by viewer]</text></switch></g><rect x="350" y="125" width="400" height="90" rx="13.5" ry="13.5" fill="#eeeeee" stroke="#36393d" pointer-events="none"/><g transform="translate(369.5,130.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="360" height="78" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 360px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><div style="text-align: center"><font style="font-size: 12px">Compute NUMA node affinity for a container:</font></div><div style="text-align: left"><ul><li><font style="font-size: 10px">adequate amount of memory at single NUMA node 0 =&gt; attach hint <b><font color="#0000ff">"10"</font></b></font></li><li><font style="font-size: 10px">adequate amount of memory at multi-NUMA group =&gt; attach hint <b><font color="#ff0000">"11"</font></b></font></li></ul><div style="text-align: center">(and so forth)</div></div></div></div></foreignObject><text x="180" y="45" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">[Not supported by viewer]</text></switch></g></g></svg>