Welcome to MilkyWay@home

2 calculation at the same time

Message boards : Application Code Discussion : 2 calculation at the same time
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile [AF>France] Fred VW

Send message
Joined: 13 Aug 09
Posts: 1
Credit: 13,500,496
RAC: 0
Message 56719 - Posted: 4 Jan 2013, 14:03:33 UTC

Hello,
When I work on Milkyway @ home, my gpu is 65%. I would like to know how to make two calculations at the same time to use my gpu to 100%

I tried this app_info, but it does not work.

<app_info>
   <app>
      <name>milkyway</name>
    </app>

    <file_info>
      <name>milkyway_separation_1.02_windows_x86_64__opencl_amd_ati.exe</name>
        <executable/>
    </file_info>
 
   <app_version>
        <app_name>milkyway</app_name>
        <version_num>102</version_num>
          <platform>windows_x86_64</platform>
          <avg_ncpus>0.050000</avg_ncpus>
          <max_ncpus>0.050000</max_ncpus>
          <flops>355894309709.255130</flops>
          <plan_class>opencl_amd_ati</plan_class>
          <api_version>6.13.0</api_version>
          <coproc>
               <type>ATI</type>
               <count>1</count>
          </coproc>
           <gpu_ram>262144000.000000</gpu_ram>
          <cmdline>--gpu-wait-factor 0.33</cmdline>
        <file_ref>
            <file_name>milkyway_separation_1.02_windows_x86_64__opencl_amd_ati.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
</app_info>



Configuration of my computer

cpu: i5 750@2.67Ghz
gpu ATI 5850 1GB
ram: 4GB
Windows 7 64

thank you
ID: 56719 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
GaryG
Avatar

Send message
Joined: 29 Aug 12
Posts: 31
Credit: 40,781,945
RAC: 0
Message 56726 - Posted: 4 Jan 2013, 16:51:01 UTC
Last modified: 4 Jan 2013, 17:05:41 UTC

The count variable needs to be set to .5 for 2x, .33 for 3x, etc.

Edit: Note that when switching to/from app_info usage, your current cache of jobs may be aborted. After having tried both ways, I have reverted to not using app_info as there does not appear to be an advantage in performance. On an ATI GPU times were doubled when running 2x and on a NVida GPU it takes longer (not as good at handling floating point doubles as the ATI). If you are running apps other than Milkyway, running more than 1x will hurt the other apps performance. As always your milage may vary.
ID: 56726 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3315
Credit: 519,939,976
RAC: 22,667
Message 56747 - Posted: 5 Jan 2013, 11:39:54 UTC - in response to Message 56719.  

Hello,
When I work on Milkyway @ home, my gpu is 65%. I would like to know how to make two calculations at the same time to use my gpu to 100%

I tried this app_info, but it does not work.

Configuration of my computer

cpu: i5 750@2.67Ghz
gpu ATI 5850 1GB
ram: 4GB
Windows 7 64
thank you


This one worked for me last time I used an AMD card here:
<app_info>
<app>
<name>milkyway</name>
</app>
<file_info>
<name>milkyway_separation_1.02_windows_x86_64__opencl_amd_ati.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway</app_name>
<version_num>102</version_num>
<flops>1.0e11</flops>
<avg_ncpus>0.05</avg_ncpus>
<max_ncpus>1</max_ncpus>
<plan_class>ati14ati</plan_class>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
<cmdline>--gpu-target-frequency 10 --gpu-disable-checkpointing</cmdline>
<file_ref>
<file_name>milkyway_separation_1.02_windows_x86_64__opencl_amd_ati.exe</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>
ID: 56747 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ITSCM(SS) Rob Sumara

Send message
Joined: 14 Dec 12
Posts: 5
Credit: 459,747
RAC: 0
Message 56751 - Posted: 5 Jan 2013, 19:15:07 UTC - in response to Message 56719.  

The file looks ok. Try changing <count>1</count> to
<count>.45</count>

My setup is slightly different as I use NVIDIA, but the my understanding of the count metric, is that the value entered is how much of the GPU you desire to be usilised. IE: count 1= %100 of GPU hence one WU, count .5=%50 GPU so 2 WU's, count .33 =%33 and so on.
ID: 56751 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Application Code Discussion : 2 calculation at the same time

©2024 Astroinformatics Group