- 积分
- 1470
- 回帖
- 0
- 西莫币
-
- 贡献
-
- 威望
-
- 存款
-
- 阅读权限
- 30
- 最后登录
- 1970-1-1
签到天数: 2 天 连续签到: 1 天 [LV.1]初来乍到
|
楼主 |
发表于 2019-9-4 13:31
|
显示全部楼层
来自: 中国浙江台州
本帖最后由 chiyanhu 于 2019-9-4 13:35 编辑
下面是官网帮助文档中的相关描述,里面提到core数要不少于task数,按这个说法我的笔记本电脑(4核心8线程当作8核心处理器对待?)是不是最多应该可以设置成8tasks和8cores?
Numbers of Tasks and Cores
If automatic settings are either not used or not available, note that each machine has an associated number of tasks and number of cores. The number of tasks specifies the total number of compute jobs that will be run on that machine simultaneously. Each separate solver, or distribution is one task. The total cores specifies the total number of cores that will be used on the given machine. This is how you specify multiprocessing. For example, if you want to run two threads for each task, you specify Total Cores = 2 x Number of Tasks. The number of cores must always be greater than or equal to the number of tasks. If the number of cores is not an exact multiple of the number of tasks, some tasks will use more cores than others. For example, if Number of Tasks is 4 and Total Cores is 10, 2 tasks will use 3 cores, and 2 tasks will use 2 cores. |
|