F@H not using all available cores

Moderators: Site Moderators, FAHC Science Team

Post Reply
AJMSmith
Posts: 62
Joined: Tue Jul 01, 2008 1:17 am
Location: Greater London, UK

F@H not using all available cores

Post by AJMSmith »

Code: Select all

19:20:00:Saving configuration to config.xml
19:20:00:<config>
19:20:00:  <!-- HTTP Server -->
19:20:00:  <allow v='192.168.1.0/24,127.0.0.1'/>
19:20:00:
19:20:00:  <!-- Network -->
19:20:00:  <proxy v=':8080'/>
19:20:00:
19:20:00:  <!-- Remote Command Server -->
19:20:00:  <command-allow-no-pass v='192.168.0.0/20,127.0.0.1'/>
19:20:00:  <password v='*****'/>
19:20:00:
19:20:00:  <!-- Slot Control -->
19:20:00:  <power v='full'/>
19:20:00:
19:20:00:  <!-- User Information -->
19:20:00:  <passkey v='*****'/>
19:20:00:  <team v='35947'/>
19:20:00:  <user v='Allan_Smith'/>
19:20:00:
19:20:00:  <!-- Folding Slots -->
19:20:00:  <slot id='0' type='CPU'>
19:20:00:    <cpus v='16'/>
19:20:00:    <paused v='False'/>
19:20:00:  </slot>
19:20:00:  <slot id='1' type='GPU'>
19:20:00:    <pci-bus v='1'/>
19:20:00:    <pci-slot v='0'/>
19:20:00:  </slot>
19:20:00:</config>
19:20:00:FS00:Shutting core down
19:20:00:WU02:FS00:0xa8:WARNING:Console control signal 1 on PID 21216
19:20:00:WU02:FS00:0xa8:Exiting, please wait. . .
19:20:01:WU02:FS00:FahCore returned: INTERRUPTED (102 = 0x66)
19:20:01:WU02:FS00:Starting
19:20:01:WARNING:WU02:FS00:Changed SMP threads from 19 to 16 this can cause some work units to fail
19:20:02:WARNING:WU02:FS00:AS lowered CPUs from 16 to 14
19:20:02:WU02:FS00:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\ProgramData\FAHClient\cores/cores.foldingathome.org/win/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8.exe -dir 02 -suffix 01 -version 706 -lifeline 15196 -checkpoint 15 -np 14
19:20:02:WU02:FS00:Started FahCore on PID 17476
19:20:02:WU02:FS00:Core PID:20848
19:20:02:WU02:FS00:FahCore 0xa8 started
19:20:02:WU02:FS00:0xa8:*********************** Log Started 2023-06-17T19:20:02Z ***********************
19:20:02:WU02:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
19:20:02:WU02:FS00:0xa8:       Core: Gromacs
19:20:02:WU02:FS00:0xa8:       Type: 0xa8
19:20:02:WU02:FS00:0xa8:    Version: 0.0.12
19:20:02:WU02:FS00:0xa8:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
19:20:02:WU02:FS00:0xa8:  Copyright: 2020 foldingathome.org
19:20:02:WU02:FS00:0xa8:   Homepage: https://foldingathome.org/
19:20:02:WU02:FS00:0xa8:       Date: Jan 16 2021
19:20:02:WU02:FS00:0xa8:       Time: 12:29:40
19:20:02:WU02:FS00:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
19:20:02:WU02:FS00:0xa8:     Branch: master
19:20:02:WU02:FS00:0xa8:   Compiler: Visual C++ 2019 16.7
19:20:02:WU02:FS00:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
19:20:02:WU02:FS00:0xa8:   Platform: win32 10
19:20:02:WU02:FS00:0xa8:       Bits: 64
19:20:02:WU02:FS00:0xa8:       Mode: Release
19:20:02:WU02:FS00:0xa8:       SIMD: avx2_256
19:20:02:WU02:FS00:0xa8:     OpenMP: ON
19:20:02:WU02:FS00:0xa8:       CUDA: OFF
19:20:02:WU02:FS00:0xa8:       Args: -dir 02 -suffix 01 -version 706 -lifeline 17476 -checkpoint 15 -np
19:20:02:WU02:FS00:0xa8:             14
19:20:02:WU02:FS00:0xa8:************************************ libFAH ************************************
19:20:02:WU02:FS00:0xa8:       Date: Jan 16 2021
19:20:02:WU02:FS00:0xa8:       Time: 11:24:13
19:20:02:WU02:FS00:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
19:20:02:WU02:FS00:0xa8:     Branch: master
19:20:02:WU02:FS00:0xa8:   Compiler: Visual C++ 2019 16.7
19:20:02:WU02:FS00:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
19:20:02:WU02:FS00:0xa8:   Platform: win32 10
19:20:02:WU02:FS00:0xa8:       Bits: 64
19:20:02:WU02:FS00:0xa8:       Mode: Release
19:20:02:WU02:FS00:0xa8:************************************ CBang *************************************
19:20:02:WU02:FS00:0xa8:       Date: Jan 16 2021
19:20:02:WU02:FS00:0xa8:       Time: 11:23:53
19:20:02:WU02:FS00:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
19:20:02:WU02:FS00:0xa8:     Branch: master
19:20:02:WU02:FS00:0xa8:   Compiler: Visual C++ 2019 16.7
19:20:02:WU02:FS00:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
19:20:02:WU02:FS00:0xa8:   Platform: win32 10
19:20:02:WU02:FS00:0xa8:       Bits: 64
19:20:02:WU02:FS00:0xa8:       Mode: Release
19:20:02:WU02:FS00:0xa8:************************************ System ************************************
19:20:02:WU02:FS00:0xa8:        CPU: 12th Gen Intel(R) Core(TM) i9-12900HK
19:20:02:WU02:FS00:0xa8:     CPU ID: GenuineIntel Family 6 Model 154 Stepping 3
19:20:02:WU02:FS00:0xa8:       CPUs: 20
19:20:02:WU02:FS00:0xa8:     Memory: 31.71GiB
19:20:02:WU02:FS00:0xa8:Free Memory: 21.59GiB
19:20:02:WU02:FS00:0xa8:    Threads: WINDOWS_THREADS
19:20:02:WU02:FS00:0xa8: OS Version: 6.2
19:20:02:WU02:FS00:0xa8:Has Battery: true
19:20:02:WU02:FS00:0xa8: On Battery: false
19:20:02:WU02:FS00:0xa8: UTC Offset: 1
19:20:02:WU02:FS00:0xa8:        PID: 20848
19:20:02:WU02:FS00:0xa8:        CWD: C:\ProgramData\FAHClient\work
19:20:02:WU02:FS00:0xa8:********************************************************************************
19:20:02:WU02:FS00:0xa8:Project: 12415 (Run 71, Clone 0, Gen 4)
19:20:02:WU02:FS00:0xa8:Unit: 0x00000000000000000000000000000000
19:20:02:WU02:FS00:0xa8:Digital signatures verified
19:20:02:WU02:FS00:0xa8:Calling: mdrun -c frame4.gro -s frame4.tpr -x frame4.xtc -cpi state.cpt -cpt 15 -nt 14 -ntmpi 1
19:20:02:WU02:FS00:0xa8:Steps: first=20000000 total=25000000
19:20:06:WU02:FS00:0xa8:Completed 202125 out of 5000000 steps (4%)
19:20:54:Removing old file 'configs/config-20230607-092604.xml'
19:20:54:Saving configuration to config.xml
19:20:54:<config>
19:20:54:  <!-- HTTP Server -->
19:20:54:  <allow v='192.168.1.0/24,127.0.0.1'/>
19:20:54:
19:20:54:  <!-- Network -->
19:20:54:  <proxy v=':8080'/>
19:20:54:
19:20:54:  <!-- Remote Command Server -->
19:20:54:  <command-allow-no-pass v='192.168.0.0/20,127.0.0.1'/>
19:20:54:  <password v='*****'/>
19:20:54:
19:20:54:  <!-- Slot Control -->
19:20:54:  <power v='full'/>
19:20:54:
19:20:54:  <!-- User Information -->
19:20:54:  <passkey v='*****'/>
19:20:54:  <team v='35947'/>
19:20:54:  <user v='Allan_Smith'/>
19:20:54:
19:20:54:  <!-- Folding Slots -->
19:20:54:  <slot id='0' type='CPU'>
19:20:54:    <cpus v='16'/>
19:20:54:    <paused v='False'/>
19:20:54:  </slot>
19:20:54:  <slot id='1' type='GPU'>
19:20:54:    <pci-bus v='1'/>
19:20:54:    <pci-slot v='0'/>
19:20:54:  </slot>
19:20:54:</config>
19:21:36:WU01:FS01:0x22:Completed 60000 out of 1000000 steps (6%)
Despite this only 8 cores appear to be in use (12 out of 20 cores at virtually no use, 8 at 100%).

How do I force optimal core usage? (setting cores used to -1 does not work).
Last edited by Joe_H on Sat Jun 17, 2023 11:57 pm, edited 1 time in total.
Reason: change Quote tags to Code
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: F@H not using all available cores

Post by bikeaddict »

For big.LITTLE processors like the i9-12900HK with 6 performance cores, you should set it manually to 12 threads and then use a tool like Process Lasso to set affinity so FahCore_a7 and FahCore_a8 only run on the performance cores. The way GROMACS works is the threads only run as fast as the slowest one. If any thread runs on an efficiency core, they are all throttled down to that speed.
Post Reply