Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
![]() |
World Community Grid Forums
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 16
|
![]() |
Author |
|
keithhenry
Ace Cruncher Senile old farts of the world ....uh.....uh..... nevermind Joined: Nov 18, 2004 Post Count: 18665 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I am quickly approaching my run time goal for OPN but would like to continue running GPU tasks for it since that's the only project with GPU tasks and I might as well keep the GPU busy. Looking around at how to do this. I believe I need to create an app_config.xml for OPN and use the cpu_usage tag to basically say use all of the cpu for gpu tasks. For an eight core machine that would look like:
----------------------------------------<cpu_usage>8</cpu_usage> Am I right that this will have the machine process only GPU wu for OPN? |
||
|
Dennis-TW
Cruncher Joined: Apr 28, 2010 Post Count: 13 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
There is a much easier way without messing around in app_config.xml
When logged in at the WCG website, select "Settings" - "Device Manager" - click the profile of your device - set "Allow research to run on my CPU?" to "No" Done. |
||
|
Bryn Mawr
Senior Cruncher Joined: Dec 26, 2018 Post Count: 344 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
There is a much easier way without messing around in app_config.xml When logged in at the WCG website, select "Settings" - "Device Manager" - click the profile of your device - set "Allow research to run on my CPU?" to "No" Done. Won’t that stop the machine from running mcm etc? |
||
|
biini
Senior Cruncher Finland Joined: Jan 25, 2007 Post Count: 334 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I am quickly approaching my run time goal for OPN but would like to continue running GPU tasks for it since that's the only project with GPU tasks and I might as well keep the GPU busy. Looking around at how to do this. I believe I need to create an app_config.xml for OPN and use the cpu_usage tag to basically say use all of the cpu for gpu tasks. For an eight core machine that would look like: <cpu_usage>8</cpu_usage> Am I right that this will have the machine process only GPU wu for OPN? That's a nice out-side-of-box thinking :-) How ever I'm afraid the maximum value you can use is 1. I don't think there's a easy way to solve this. You either need a second client running on GPU only profile, and while the primary client would run CPU only tasks. The easiest solution would be limiting number of concurrent OPN tasks from the device profile to 1, while allowing more tasks to other projects you are contributing. |
||
|
nanoprobe
Master Cruncher Classified Joined: Aug 29, 2008 Post Count: 2998 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Keith.
----------------------------------------It would help to know what kind of GPU you have to set it up properly. To run GPU tasks only it will take the correct profile settings and an app_config file with the correct syntax to run multiple GPU tasks at the same time.
In 1969 I took an oath to defend and protect the U S Constitution against all enemies, both foreign and Domestic. There was no expiration date.
![]() ![]() |
||
|
keithhenry
Ace Cruncher Senile old farts of the world ....uh.....uh..... nevermind Joined: Nov 18, 2004 Post Count: 18665 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Keith. It would help to know what kind of GPU you have to set it up properly. To run GPU tasks only it will take the correct profile settings and an app_config file with the correct syntax to run multiple GPU tasks at the same time. Yea, I know about running multiple GPU tasks at the same time on the same GPU card. I just want to run only GPU tasks. I suspect I could easily run multiple GPU tasks at once but I'm a real neophyte with GPU stuff. Limiting the project to one concurrent tasks in the device profile seems to limit GPU tasks as well (makes sense). I figured an app_config file would be necessary. Here's the Boinc log from a startup: w-archlaptop 1 7/7/2021 1:43:54 PM Starting BOINC client version 7.16.11 for windows_x86_64 2 7/7/2021 1:43:54 PM log flags: file_xfer, sched_ops, task 3 7/7/2021 1:43:54 PM Libraries: libcurl/7.47.1 OpenSSL/1.0.2s zlib/1.2.8 4 7/7/2021 1:43:54 PM Data directory: C:\ProgramData\BOINC 5 7/7/2021 1:43:54 PM Running under account ArchLaptop 6 7/7/2021 1:43:56 PM CUDA: NVIDIA GPU 0: GeForce GTX 1650 Ti with Max-Q Design (driver version 452.66, CUDA version 11.0, compute capability 7.5, 4096MB, 3324MB available, 2458 GFLOPS peak) 7 7/7/2021 1:43:56 PM OpenCL: NVIDIA GPU 0: GeForce GTX 1650 Ti with Max-Q Design (driver version 452.66, device version OpenCL 1.2 CUDA, 4096MB, 3324MB available, 2458 GFLOPS peak) 8 7/7/2021 1:43:56 PM OpenCL: Intel GPU 0: Intel(R) UHD Graphics (driver version 27.20.100.9316, device version OpenCL 3.0 NEO, 26102MB, 26102MB available, 240 GFLOPS peak) 9 7/7/2021 1:43:56 PM Windows processor group 0: 16 processors 10 7/7/2021 1:43:56 PM Host name: LAPTOP-4H1RR6MA 11 7/7/2021 1:43:56 PM Processor: 16 GenuineIntel Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz [Family 6 Model 165 Stepping 2] 12 7/7/2021 1:43:56 PM Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss htt tm pni ssse3 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 vmx smx tm2 pbe fsgsbase bmi1 sme 13 7/7/2021 1:43:56 PM OS: Microsoft Windows 10: Professional x64 Edition, (10.00.19043.00) 14 7/7/2021 1:43:56 PM Memory: 63.73 GB physical, 73.23 GB virtual 15 7/7/2021 1:43:56 PM Disk: 1.86 TB total, 1.73 TB free 16 7/7/2021 1:43:56 PM Local time is UTC -4 hours |
||
|
flynryan
Senior Cruncher United States Joined: Aug 15, 2006 Post Count: 235 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Yea, I know about running multiple GPU tasks at the same time on the same GPU card. I just want to run only GPU tasks. I suspect I could easily run multiple GPU tasks at once but I'm a real neophyte with GPU stuff. Limiting the project to one concurrent tasks in the device profile seems to limit GPU tasks as well (makes sense). I figured an app_config file would be necessary. Here's the Boinc log from a startup: I made this app_config that does 1 cpu core for an OPN cpu task and 4 for GPU. Setting max concurrent to 0 doesn't work. Tweak as needed for number of GPU tasks. Other projects like MCM would be unaffected by this. Not exactly what you are looking for but hope this helps. <app_config> <app> <name>opn1</name> <max_concurrent>1</max_concurrent> </app> <app> <name>opng</name> <gpu_versions> <gpu_usage>0.25</gpu_usage> <cpu_usage>1</cpu_usage> </gpu_versions> </app> </app_config> |
||
|
adriverhoef
Master Cruncher The Netherlands Joined: Apr 3, 2009 Post Count: 2155 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I made this app_config that does 1 cpu core for an OPN cpu task and 4 for GPU. Setting max concurrent to 0 doesn't work. What about setting max_concurrent to 0.5? Well, I tried 0.5 - or even 0.00001 - and it acted as if the value was the same as before. So, a fraction doesn't get rounded down. [Edit 2 times, last edit by adriverhoef at Jul 8, 2021 12:07:32 PM] |
||
|
nanoprobe
Master Cruncher Classified Joined: Aug 29, 2008 Post Count: 2998 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Keith,
----------------------------------------Your profile settings need to be set to yes for GPU tasks and no for CPU tasks to run GPU only. If you're not already using an app_config file copy and paste the file into notepad. It will run 4 GPU tasks concurrently if/when you get them. They are hard to get.Rename it app_config.xml and place it into the WCG project folder. Restart BOINC. Just an FYI. Nvidia GPU tasks are virtual memory hogs and running 4 concurrently may slow down you computer when trying to do other stuff. If it's a dedicated cruncher than it's not an issue. <app_config> <app> <name>opng</name> <gpu_versions> <gpu_usage>0.25</gpu_usage> <cpu_usage>1</cpu_usage> </gpu_versions> </app> </app_config>
In 1969 I took an oath to defend and protect the U S Constitution against all enemies, both foreign and Domestic. There was no expiration date.
----------------------------------------![]() ![]() [Edit 1 times, last edit by nanoprobe at Jul 13, 2021 7:00:12 PM] |
||
|
keithhenry
Ace Cruncher Senile old farts of the world ....uh.....uh..... nevermind Joined: Nov 18, 2004 Post Count: 18665 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Nanoprobe, the thread list says you updated this thread on the 10th but I can't see a post for you that day. Weird!
----------------------------------------Anyway, not sure I'm making much progress but making some. This is what I have for my app_config.xml: <app_config> <app> <name>opn1</name> <max_concurrent>5</max_concurrent> <gpu_usage>0.000000</gpu_usage> <cpu_usage>0.000000</cpu_usage> </app> <app> <name>opng</name> <max_concurrent>25</max_concurrent> <gpu_usage>0.250000</gpu_usage> <cpu_usage>0.500000</cpu_usage> </app> </app_config> I also added <use_all_gpus>1</use_all_gpus> in the cc_config.xml file on that machine. You don't want to set the project limit in the device profile to 1 as that applies to both CPU and GPU. I have that set to 10. I wasn't seeing any GPUs come in with it set to 1. However, with it set to 10, I currently have 3 running and 7 ready to start and two GPUs which is more than 10. More weirdness. The max_concurrent of 5 at least runs enough of the 10 allowed to keep any from missing the deadline. In the log, I am seeing: Requesting new tasks for CPU and NVIDIA GPU and Intel GPU I don't think it was mentioning Intel GPU before but I am not 100% sure. I'll try to look at the stdoutdae on that machine. I noticed that BOINCMGR has "Running (0.892 CPUs + 1 GPU) in the status column. That's why I put 0.5 in for cpu_usage for OPNG. I haven't seen the machine run more than one GPU at a time so maybe the NVIDIA GPU can only do one. If that's true, it would seem that there is no point to have gpu_usage and cpu_usage for opng in the app_config. Edit: Checked stdoutdae on that machine and it had the same "Requesting new tasks for CPU and NVIDIA GPU and Intel GPU" message before I added use_all_gpus to cc_config.xml. Oh, and yes, I did restart BOINC. Edit: I hate trying to think! The project limit in the device profile can only apply to CPU tasks. I have 10 CPU tasks on the machine now and it's got GPU tasks as well. ---------------------------------------- [Edit 3 times, last edit by keithhenry at Jul 14, 2021 9:24:23 PM] |
||
|
|
![]() |