【问题标题】:How to assign a specific core in the execution of an R script如何在执行 R 脚本时分配特定核心
【发布时间】:2018-11-13 08:57:30
【问题描述】:

我想执行一个简单的 R 代码。是否可以在其执行中分配特定的核心/处理器。如果可能,我该怎么做?

【问题讨论】:

    标签: r multithreading microsoft-r


    【解决方案1】:

    可以分配进程以使用 Windows 中的特定内核。最简单的测试方法是通过 Windows 任务管理器 -> 进程选项卡 -> 右键单击​​一个进程 -> 设置关联性 -> 检查您要使用的处理器集。

    其他地方也有类似的问题(https://serverfault.com/questions/571516/any-way-to-make-a-program-run-on-a-specific-core-on-launchhttps://superuser.com/questions/309617/how-to-limit-a-process-to-a-single-cpu-core)。

    请注意,通常不建议您强制进程在特定内核上运行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-31
      • 1970-01-01
      • 2021-11-29
      • 2021-09-05
      • 2014-10-23
      • 2012-03-28
      相关资源
      最近更新 更多