在 Oracle® Solaris 11.2 中进行资源管理

退出打印视图

更新时间: 2014 年 7 月
 
 

指定特定的 CPU

您可以使用 assignunassign 指定和取消指定 CPU、核心和套接字。

cpus=

指定给区域的 CPU 的列表。

cores=

指定给区域的核心的列表。

sockets=

指定给区域的套接字的列表。

示例 13-3  指定核心

为 pset new 指定核心。

# poolcfg -dc 'assign to pset new (core 0 ; core 1)'
示例 13-4   更新正在运行的池以便与持久性静态配置相匹配

使用 zonecfg 命令指定核心。使用带 –c 选项的 pooladm 命令使正在运行的池与静态配置相匹配。

# poolcfg -c 'assign to pset new (core 0 ; core 1)'
# pooladm -c