Message boards : Questions and problems : How do I 0.25 CPU and 0.25 GPU?
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
![]() Send message Joined: 29 Aug 05 Posts: 15636 ![]() |
Yes, set flags you don't know what they do. You cannot use a GPU application on a project that doesn't have a GPU application. It's not you who decides to use the GPU, but it's the project who decides if they release an application that can do the science on the GPU. So setting use_all_pus won't work. You can't magically make things work through the GPU. <ncpus> is a test flag with which you set a hypothetical number of CPUs or cores and run that on the one CPU you have. If your CPU doesn't have 8 cores, but a lot less, you're now overworking the CPU. <use_all_gpus> is only used when you have two or more same brand but different model GPUs and you want both/all of them to do work... if there are projects that have work for that brand GPU, that is. |
![]() Send message Joined: 28 Jun 10 Posts: 2852 ![]() |
<ncpus> is a test flag with which you set a hypothetical number of CPUs or cores and run that on the one CPU you have. If your CPU doesn't have 8 cores, but a lot less, you're now overworking the CPU And having tried this flag out of interest a couple of years ago, at least on CPDN tasks it tends to lead to crashes. I didn't spend enough time on it to work out whether that was because I didn't have enough memory or for some other reason.There certainly wasn't enough information in the task error message to determine exactly what the problem was. |
Send message Joined: 11 Apr 20 Posts: 11 ![]() |
running 32 tasks and they are working at 20% per hour. [/img] |
Send message Joined: 14 Oct 08 Posts: 15 ![]() |
World Community Grid (application) By the look of this you're wanting to run each core at 25%, rather than running on 25% of the available cores? Under Linux, you would use cgroups*. Windows 10 runs Linux so that may work, but I haven't tested it because I run Windows 10 in Linux, and won't be changing that soon. There's probably some awful third-party app you can use in Windows, but that's for you to discover. * Article is fairly old and refers to cgroups v1, however the principle for cgroups v2 is exactly the same. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.