log in |
Message boards : AMD : Very variable gpu duration
Author | Message |
---|---|
I have some wus, from 4 seconds to 2 minutes on my Rx260X | |
ID: 10 · Rating: 0 · rate:
![]() ![]() ![]() | |
Yes, this is normal. | |
ID: 15 · Rating: 0 · rate:
![]() ![]() ![]() | |
Sorry, I wrote my answer at 3 am local time, and it is terribly wrong. The time, t, required to compute the powder diffraction pattern of a crystallite is proportional to the square of the number of atoms in it, N. N is proportional to the cube of the crystallite size, D. So, t ~ D6. So, the computation of powder diffraction pattern for 21 nm crystallite takes 1838 longer than the computation for 6 nm crystallite (if the atomic density is the same). However, for any crystallite, the app needs to compute the atomic ensemble, print the files, etc. That’s why the lowest computation time is always a second or so. | |
ID: 17 · Rating: 0 · rate:
![]() ![]() ![]() | |
i found that you need to reserve one whole CPU core otherwise it can take an age. | |
ID: 18 · Rating: 0 · rate:
![]() ![]() ![]() | |
i found that you need to reserve one whole CPU core otherwise it can take an age. Thank you, this is very valuable information! I’ve never tested this project in parallel with some CPU-intensive projects. If I understand this correctly, setting the cpu_frac to 0.5 in the plan class configuration will guarantee that one CPU core will be reserved for the GPU app. I need to test this on my VM first. Also, it is interesting, whether this is required only for the OpenCL version (due to runtime kernel compilation) or for the CUDA version too. | |
ID: 19 · Rating: 0 · rate:
![]() ![]() ![]() | |
i found that you need to reserve one whole CPU core otherwise it can take an age. Other "gpu projects" need a dedicated cpu core. App_info.xml solves the problem | |
ID: 20 · Rating: 0 · rate:
![]() ![]() ![]() | |
In the future I'll improve the scheduler, so the initial data for the small crystallites will be sent only to the CPUs. Good idea. If you send too much little wus to gpu, you risks a DOS of scheduler because of the intense upload/download. Milkyway@Home, recently, has increased 5 times the data in gpu app to reduce the server load. | |
ID: 21 · Rating: 0 · rate:
![]() ![]() ![]() | |
It seems that this feature is perfect for my case. I'll try to implement it. | |
ID: 22 · Rating: 0 · rate:
![]() ![]() ![]() | |
The parameters responsible for the reservation of CPU cores are avg_ncpus and max_ncpus. Is that right? They can be specified both in app_info.xml on the client side and in plan_class_spec.xml on the server side. So, if I add: <avg_ncpus>1.</avg_ncpus>
<max_ncpus>1</max_ncpus> to all GPU plan classes in plan_class_spec.xml, this should solve the problem for all volunteers in theory. Am I right? | |
ID: 23 · Rating: 0 · rate:
![]() ![]() ![]() | |
i found that you need to reserve one whole CPU core otherwise it can take an age. I've updated the GPU plan classes by adding: <avg_ncpus>1.</avg_ncpus>
<max_ncpus>1</max_ncpus> Is the problem solved? | |
ID: 37 · Rating: 0 · rate:
![]() ![]() ![]() | |
Message boards :
AMD :
Very variable gpu duration