- vSphere High Performance Cookbook(Second Edition)
- Kevin Elder Christopher Kusek Prasenjit Sarkar
- 247字
- 2021-07-02 20:59:55
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.
- VMware View Security Essentials
- Java完全自學教程
- BeagleBone Media Center
- Groovy for Domain:specific Languages(Second Edition)
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- 實戰Java高并發程序設計(第3版)
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- ASP.NET開發與應用教程
- Couchbase Essentials
- Vue.js 3應用開發與核心源碼解析
- React.js實戰
- 劍指大數據:企業級電商數據倉庫項目實戰(精華版)
- Natural Language Processing with Python Cookbook
- Java EE互聯網輕量級框架整合開發:SSM+Redis+Spring微服務(上下冊)
- 人件集:人性化的軟件開發