- 1、本文档共35页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
高级可配置电源接口发展现状
Updates in ACPI Based
Memory Hot-Plug
Agenda
1.
2.
3.
4.
5.
6.
ACPI Memory Hot-Plug
Memory Hot-Plug Process
Boot Memory Handling
Pinned Pages Migration
QEmu memory Hot-Plug
Future work
2
ACPI Memory Hot-Plug
• ACPI: Advanced Configuration and Power Interface
ACPI is an interface specification of Operating System-directed motherboard
device configuration and Power Management.
-- ACPI Specification 5.0
Methods
(dynamic)
ACPI Tables
(static)
ACPI BIOS (Firmware)
ACPI Registers
Hardware
Kernel (Software)
ACPI Framework
Run Time Boot Time
OS layer framework.
Event handling
API
Static info used
only at boot time.
DSDT
SRAT
……
Event driven model.
Event registers
Control registers
……
3
Dynamic methods
used at run time.
_EJ0
_STA
……
SCI
(System Control Interrupt)
Kernel
Memory Hot-Plug Subsystem
4
Hardware
Methods
(dynamic)
ACPI Registers
Event info
Call event handler
ACPI Tables
(static)
ACPI BIOS
Generate SCI
(System Control Interrupt)
Call API
Call ACPI Method
Hardware operation
Install event handler
ACPI Framework
Read ACPI Tables
ACPI Memory Hot-Plug
• ACPI and Memory Hot-Plug
Boot time process
Run time process
Call device dependent code
Hot-Plug happens
Memory Device Driver
Memory Affinity
SRAT
Static information of
NUMA architecture.
Memory Affinity
Memory Affinity
Mainly useful information
Memory range
PXM (proximity domain)
Hotpluggable flag
……
ACPI Memory Hot-Plug
• Static configuration
– SRAT: SystemResource Affinity Table
5
Agenda
1.
2.
3.
4.
5.
6.
ACPI Memory Hot-Plug
Memory Hot-Plug Process
Boot Memory Handling
Pinned Pages Migration
QEmu memory Hot-Plug
Future work
6
…
Memory management background
Kernel
space
direct mapping
(64TB)
hole
module mapping space
kernel text mapping
hole
virtual memory map
(1TB)
hole
vmalloc/ioremap space
hole
Physical space
Block X
movable pages
(used)
……
……
page_structs of
Block X
……
7
4
文档评论(0)