CPU usage low (8%)

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
myselfolli
Posts: 4
Joined: Thu Mar 30, 2017 11:18 am

CPU usage low (8%)

Post by myselfolli »

So I started folding on my root-server recently (it has essentially been doing jackall up until now) but I noticed, that the CPU usage was always sitting at about 8% max. Is there any way I can manually up this?

The software is running on my (headless) debian server, so I'll need command lines for the terminal. I'd like to crank the usage up to a max of 80% or something
foldy
Posts: 2040
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU usage low (8%)

Post by foldy »

Hi myselfolli, yes that should be possible.
Can you post your FahClient logfile so we can see the configuration?
See how to viewtopic.php?f=24&t=26036
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: CPU usage low (8%)

Post by 7im »

myselfolli wrote:So I started folding on my root-server recently (it has essentially been doing jackall up until now) but I noticed, that the CPU usage was always sitting at about 8% max. Is there any way I can manually up this?

The software is running on my (headless) debian server, so I'll need command lines for the terminal. I'd like to crank the usage up to a max of 80% or something
Hello myselfolli, welcome to the Folding Support Forum

There is a legacy installer bug where the very first work unit only folds on 1 core of the CPU. After that one completes, all the next work use more resources.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
myselfolli
Posts: 4
Joined: Thu Mar 30, 2017 11:18 am

Re: CPU usage low (8%)

Post by myselfolli »

Thanks for the quick replies!

Here's the log file:

Code: Select all

*********************** Log Started 2017-03-30T08:51:02Z ***********************
08:51:02:************************* Folding@home Client *************************
08:51:02:    Website: http://folding.stanford.edu/
08:51:02:  Copyright: (c) 2009-2014 Stanford University
08:51:02:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:51:02:       Args: --child --lifeline 12189 /etc/fahclient/config.xml --run-as
08:51:02:             fahclient --pid-file=/var/run/fahclient.pid --daemon
08:51:02:     Config: /etc/fahclient/config.xml
08:51:02:******************************** Build ********************************
08:51:02:    Version: 7.4.4
08:51:02:       Date: Mar 4 2014
08:51:02:       Time: 12:02:38
08:51:02:    SVN Rev: 4130
08:51:02:     Branch: fah/trunk/client
08:51:02:   Compiler: GNU 4.4.7
08:51:02:    Options: -std=gnu++98 -O3 -funroll-loops -mfpmath=sse -ffast-math
08:51:02:             -fno-unsafe-math-optimizations -msse2
08:51:02:   Platform: linux2 3.2.0-1-amd64
08:51:02:       Bits: 64
08:51:02:       Mode: Release
08:51:02:******************************* System ********************************
08:51:02:        CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
08:51:02:     CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
08:51:02:       CPUs: 8
08:51:02:     Memory: 15.40GiB
08:51:02:Free Memory: 14.51GiB
08:51:02:    Threads: POSIX_THREADS
08:51:02: OS Version: 3.16
08:51:02:Has Battery: false
08:51:02: On Battery: false
08:51:02: UTC Offset: 2
08:51:02:        PID: 12191
08:51:02:        CWD: /var/lib/fahclient
08:51:02:         OS: Linux 3.16.0-4-amd64 x86_64
08:51:02:    OS Arch: AMD64
08:51:02:       GPUs: 0
08:51:02:       CUDA: Not detected
08:51:02:***********************************************************************
08:51:02:<config>
08:51:02:  <!-- Client Control -->
08:51:02:  <fold-anon v='true'/>
08:51:02:
08:51:02:  <!-- Folding Slot Configuration -->
08:51:02:  <gpu v='false'/>
08:51:02:
08:51:02:  <!-- Slot Control -->
08:51:02:  <power v='full'/>
08:51:02:
08:51:02:  <!-- User Information -->
08:51:02:  <passkey v='********************************'/>
08:51:02:  <user v='myselfolli'/>
08:51:02:
08:51:02:  <!-- Folding Slots -->
08:51:02:  <slot id='0' type='CPU'/>
08:51:02:</config>
08:51:02:Switching to user fahclient
08:51:02:Trying to access database...
08:51:02:Successfully acquired database lock
08:51:02:Enabled folding slot 00: READY cpu:8
08:51:02:WU00:FS00:Starting
08:51:02:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/fahwebx.stanford.edu/cores/Linux/AMD64/AVX/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 704 -lifeline 12191 -checkpoint 15 -np 8
08:51:02:WU00:FS00:Started FahCore on PID 12200
08:51:02:WU00:FS00:Core PID:12204
08:51:02:WU00:FS00:FahCore 0xa7 started
08:51:03:WU00:FS00:0xa7:*********************** Log Started 2017-03-30T08:51:02Z ***********************
08:51:03:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
08:51:03:WU00:FS00:0xa7:       Type: 0xa7
08:51:03:WU00:FS00:0xa7:       Core: Gromacs
08:51:03:WU00:FS00:0xa7:    Website: http://folding.stanford.edu/
08:51:03:WU00:FS00:0xa7:  Copyright: (c) 2009-2016 Stanford University
08:51:03:WU00:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:51:03:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 704 -lifeline 12200 -checkpoint 15 -np
08:51:03:WU00:FS00:0xa7:             8
08:51:03:WU00:FS00:0xa7:     Config: <none>
08:51:03:WU00:FS00:0xa7:************************************ Build *************************************
08:51:03:WU00:FS00:0xa7:    Version: 0.0.11
08:51:03:WU00:FS00:0xa7:       Date: Sep 20 2016
08:51:03:WU00:FS00:0xa7:       Time: 06:40:11
08:51:03:WU00:FS00:0xa7: Repository: Git
08:51:03:WU00:FS00:0xa7:   Revision: 957bd90e68d95ddcf1594dc15ff6c64cc4555146
08:51:03:WU00:FS00:0xa7:     Branch: master
08:51:03:WU00:FS00:0xa7:   Compiler: GNU 4.8.5
08:51:03:WU00:FS00:0xa7:    Options: -std=gnu++98 -O3 -funroll-loops -ffast-math -mfpmath=sse
08:51:03:WU00:FS00:0xa7:             -fno-unsafe-math-optimizations -msse2
08:51:03:WU00:FS00:0xa7:   Platform: linux2 4.6.0-1-amd64
08:51:03:WU00:FS00:0xa7:       Bits: 64
08:51:03:WU00:FS00:0xa7:       Mode: Release
08:51:03:WU00:FS00:0xa7:       SIMD: avx_256
08:51:03:WU00:FS00:0xa7:************************************ System ************************************
08:51:03:WU00:FS00:0xa7:        CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
08:51:03:WU00:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
08:51:03:WU00:FS00:0xa7:       CPUs: 8
08:51:03:WU00:FS00:0xa7:     Memory: 15.40GiB
08:51:03:WU00:FS00:0xa7:Free Memory: 14.51GiB
08:51:03:WU00:FS00:0xa7:    Threads: POSIX_THREADS
08:51:03:WU00:FS00:0xa7: OS Version: 3.16
08:51:03:WU00:FS00:0xa7:Has Battery: false
08:51:03:WU00:FS00:0xa7: On Battery: false
08:51:03:WU00:FS00:0xa7: UTC Offset: 2
08:51:03:WU00:FS00:0xa7:        PID: 12204
08:51:03:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
08:51:03:WU00:FS00:0xa7:         OS: Linux 3.16.0-4-amd64 x86_64
08:51:03:WU00:FS00:0xa7:    OS Arch: AMD64
08:51:03:WU00:FS00:0xa7:********************************************************************************
08:51:03:WU00:FS00:0xa7:Project: 13123 (Run 88, Clone 1, Gen 71)
08:51:03:WU00:FS00:0xa7:Unit: 0x00000050ab436c655898cac6f148ccd2
08:51:03:WU00:FS00:0xa7:Digital signatures verified
08:51:03:WU00:FS00:0xa7:Calling: mdrun -s frame71.tpr -o frame71.trr -cpi state.cpt -cpt 15 -nt 8
08:51:03:WU00:FS00:0xa7:Steps: first=14200000 total=200000
08:51:07:WU00:FS00:0xa7:Completed 160182 out of 200000 steps (80%)

