Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用n1-highcpu-8机器并运行单个笔记本。CPU 利用率始终低于 ~20%。是否可以使用多个 CPU 来提高利用率?
n1-highcpu-8
没有什么可以自动使您的笔记本电脑使用多个 CPU 内核;笔记本内核将永远只使用一个CPU 内核。
如果您想使用多个内核,那么您必须让您的代码显式地并行运行(例如查看多处理库),或者使用为您执行此操作的框架。