找回密码
 新注册用户
搜索
查看: 5945|回复: 11

[求助] 什么办法多显卡时候,指定某显卡算某任务?『已破』

[复制链接]
发表于 2013-9-1 08:22:15 | 显示全部楼层 |阅读模式
本帖最后由 leawind 于 2013-9-2 16:10 编辑

2块卡,怎么样指定其中GPU0算A任务,GPU1算B任务?
因为GPU1算A任务效率很低。



-----感谢7楼,总结如下-------

如想某显卡不计算项任务

国际惯例哦,修改cc_config.xml

<cc_config>
    <options>
        <use_all_gpus>1</use_all_gpus>
        <exclude_gpu>
            <url>你不想参加的任务链接</url>
            <device_num>设备号,0,1,2等等,详见自己的事件日志里GPU设备号顺序</device_num>
        </exclude_gpu>
    </options>
</cc_config>


回复

使用道具 举报

发表于 2013-9-1 13:56:55 | 显示全部楼层
同求
回复

使用道具 举报

发表于 2013-9-1 19:43:49 | 显示全部楼层
貌似无解
回复

使用道具 举报

发表于 2013-9-1 19:54:32 | 显示全部楼层
脑海里有个奇葩办法而且超麻烦
先把不想让GPU0算的项目全都暂停,只留一个GPU0算的包,然后再开一个GPU1的项目……够烦而且算完一个包就管不了了
回复

使用道具 举报

发表于 2013-9-1 21:36:17 | 显示全部楼层
如果GPU0和GPU1的芯片厂商不同,那就好办了。

先上A任务的网站,在账户设置中,指定只使用A卡或N卡。

然后上B任务的网站,在账户设置指定另一块卡。
回复

使用道具 举报

 楼主| 发表于 2013-9-2 07:07:11 | 显示全部楼层
我之前在官方某个项目的论坛看到过,那时候没仔细看,现在找不到了。
回复

使用道具 举报

发表于 2013-9-2 12:53:37 | 显示全部楼层
https://boinc.berkeley.edu/wiki/Client_configuration
<exclude_gpu>

    Don't use the given GPU for the given project. If <device_num> is not specified, exclude all GPUs of the given type. <type> is required if your computer has more than one type of GPU; otherwise it can be omitted. <app> specifies the short name of an application (i.e. the <name> element within the <app> element in client_state.xml). If specified, only tasks for that app are excluded. You may include multiple <exclude_gpu> elements. If you change GPU exclusions, you must restart the BOINC client for these changes to take effect. List-add.png.New in 6.13

<exclude_gpu>
   <url>project_URL</url>
   [<device_num>N</device_num>]
   [<type>NVIDIA|ATI|intel_gpu</type>]
   [<app>appname</app>]
</exclude_gpu>
回复

使用道具 举报

 楼主| 发表于 2013-9-2 12:55:49 | 显示全部楼层
lokey 发表于 2013-9-2 12:53
https://boinc.berkeley.edu/wiki/Client_configuration

感恩,就是这个。
回复

使用道具 举报

发表于 2013-9-2 15:34:09 | 显示全部楼层
lokey 发表于 2013-9-2 12:53
https://boinc.berkeley.edu/wiki/Client_configuration

不错!我也记得应该是可以的,因为计算程序的开发文档上说过要加-m参数指定参与计算的GPU
回复

使用道具 举报

发表于 2013-9-2 19:44:34 | 显示全部楼层
好东西
回复

使用道具 举报

发表于 2013-9-2 21:48:47 | 显示全部楼层
本帖最后由 nobodyk 于 2013-9-2 21:50 编辑

没错,可以用,设备号需要自己试一下确认

<exclude_gpu>
            <url>http://setiathome.berkeley.edu</url>
            <device_num>0</device_num>
          </exclude_gpu>

          <exclude_gpu>
            <url>http://boinc.freerainbowtables.com/distrrtgen</url>
            <device_num>1</device_num>
          </exclude_gpu>

主显470跑SETI,占用率低,可以玩游戏

第二块470跑DRT
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~
欢迎大家多多支持基金会~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2025-5-4 05:46

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表