ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AWR中的CPUs, Cores, Sockets

AWR中的CPUs, Cores, Sockets

原创 Linux操作系统 作者:tolywang 时间:2012-08-31 12:07:25 0 删除 编辑
CPUs=8     Cores=8     Sockdets=2  

NUM_CPUS 8   表示逻辑CPU数量(Oracle数据库中表现出来的初始参数 cpu_count)
NUM_CPU_CORES 8    对应CPU Cores数量
NUM_CPU_SOCKETS 2  CPU Sockets数量

-        stat_name = NUM_CPUS. This value should correspond to the number of logical CPUs. For systems with CMT or
hyper-threaded processors, this value should correspond to the total number of hardware threads.  For systems with
multi-core processors, this value should correspond to the total number of hardware threads across all cores in the
system.  NUM_CPUS should be greater than or equal to NUM_CPU_CORES and NUM_CPU_SOCKETS.  
对应逻辑CPU数量,
对于CPU多线程或超线程,值应该指hardware threads总数。
对于多核处理器,值应该对应于系统中所有核的hardware threads总数。
NUM_CPUS值大于等于NUM_CPU_CORES and NUM_CPU_SOCKETS
那么也就是说,如果CPU物理个数为2,那么Sockets=2 (初略理解为插槽) ?   每颗 CPU 采用4核,每核4线程 ,  那么处理器(CMT)
能够支持16个并发执行的硬线程, 对应到 NUM_CPUS 是不是等于 2 * 4 * 4 = 32 (根据第二句红色语句)  ?   NUM_CPU_CORES=2*4 =8  ?

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-742337/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14711559