官术网_书友最值得收藏!

TPS

When there are multiple VMs running on the same hypervisor, most of the time some of them might have identical sets of memory content (known as memory pages). This creates opportunities for sharing memory across VMs. The ESXi hypervisor can reclaim redundant copies and keep only one copy using TPS. You can think of it as Memory Deduplication.

Traditionally, in x86 systems, memory is split into 4 kilobytes of pages, and that happens only if you are using small pages with shadow page tables. The TPS process runs every 60 minutes. It scans all the memory pages and calculates a hash value for each one of them. These hashes are saved in a separate table and compared to each other by the kernel. Every time the ESXi kernel finds two identical hashes, it starts a bit-by-bit comparison of the corresponding memory pages. If these pages are absolutely the same, the kernel leaves only one copy of the page in memory and removes the second one. When one of your VM requests to write to this page, the kernel creates a new page because the change made by one VM must not affect the memory contents of another VM.

VMware ESXi scans the guest physical pages randomly, with a base scan rate specified by Mem.ShareScanTime. The maximum number of scanned pages per second in the host and the maximum number of per-VM-scanned pages (that is, Mem.ShareScanGHz and Mem.ShareRateMax, respectively) can also be specified in ESXi's advanced settings.

主站蜘蛛池模板: 阳城县| 梅州市| 河北区| 肥东县| 峡江县| 海宁市| 宁晋县| 嘉峪关市| 碌曲县| 永修县| 岫岩| 翁牛特旗| 高陵县| 固始县| 宣城市| 成安县| 孝昌县| 德令哈市| 广汉市| 宝应县| 志丹县| 兴化市| 华安县| 阿勒泰市| 蓬莱市| 民丰县| 岳普湖县| 胶州市| 溆浦县| 玛曲县| 遵化市| 枣阳市| 万源市| 迭部县| 广南县| 石嘴山市| 马公市| 杭锦旗| 泰顺县| 五常市| 武穴市|