refla 发表于 2009-1-18 09:07:42

能否只用显卡运算 CUDA 部分?

因为同时参加了其它项目,所以想把宝贵的 CPU 资源留给其他项目。

BiscuiT 发表于 2009-1-18 09:49:33

可以

如果你是n核cpu,那就设置成 n+1 核

refla 发表于 2009-1-18 10:00:08

怎么设?

BiscuiT 发表于 2009-1-18 10:19:58

登录官网帐户, 计算参数设置, On multiprocessors, use at most

gwcwr 发表于 2009-1-18 12:35:22

下面是我的参数设置,请问修改怎么才能如LZ所说只用GPU运算CUDA任务

Suspend work while computer is on battery power?
(matters only for portable computers) yes
Suspend work while computer is in use? no
'In use' means mouse/keyboard activity in last 3.0 minutes
Suspend work if no mouse/keyboard activity in last
(Needed to enter low-power mode on some computers)
Enforced by version 5.10.14+ 0.0 minutes
Do work only between the hours of (no restriction)
Leave applications in memory while suspended?
(suspended applications will consume swap space if 'yes') no
Switch between applications every
(recommended: 60 minutes) 120 minutes
On multiprocessors, use at most
Enforced by version 5.10 and earlier 16 processors
On multiprocessors, use at most
Enforced by version 6.1+ 100.0 % of the processors
Use at most
(Can be used to reduce CPU heat)
Enforced by version 5.6+ 60.0 percent of CPU time

BiscuiT 发表于 2009-1-18 12:50:47

回复 #5 gwcwr 的帖子

LZ的意思不是 "只用GPU" 运算...

因为cuda版本需要一个cpu核心来调度数据,而整个过程对这个核心的计算时间使用量并不多,但却占用着这个核心使得原有的cpu版本不会运行在这个核心上...

通过设定大于真实cpu核心数量让boinc尽可能的把所有cpu核心调度起来免得闲置而已..

gwcwr 发表于 2009-1-18 17:51:30

我的CPU是AMD 双核,显卡是9800GT。我这里看到的现象是,当运行两个任务的时候CPU占用每个程序是50%,当运行CUDA任务时有两种情况:一种是占用CPU 0.4,显示CUDA运算,但还是同时只有两个任务在计算,一个CPU任务,一个CUDA任务,我理解为即便CPU占用只有0.4,但还是在占用这个CPU,这种情况下CUDA计算正确;第二种情况是两个CPU任务和一个CUDA任务同时在计算(3个任务),但是CUDA任务计算错误

refla 发表于 2009-1-19 15:55:49

回复 #7 gwcwr 的帖子

看来是 C 跟 G 一起用上了

ycb 发表于 2009-1-19 21:46:08

回复 #4 BiscuiT 的帖子

看了好一会,还是不知道如何设置为3个CPU,现在只能一个核基本空着.

斑竹 : 能详细点吗?

BiscuiT 发表于 2009-1-19 21:57:12

回复 #9 ycb 的帖子

主页登录后点击这里:http://setiathome.berkeley.edu/prefs.php?subset=global

refla 发表于 2009-1-19 23:03:55

我突然发现这帖子多了个回形针,这是怎么回事?

ycb 发表于 2009-1-19 23:20:05

谢谢 ! 我本来在BAM里面找,那里是有关于单个机器的分别设置的 , 但设置了没有用.

你说的这样 我已经是16个CPU了,但还是没有用.

估计要重启一下,等会试一下

kittyjia 发表于 2009-1-20 18:37:51

我的是双核,在机器比较空闲时,计算是2+1,但是如果上网开的窗口多,会自动变成1+1,即一个CPU和一个CUDA

BiscuiT 发表于 2009-1-20 21:08:59

回复 #12 ycb 的帖子

不用重启...是在 boinc manager 里面对项目更新一下...
页: [1]
查看完整版本: 能否只用显卡运算 CUDA 部分?

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