KVM VM: GPU not being used - Instead one CPU core

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
InstructionCacheLvl0
Posts: 1
Joined: Sun Mar 15, 2020 8:36 pm

KVM VM: GPU not being used - Instead one CPU core

Post by InstructionCacheLvl0 »

Hello,

i cant get my GTX1060 to work. Here is my config:

19:19:15:<config>
19:19:15: <!-- Folding Core -->
19:19:15: <checkpoint v='3'/>
19:19:15: <core-priority v='low'/>
19:19:15:
19:19:15: <!-- Logging -->
19:19:15: <verbosity v='5'/>
19:19:15:
19:19:15: <!-- Network -->
19:19:15: <proxy v=':8080'/>
19:19:15:
19:19:15: <!-- Slot Control -->
19:19:15: <pause-on-battery v='false'/>
19:19:15: <power v='full'/>
19:19:15:
19:19:15: <!-- User Information -->
19:19:15: <team v='235850'/>
19:19:15: <user v='InstructionCacheLvl0FetchError'/>
19:19:15:
19:19:15: <!-- Folding Slots -->
19:19:15: <slot id='0' type='GPU'>
19:19:15: <cuda-index v='1'/>
19:19:15: <gpu-index v='1'/>
19:19:15: <opencl-index v='1'/>
19:19:15: </slot>
19:19:15: <slot id='1' type='CPU'>
19:19:15: <cpus v='8'/>
19:19:15: </slot>
19:19:15:</config>

I have a windows in a kvm virtual Machine on Archlinux running. In the VM i have a Windows 1809 running with normal Nvidia Drivers. I can play "Tripple-A" Titles just fine and can see usage of my GPU in Windows Taskmanager.

FAHClient ist just using one CPU Core instead of my GPU. Can someone pinpoint me to search for errors in Log? There arent any, i have already set the log to level 5.

Greetings from Germany
davidcoton
Posts: 1094
Joined: Wed Nov 05, 2008 3:19 pm
Location: Cambridge, UK

Re: KVM VM: GPU not being used - Instead one CPU core

Post by davidcoton »

Are you getting "No WUs available for this configuration"? If so, it is because parts of F@H are overloaded with the enormous response to several social media references. The team are working on adding additional resources, please be patient. Just consider what it's like for the researchers who are generating many times more work than a week ago.
Image
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: KVM VM: GPU not being used - Instead one CPU core

Post by JimboPalmer »

19:19:15: <verbosity v='5'/> after you set this back to 3, send us the first 200 lines of the log. They tell us so much.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Joe_H
Site Admin
Posts: 8002
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4
Location: W. MA

Re: KVM VM: GPU not being used - Instead one CPU core

Post by Joe_H »

The CPU count is set to 8, but your CPU is just using one. That might be from a installer bug that sometimes causes the first WU to be processed an just one CPU core. Later WU's will use more. Of course I am assuming your system has 8 or more CPU cores available to it.

Not sure about the rest of your setup, the client has problems with some type of VM's and accessing the GPU.
Image
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: KVM VM: GPU not being used - Instead one CPU core

Post by bruce »

Actual CPU performance cannot be increased by creating virtual CPUs in VMs

Say you have 4 real CPUs and 2 VMs, each with 8 CPUs. Whether you have a client running in each machine that allocates N+M GPUs, you won't get any more work done than the 4 CPUs can produce, you'll get less because of the VM overhead.
Post Reply