zoukankan      html  css  js  c++  java
  • CPU

    Before setting CPU affinities for device interrupts and application processes and threads it is important to get an accurate picture of CPU physical layout. On System x® this can be done be looking at the physical ID and core ID values of each processor entry in /proc/cpuinfo. CPU entries with the same physical ID are on the same CPU socket. CPU entries with the same physical ID and the same core ID are known as simultaneous multi threads (SMTs) also known as hardware threads on the same core.

    Below is a diagrammatic representation of the CPU physical layout described from the information in /proc/cpuinfo for an IBM® HS22 blade. CPU 0 and 8 share a common 32kB instruction and data L1 cache and a 256kB L2 cache. CPU 0 and 1 share a common 8MB (16 way associative) L3 cache. CPU 0 and 4 share no common cache. In the system shown here the optimal (that is, for best latency and throughput) assignment of Low Latency Messaging and application threads to CPUs is (0,1,2,3) or (4,5,6,7) because they each have a dedicated L2 cache and a shared (on die) L3 cache.

    This is just one example of microprocessor architecture, before tuning for your system you should understand the cache hierarchy as implemented by the microprocessor manufacturer for your particular system.

  • 相关阅读:
    更新安装xcode7插件
    提交自己的插件包(package)
    数组包含字典-根据key排序
    primeng 中 pickList组件的使用
    tomcat的启动和部署
    css中如何把鼠标变成手
    angular2新建组件
    Angular2的笔记
    idea 创建springboot工程
    jfinal excel表导出
  • 原文地址:https://www.cnblogs.com/betajj-blog/p/8444101.html
Copyright © 2011-2022 走看看