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: 363
|
![]() |
Author |
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
What is it you want expanded on / repeated? Priorities follow the BOINC standard framework and are designed to not impair the user, even if the user is at the computer. Over and above, default of BOINC computing is to not compute when the user is at the computer. Since for HCC-GPU tasks the CPU parts [start, middle, end] are greater than "low intensity", not fit to share a processor thread with a second, regular BOINC CPU task, it would be inappropriate to configure a default where it would. Again, the user can configure to override those defaults e.g. if the hardware is more powerful, but WCG cannot assume so, always goes for a default where crunching will not impair owners of the least powerful devices being volunteered to donate their spare computing time.
|
||
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
When the HCC1 beta started the work units specified 1 GPU and 0.16 CPU. On my 8 thread i7 BOINC ran 8 CPU work units plus 1 GPU work unit. In windows normal threads ran with priority 8, the GPU work unit with priority 6 and the CPU work units with lowest priority of 4. I cannot remember why the 1 GPU + 1 CPU specification was introduced. The BOINC client will run the application at normal priority if the CPU usage is specified as fractional. If the CPU is set to 1 then the application is run at lowest priority like other jobs. Because of the startup and ending CPU time of 100% cpu for 30-45 seconds, the normal priority caused an impact on some machines. This was resolved by reserving a full cpu core. The app_config.xml file allows users to override this if they want to. |
||
|
robertmiles
Senior Cruncher US Joined: Apr 16, 2008 Post Count: 444 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I've found a way to get past the tendency of the HCC GPU application to take over the entire WCG share of the computer it is running on, but it takes two computers. Configure one computer to have its WCG share include HCC, with GPU use allowed, and configure the other to exclude HCC from the WCG projects it runs, and not to allow any WCG projects to use the GPU.
|
||
|
Wolfram1
Cruncher Joined: Jan 8, 2007 Post Count: 10 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
When the HCC1 beta started the work units specified 1 GPU and 0.16 CPU. On my 8 thread i7 BOINC ran 8 CPU work units plus 1 GPU work unit. In windows normal threads ran with priority 8, the GPU work unit with priority 6 and the CPU work units with lowest priority of 4. I cannot remember why the 1 GPU + 1 CPU specification was introduced. The BOINC client will run the application at normal priority if the CPU usage is specified as fractional. If the CPU is set to 1 then the application is run at lowest priority like other jobs. Because of the startup and ending CPU time of 100% cpu for 30-45 seconds, the normal priority caused an impact on some machines. This was resolved by reserving a full cpu core. The app_config.xml file allows users to override this if they want to. My question is not for the priority in the CPU. Your quote is right. He did understood me. With the values 1 GPU +1 CPU this task will block a whole CPU-core. But ist uses the CPU only sometimes. So it would be good to have values like 1 GPU + 0.16 CPU. I know no way tu change this values with an app_config.xml. If somebody here knows the possibility to change the values, please say it in detal. Thx. |
||
|
branjo
Master Cruncher Slovakia Joined: Jun 29, 2012 Post Count: 1892 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You can find all info here http://www.worldcommunitygrid.org/forums/wcg/...ad,34395_offset,20#404629 and here http://www.worldcommunitygrid.org/forums/wcg/viewthread_thread,34375
----------------------------------------Cheers ![]() Crunching@Home since January 13 2000. Shrubbing@Home since January 5 2006 ![]() |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
1) Several threads discus the new app_config.xml, it requiring to go to a current test version 7.0.42 [.43 is in pipe], or employ the well discussed app_info on your present client. As you've read, app_info use will be disabled by WCG.
----------------------------------------2). With 7.0.42 or higher, the file to put in the C:\ProgramData\BOINC\projects\www.worldcommunitygrid.org contains at minimum: </app_config> <app> <name>hcc1</name> <max_concurrent>1</max_concurrent> <gpu_versions> <gpu_usage>.5</gpu_usage> <cpu_usage>.5</cpu_usage> </gpu_versions> </app> </app_config> This sample says A) Max concurrent allowed to run as CPU tasks is 1 (since there are CPU only and GPU tasks, that take a CPU core to control the GPU task] B) GPU usage of a GPU task is the fraction .5 i.e. maximum of 2 C) CPU usage of GPU task is at a fraction of .5 (2 GPU tasks to share 1 CPU core). Experimenting is required to find the right balance, where there is no automated BOINC mechanism to offset tasks, so one GPU task uses the GPU when the other GPU task uses the GPU. The OS will prioritize, or have these tasks compete for the same resource at the same time, which is where time-outs and fails may occur. WCG defaults are 1 CPU core per 1 GPU task to play it save for all that volunteer their computer. This is not the final product [the app_config.xml feature set may expand], but early WCG member testers of 7.0.40 and up have found it to work as per design. edit: spellcheck [Edit 1 times, last edit by Former Member at Dec 14, 2012 11:32:27 AM] |
||
|
alver
Senior Cruncher Joined: Nov 30, 2007 Post Count: 245 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Sorry if this has been covered before - hard to know what to search for, and I can't read 18 pages of thread just to find out! So I'll be brief:
----------------------------------------Now that HCC can be done on GPU (and given that I don't have a compatible GPU and won't any time soon) - are all my CPU-based crunchers better doing non-HCC work? It seems to me that now HCC is running on other peoples' GPUs, my CPUs would be better used doing work units that *can't* utilise GPUs - i.e. any of the other projects. Does that make sense? Shame in some ways, as HCC is one of my favourite projects, but good to know it's getting crunched more efficiently by others. ![]() (previously known as 'proxima' on SETI, UD, distributed folding, FaD, and Rosetta) |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
It's really not about what others can, but what you want to contribute to, big or small. If you want the project to finish in the most efficient, fastest manner, then don't select HCC for CPU crunching. If you want to contribute to HCC with CPU with resources you have [volunteer spare cycles], by all means, do so. I'm doing that too ;o)
Crunch on |
||
|
Wolfram1
Cruncher Joined: Jan 8, 2007 Post Count: 10 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi,
I have a problem to understand you (or may be you can not understand me). I run Boinc 7.0.42. But I will not change the priority or the scheduling in boinc! I want to change the attribute of the hcc1 task. The task hat now the attribute: 1 GPU + 1 CPU and I want to change it to 1 GPU + 0.16 CPU Can i do that and when yer where can i do that? |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Well, I think it's you not understanding us... so to KISS it for you:
----------------------------------------</app_config> <app> <name>hcc1</name> <max_concurrent>6</max_concurrent> <gpu_versions> <gpu_usage>.1666</gpu_usage> <cpu_usage>1.0</cpu_usage> </gpu_versions> </app> </app_config> This allows 6 HCC1 to run concurrent on CPU [no idea how many cores your computer has], each GPU task taking 0.1666 fraction, so about 6 to run on 1 or more cards at the same time, each GPU task 1 core reserved. In the previous previous example I used .5, meaning 2 GPU tasks controlled by 1 CPU core, but the .16 suggests your machine has 6 cores [an AMD?] The sample needs to be put in a file named app_config.xml and placed in the C:\ProgramData\BOINC\projects\www.worldcommunitygrid.org [where all the WCG jobs are stored] Then when that's done, restart the client. Edit: Here's the official explanation of the app_config.xml: http://boinc.berkeley.edu/wiki/Cc_config.xml (See application configuration section). [Edit 1 times, last edit by Former Member at Dec 14, 2012 4:13:28 PM] |
||
|
|
![]() |