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

[求助] 全部是CUDA,CPU不工作?

[复制链接]
发表于 2009-2-5 11:44:15 | 显示全部楼层 |阅读模式
AMD Phenom X3 8650
9600GSO
三核只占用一核
-------------------------------------------------------------------------------------
俺是初学,不懂, ,请多指教。
-------------------------------------------------------------------------------------
2009-2-5 10:53:34||Processor: 3 AuthenticAMD AMD Phenom(tm) 8650 Triple-Core Processor [x86 Family 16 Model 2 Stepping 3]
2009-2-5 10:53:34||Processor features: fpu tsc pae nx sse sse2 3dnow mmx
2009-2-5 10:53:34||OS: Microsoft Windows XP: Professional x86 Editon, Service Pack 2, (05.01.2600.00)
2009-2-5 10:53:34||Memory: 1023.42 MB physical, 2.03 GB virtual
2009-2-5 10:53:34||Disk: 24.40 GB total, 10.92 GB free
2009-2-5 10:53:34||Local time is UTC +8 hours
2009-2-5 10:53:34||Not using a proxy
2009-2-5 10:53:35||CUDA devices found
2009-2-5 10:53:35||Coprocessor: GeForce 9600 GSO (1)
2009-2-5 10:53:36||No general preferences found - using BOINC defaults
2009-2-5 10:53:36||Preferences limit memory usage when active to 511.71MB
2009-2-5 10:53:36||Preferences limit memory usage when idle to 921.08MB
2009-2-5 10:53:36||Preferences limit disk usage to 10.00GB
2009-2-5 10:53:36||This computer is not attached to any projects
2009-2-5 10:53:36||Visit http://boinc.berkeley.edu for instructions
2009-2-5 10:53:52||Fetching configuration file from http://setiathome.berkeley.edu/get_project_config.php
2009-2-5 10:54:25||Running CPU benchmarks
2009-2-5 10:54:25||Suspending computation - running CPU benchmarks
2009-2-5 10:54:31|SETI@home|Master file download succeeded
2009-2-5 10:54:36|SETI@home|Sending scheduler request: Project initialization.  Requesting 1 seconds of work, reporting 0 completed tasks
2009-2-5 10:54:41|SETI@home|Scheduler request completed: got 1 new tasks
2009-2-5 10:54:43|SETI@home|Started download of setiathome_6.08_windows_intelx86__cuda.exe
2009-2-5 10:54:43|SETI@home|Started download of cudart.dll
2009-2-5 10:54:48|SETI@home|Finished download of cudart.dll
2009-2-5 10:54:48|SETI@home|Started download of cufft.dll
2009-2-5 10:54:55|SETI@home|Finished download of cufft.dll
2009-2-5 10:54:55|SETI@home|Started download of libfftw3f-3-1-1a_upx.dll
2009-2-5 10:54:58||Benchmark results:
2009-2-5 10:54:58||   Number of CPUs: 3
2009-2-5 10:54:58||   2337 floating point MIPS (Whetstone) per CPU
2009-2-5 10:54:58||   4871 integer MIPS (Dhrystone) per CPU
2009-2-5 10:54:59||Resuming computation
2009-2-5 10:55:00|SETI@home|Finished download of setiathome_6.08_windows_intelx86__cuda.exe
2009-2-5 10:55:00|SETI@home|Started download of setiathome-6.08_cuda_AUTHORS
2009-2-5 10:55:01|SETI@home|Finished download of setiathome-6.08_cuda_AUTHORS
2009-2-5 10:55:01|SETI@home|Started download of setiathome-6.08_cuda_COPYING
2009-2-5 10:55:03|SETI@home|Finished download of libfftw3f-3-1-1a_upx.dll
2009-2-5 10:55:03|SETI@home|Finished download of setiathome-6.08_cuda_COPYING
2009-2-5 10:55:03|SETI@home|Started download of setiathome-6.08_cuda_COPYRIGHT
--------------------------------------------------------------------------------------------------------------------------------------
<app_info>
<app>
<name>astropulse</name>
</app>
<file_info>
<name>ap_5.00r69_SSE3.exe</name>
<executable/>
</file_info>
<file_info>
<name>libfftw3f-3-1-1a_upx.dll</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse</app_name>
<version_num>500</version_num>
<file_ref>
<file_name>ap_5.00r69_SSE3.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libfftw3f-3-1-1a_upx.dll</file_name>
</file_ref>
</app_version>
<app>
<name>setiathome_enhanced</name>
</app>
<file_info>
<name>MB_6.06r380mod_CUDA.exe</name>
<executable/>
</file_info>
<file_info>
<name>cudart.dll</name>
<executable/>
</file_info>
<file_info>
<name>cufft.dll</name>
<executable/>
</file_info>
<file_info>
<name>libfftw3f-3-1-1a_upx.dll</name>
<executable/>
</file_info>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>528</version_num>
<plan_class>cuda</plan_class>
<avg_ncpus>0.040000</avg_ncpus>
<max_ncpus>0.040000</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<file_ref>
<file_name>MB_6.06r380mod_CUDA.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cudart.dll</file_name>
</file_ref>
<file_ref>
<file_name>cufft.dll</file_name>
</file_ref>
<file_ref>
<file_name>libfftw3f-3-1-1a_upx.dll</file_name>
</file_ref>
</app_version>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>603</version_num>
<plan_class>cuda</plan_class>
<avg_ncpus>0.040000</avg_ncpus>
<max_ncpus>0.040000</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<file_ref>
<file_name>MB_6.06r380mod_CUDA.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cudart.dll</file_name>
</file_ref>
<file_ref>
<file_name>cufft.dll</file_name>
</file_ref>
<file_ref>
<file_name>libfftw3f-3-1-1a_upx.dll</file_name>
</file_ref>
</app_version>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>605</version_num>
<plan_class>cuda</plan_class>
<avg_ncpus>0.040000</avg_ncpus>
<max_ncpus>0.040000</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<file_ref>
<file_name>MB_6.06r380mod_CUDA.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cudart.dll</file_name>
</file_ref>
<file_ref>
<file_name>cufft.dll</file_name>
</file_ref>
<file_ref>
<file_name>libfftw3f-3-1-1a_upx.dll</file_name>
</file_ref>
</app_version>
</app_info>
------------------------------------------------------------------------------------------------------
Processor usage
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 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+ --- 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) 60 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 % of the processors
Use at most
(Can be used to reduce CPU heat)
Enforced by version 5.6+ 100 percent of CPU time

