How do I 0.25 CPU and 0.25 GPU?

Message boards : Questions and problems : How do I 0.25 CPU and 0.25 GPU?
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 97769 - Posted: 16 Apr 2020, 22:21:21 UTC - in response to Message 97768.  

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.
ID: 97769 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2540
United Kingdom
Message 97775 - Posted: 17 Apr 2020, 8:52:29 UTC

<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.
ID: 97775 · Report as offensive
0.25CPU0.25GPU

Send message
Joined: 11 Apr 20
Posts: 11
Canada
Message 97801 - Posted: 18 Apr 2020, 0:53:22 UTC

running 32 tasks and they are working at 20% per hour. [/img]
ID: 97801 · Report as offensive
Ken Sharp

Send message
Joined: 14 Oct 08
Posts: 15
United Kingdom
Message 98196 - Posted: 29 Apr 2020, 22:50:07 UTC - in response to Message 97649.  

World Community Grid (application)
Computer: Windows 10.
CPU: Pentium G3420 (2 Core).
tasks on World Community Grid (application):
Core 1
Task 1 (cpu0.25)
Task 2 (cpu0.25)
Task 3 (cpu0.25)
Task 4 (cpu0.25)
Core 2
Task 5 (cpu0.25)
Task 6 (cpu0.25)
Task 7 (cpu0.25)
Task 8 (cpu0.25)


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.
ID: 98196 · Report as offensive
Previous · 1 · 2

Message boards : Questions and problems : How do I 0.25 CPU and 0.25 GPU?

Copyright © 2024 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.