...

09:20:22:WU00:FS00:0xa7:Completed 198000 out of 200000 steps (99%)
09:20:22:WU01:FS00:Connecting to 171.67.108.45:8080
09:20:23:WU01:FS00:Assigned to work server 128.252.203.4
09:20:23:WU01:FS00:Requesting new work unit for slot 00: RUNNING cpu:8 from 128.252.203.4
09:20:23:WU01:FS00:Connecting to 128.252.203.4:8080
09:20:23:WU01:FS00:Downloading 7.58MiB
09:20:24:WU01:FS00:Download complete
09:20:24:WU01:FS00:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13800 run:0 clone:532 gen:44 core:0xa7 unit:0x0000003b80fccb045873be7347dd848b
09:21:54:WU00:FS00:0xa7:Completed 200000 out of 200000 steps (100%)
09:21:56:WU00:FS00:0xa7:Saving result file ../logfile_01.txt
09:21:56:WU00:FS00:0xa7:Saving result file frame71.trr
09:21:58:WU00:FS00:0xa7:Saving result file md.log
09:21:58:WU00:FS00:0xa7:Saving result file science.log
09:21:58:WU00:FS00:0xa7:Folding@home Core Shutdown: FINISHED_UNIT
09:21:58:WU00:FS00:FahCore returned: FINISHED_UNIT (100 = 0x64)
09:21:59:WU00:FS00:Sending unit results: id:00 state:SEND error:NO_ERROR project:13123 run:88 clone:1 gen:71 core:0xa7 unit:0x00000050ab436c655898cac6f148ccd2
09:21:59:WU00:FS00:Uploading 15.48MiB to 171.67.108.101
09:21:59:WU00:FS00:Connecting to 171.67.108.101:8080
09:21:59:WU01:FS00:Starting
09:21:59:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/fahwebx.stanford.edu/cores/Linux/AMD64/AVX/Core_a7.fah/FahCore_a7 -dir 01 -suffix 01 -version 704 -lifeline 12191 -checkpoint 15 -np 8
09:21:59:WU01:FS00:Started FahCore on PID 12464
09:21:59:WU01:FS00:Core PID:12468
09:21:59:WU01:FS00:FahCore 0xa7 started
It still had some tasks running that started yesterday, which is why it "starts" at 80%
myselfolli
Posts: 4
Joined: Thu Mar 30, 2017 11:18 am

Re: CPU usage low (8%)

Post by myselfolli »

7im wrote: Hello myselfolli, welcome to the Folding Support Forum

There is a legacy installer bug where the very first work unit only folds on 1 core of the CPU. After that one completes, all the next work use more resources.
It has completed ~10 WU at this point, so sadly no
foldy
Posts: 2040
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU usage low (8%)

Post by foldy »

You are running FahCore_a7 with AVX on Linux 64bit on 4 core/8 thread CPU and all are used.

Your TPF for project 13123 is 29min / 19% = 1.5 min, so that looks good.

How do you see your CPU usage is only 8%?
myselfolli
Posts: 4
Joined: Thu Mar 30, 2017 11:18 am

Re: CPU usage low (8%)

Post by myselfolli »

My bad, it seems like I misunderstood the "top" command '-.-
foldy
Posts: 2040
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU usage low (8%)

Post by foldy »

No problem :-)
Post Reply