[ 本帖最后由 yoo 于 2009-2-5 14:12 编辑 ]
回复

使用道具 举报

发表于 2009-2-5 13:10:46 | 显示全部楼层
app_info.xml 文件中设定了 ap包由cpu计算,mb包由cuda计算,并未让cpu去计算mb包

正好碰上项目的ap包短缺,所以只有mb包发放。。

也就是说你的配置暂时只能调用 cuda 去计算mb包,cpu正在等候ap包而空闲

或者你可以修改一下 app_info.xml 的内容,增加 cpu计算mb包 的项目

在开端的 <app_info> 后面加入下面的代码:

    <app>
        <name>setiathome_enhanced</name>
    </app>
    <file_info>
        <name>AK_v8_win_x64_SSE3.exe</name>
        <executable/>
    </file_info>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>527</version_num>
        <file_ref>
           <file_name>AK_v8_win_x64_SSE3.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>528</version_num>
        <file_ref>
           <file_name>AK_v8_win_x64_SSE3.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>603</version_num>
        <file_ref>
           <file_name>AK_v8_win_x64_SSE3.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>


注意:这里是调用了优化程序 AK_v8_win_x64_SSE3.exe(红字),你可以按自己需要更换对应的优化版本
另外,ap的任务你正在使用的是 ap_5.00r69_SSE3.exe 优化程序,现在已经有更新的优化版本,而且效率有很大提升,你可以升级一下(对应的是 ap_5.00r103_SSE3.exe

[ 本帖最后由 BiscuiT 于 2009-2-5 15:35 编辑 ]
回复

使用道具 举报

发表于 2009-2-6 19:49:45 | 显示全部楼层

回复 #2 BiscuiT 的帖子

我也下载了大量小包,比如 06ja09ad.26653.16023.6.8.54 。这是个 MB 包吗?如果是,我现在只能用 CPU 计算,怎样才能改 CUDA 呢?附上app_info,帮帮我。

<app_info>
    <app>
        <name>setiathome_enhanced</name>
    </app>
    <file_info>
        <name>AK_v8_win_SSSE3x.exe</name>
        <executable/>
    </file_info>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>528</version_num>
        <file_ref>
           <file_name>AK_v8_win_SSSE3x.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>603</version_num>
        <file_ref>
           <file_name>AK_v8_win_SSSE3x.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
    <app>
        <name>astropulse</name>
    </app>
    <file_info>
        <name>ap_5.00r103_SSE3.exe</name>
        <executable/>
    </file_info>
    <app_version>
        <app_name>astropulse</app_name>
        <version_num>500</version_num>
        <file_ref>
            <file_name>ap_5.00r103_SSE3.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
</app_info>
回复

使用道具 举报

发表于 2009-2-6 21:15:31 | 显示全部楼层

回复 #3 refla 的帖子

试试下载这个帖子里面的 cuda 程序:http://www.equn.com/forum/thread-20408-1-1.html
把里面的 app_info.xml 中 cuda 的部分插入到你本地的文件中去,重启应该就ok了

不过cuda没接触过,所以也不知道实际是如何。。先试试吧
回复

使用道具 举报

发表于 2009-2-7 20:59:56 | 显示全部楼层
折腾了一下,结果重启 BOINC 后,说没有找到可执行文件。。。
结果没来得及算的任务全部当出错处理。。。
一气之下 ,把 SETI 的目录清空,启动 BOINC 点击“重置”按钮。。。结果只下来几张图片。。。
再气之下,干脆退出 SETI,然后重新加入。。。
结果,一切都恢复正常了,又可以 CUDA 了

最让我吃惊的是,SETI 居然能认出我的机器来,把以前的主机号分配给我,积分一分不少
回复

使用道具 举报

发表于 2009-2-8 20:55:52 | 显示全部楼层

回复 #5 refla 的帖子

也折腾过几次,一直没有成功地把CUDA+MB优化+AP优化 放在同一个机器上过,更别说CUDA不独占一核的理想方式了.

现在还是使用  Youth 的 SETI@home 优化程序介绍 (MB+AP, CPU版, 更新于 2009/02/04) 的方式,现在AP优化为R103了,速度很快.

空着的GPU用来计算另外的WU,不过还要要占用一个核
回复

使用道具 举报

发表于 2009-2-9 09:34:00 | 显示全部楼层

回复 #6 ycb 的帖子

不会呀,我只是刚开始要花1、2分钟来做初始化工作,然后就几乎不再需要CPU了。关键是要把 app_info.xml 文件设置好了,下面是我的 xml 文件。你把它放到 SETI 目录之前,最好先禁止 SETI 下载 WU,把手头的工作清空,再改 xml 文件。

<app_info>
  <app>
    <name>astropulse</name>
  </app>
  <file_info>
    <name>ap_5.00r103_SSE3.exe</name>
    <executable/>
  </file_info>
  <file_info>
    <name>libfftw3f-3-1-1a_upx.dll</name>
    <executable/>
  </file_info>
  <app_version>
    <app_name>astropulse</app_name>
    <version_num>500</version_num>
    <file_ref>
      <file_name>ap_5.00r103_SSE3.exe</file_name>
      <main_program/>
    </file_ref>
    <file_ref>
      <file_name>libfftw3f-3-1-1a_upx.dll</file_name>
    </file_ref>
  </app_version>
  <app>
    <name>setiathome_enhanced</name>
  </app>
  <file_info>
    <name>setiathome_6.08_windows_intelx86__cuda.exe</name>
    <executable/>
  </file_info>
  <file_info>
    <name>cudart.dll</name>
    <executable/>
  </file_info>
  <file_info>
    <name>cufft.dll</name>
    <executable/>
  </file_info>
  <file_info>
    <name>libfftw3f-3-1-1a_upx.dll</name>
    <executable/>
  </file_info>
  <app_version>
    <app_name>setiathome_enhanced</app_name>
    <version_num>528</version_num>
    <plan_class>cuda</plan_class>
    <avg_ncpus>0.040000</avg_ncpus>
    <max_ncpus>0.040000</max_ncpus>
    <coproc>
      <type>CUDA</type>
      <count>1</count>
    </coproc>
    <file_ref>
      <file_name>setiathome_6.08_windows_intelx86__cuda.exe</file_name>
      <main_program/>
    </file_ref>
    <file_ref>
      <file_name>cudart.dll</file_name>
    </file_ref>
    <file_ref>
      <file_name>cufft.dll</file_name>
    </file_ref>
    <file_ref>
      <file_name>libfftw3f-3-1-1a_upx.dll</file_name>
    </file_ref>
  </app_version>
  <app_version>
    <app_name>setiathome_enhanced</app_name>
    <version_num>603</version_num>
    <plan_class>cuda</plan_class>
    <avg_ncpus>0.040000</avg_ncpus>
    <max_ncpus>0.040000</max_ncpus>
    <coproc>
      <type>CUDA</type>
      <count>1</count>
    </coproc>
    <file_ref>
      <file_name>setiathome_6.08_windows_intelx86__cuda.exe</file_name>
      <main_program/>
    </file_ref>
    <file_ref>
      <file_name>cudart.dll</file_name>
    </file_ref>
    <file_ref>
      <file_name>cufft.dll</file_name>
    </file_ref>
    <file_ref>
      <file_name>libfftw3f-3-1-1a_upx.dll</file_name>
    </file_ref>
  </app_version>
  <app_version>
    <app_name>setiathome_enhanced</app_name>
    <version_num>605</version_num>
    <plan_class>cuda</plan_class>
    <avg_ncpus>0.040000</avg_ncpus>
    <max_ncpus>0.040000</max_ncpus>
    <coproc>
      <type>CUDA</type>
      <count>1</count>
    </coproc>
    <file_ref>
      <file_name>setiathome_6.08_windows_intelx86__cuda.exe</file_name>
      <main_program/>
    </file_ref>
    <file_ref>
      <file_name>cudart.dll</file_name>
    </file_ref>
    <file_ref>
      <file_name>cufft.dll</file_name>
    </file_ref>
    <file_ref>
      <file_name>libfftw3f-3-1-1a_upx.dll</file_name>
    </file_ref>
  </app_version>
</app_info>
回复

使用道具 举报

发表于 2009-2-9 09:40:26 | 显示全部楼层

回复 #7 refla 的帖子

谢谢!等清空手上任务再测试一下.

不过我看你的这个文件好象没有MB优化的CPU计算了,现在很难接到AP的任务,不是会有一个核空着吗?

完成手上任务后 只能接到CUDA的任务,没有其他任务,只用1核,而且只有5-10%,另外一个核心空,还是解决不了这个问题啊

[ 本帖最后由 ycb 于 2009-2-9 16:44 编辑 ]
回复

使用道具 举报

发表于 2009-2-9 16:48:46 | 显示全部楼层

回复 #8 ycb 的帖子

我参加了 E@H + SETI,当 SETI 跑 AP 包时,2 个核分别被 E@H 和 SETI 各占一个。当跑 CUDA 时,2 个核都在跑 E@H 的包。

但我现在还参加了优美树,为了能把更多的 CPU time 分给优美树,只好暂停了 E@H,所以,现在确实有一个 core 是空着的。。。
回复

使用道具 举报

发表于 2009-2-9 19:43:55 | 显示全部楼层

回复 #9 refla 的帖子

我现在也跑CUDA SETI的,但E@H只能跑一个的,你怎么可以同时跑2个,我一直做不到,当然我是双核的 E5200
回复

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2025-5-11 00:33

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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