sil*_*rdr 12 multithreading ansible
我对使用以下cpu事实设置服务器感到困惑:
"ansible_processor": [
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz"
],
"ansible_processor_cores": 1,
"ansible_processor_count": 2,
"ansible_processor_threads_per_core": 1,
"ansible_processor_vcpus": 2,
Run Code Online (Sandbox Code Playgroud)
它似乎正确地报告了CPU的数量,但我应该将我的工作者(线程)数量作为基础?我确信我会使用,ansible_processor_cores但它似乎只报告一个(1 - sic!)尽管报告了两个处理器!如何获得工作进程可用的线程数?
| 归档时间: |
|
| 查看次数: |
6691 次 |
| 最近记录: |