Message boards :
News :
GPU status update
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
Send message Joined: 22 Feb 19 Posts: 3 Credit: 5,446,174 RAC: 1,383 |
Ok or wrong: On my pc the Nvidia GPU tasks additionally need a full CPU core (Get Decic Fields v3.03 (opencl_nvidia) windows_x86_64). The GTX 1080 Ti card has a power usage of only 25% and the gpu utilization is 50%. So I run two tasks. The gpu is underutilized and the cpu load is too high. https://numberfields.asu.edu/NumberFields/result.php?resultid=50063132 |
Send message Joined: 8 Jul 11 Posts: 1341 Credit: 510,648,701 RAC: 557,428 |
Ok or wrong: GPU utilization will be fixed with optimization. This is dependent on individual card. My utilization is 97%, but that's because I optimized for my card, and those settings are now the default. When I find the time I will add an app_info.xml interface so that volunteers can easily tweak settings and report back the optimized values for their card. I'm not sure why the cpu load is high. I've noticed that too on the cuda version. As a test, I removed the call to the GPU and the app finished within seconds. That means the vast majority of the time should be spent on the GPU. I'm guessing the CPU is "waiting" on the GPU to finish. The CPU buffers polynomials and then throws them at the GPU. I currently do this in blocks. I could increase the buffer to include every polynomial so there is only 1 call to the GPU. Then the CPU would not have to constantly wait on the GPU, but this would require close to 100GB of memory (worst case) which is not practical. But maybe there is a better way, I just haven't found it yet. |
Send message Joined: 14 Jun 19 Posts: 1 Credit: 1,234,896 RAC: 0 |
Error: Failed to obtain OpenCL device id. Error: Failed to initialize OpenCL. Any chance I could look at your code that initializes ? |
Send message Joined: 8 Jul 11 Posts: 1341 Credit: 510,648,701 RAC: 557,428 |
Error: Failed to obtain OpenCL device id. Please do! I will send it to you. Just so you know, when it cant obtain a device id, that's usually a sign of a configuration problem (not a code problem). I've seen it on my own system when I updated the graphics driver and then the client lost its connection to the GPU. To fix it I had to reboot. Feel free to also look at the openCL code. Some AMD cards have a problem with it and I still don't know why (my best guess is buggy drivers, but it could be something in the code) |
Send message Joined: 25 Feb 13 Posts: 216 Credit: 9,899,302 RAC: 0 |
Ok or wrong: Could you increase the buffer to the following: Read the user / computer specific max memory usage from there computing preferences and divide it but the max. running tasks (number of threads and graphics devices, if there supported / enabled) and set this value as max largest buffer? This are just my two cents~ |
Send message Joined: 8 Jul 11 Posts: 1341 Credit: 510,648,701 RAC: 557,428 |
Thanks for the info. I will use this when I optimize by card. Just added an app_config.xml to two of my machines so I can run 2 concurrent WU's on my GPU's which increases their load from 79% to 97%. |