let me explain my question for help:
BLOCK QUOTED QUESTIONS ARE CLEARED UP, There still remain a few questions about overclocked values not showing up when booted into the os.
Question:
I've activated (original 0 1 2 -> 3 cores) 3-7 -> 8 cores where 4 are currently getting registered and the last 4 are not being utilized.
The CPU is an AMD Athlon II X3 450 Processor originally and when the last cores are activated in the bios it becomes an AMD Phenom(tm) II X4 B50 Processor which indicates it has X4 cores active at least instead of X3.
The bios gives me the option to activate 8 cores in total where I've set them all to "enabled".
Answer by Stephen Kitt:
I've overclocked each CPU to +10% clock speed. so it went from max 3.2Ghz to max 3.540Ghz with a baseclock of 800 Mhz (0.8 Ghz) in both cases. Only 3.200Ghz is seen by the OS, while in kern.log it shows up as 3.540 Ghz
I've not done anything with voltage configurations to the CPU.
Ram went from 2 x 4GB DDR3 1.333 GHz to roughly 1.4 GHz (This is an automated response to overclocking the CPU) but there's no indication the memory is actually overclocked when booting and being booted into the OS.
I've read through the kern.log and noted down some information while trying to minimize the length of the files. Please note that I do not know why some values are getting registered while booted into the OS it does not show up as overclocked or most important 8 vCores/Cores
I'm no hardware guy (I write quality software) so I do not know all ins and outs of building a machine. Also: I've built this machine over 4 years ago and mostly used default bios settings with windows with a +2% overclocked x3 CPU's. I recently became interested in maximizing my machine and bought an 800 Watts power supply to be able to overclock and not getting into problems with power consumption.
My system specs are as follows:
OS/Kernel:
Linux system-name 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
All non-compiled system information:
https://github.com/DoOnlineNL/sysinfo/blob/master/DevelopmentMachine/lshw.txt
All compiled system information:
https://github.com/DoOnlineNL/sysinfo/blob/master/DevelopmentMachine/sysinfo.txt
CPU's/Processor:
https://github.com/DoOnlineNL/sysinfo/blob/master/DevelopmentMachine/cpuinfo.txt
Motherboard:
ASUSTeK Computer INC. M5A78L-M/USB3
BIOS:
American Megatrends Inc 0801 11/30/2011
GPU:
NVIDIA GTX-680 2GB 4.6.0 NVIDIA 435.21
Disks:
https://github.com/DoOnlineNL/sysinfo/blob/master/DevelopmentMachine/disks.txt
Memory (MB's):
https://github.com/DoOnlineNL/sysinfo/blob/master/DevelopmentMachine/memory.txt
Answer by Stephen Kitt:
My goal is to unlock and activate up to 8 cores (I read that AMD names all threads "cores", so this should mean the other 4 "cores" should activate during hyper-threading, however, I don't know if ubuntu is able to use hyper-threaded cores by default... if you know how I could know if my other "cores" are hyper-threads let me know please), to achieve maximal gaming performance with the games I play (I have already improved from ~25 to ~45 fps with the use of steam proton and by utilizing Vulkan and other proton launch configurations in most games) for a 60 Hz refresh-rate monitor. I've configured my NVIDIA GTX 680 to be able to use its max potential and even tho I can overclock it in my bios I'm not willing to do that since my CPU is currently the bottleneck.
I'm asking for information on what I can do to be able to let my OS use all of the CPU's/threads and why it shows up as 8 cores booting the kernel but when actually booted it only uses +1 core to a total of 4 cores
why is it that the overclocked values are not seen by the OS?
I've tried many configurations in my BIOS and can not achieve what I intend to achieve while only now noticing that the OS is not utilizing my system's max potential because of the OS (that's what I think).
Feel free to ask me about system logs and configuration info while providing tips on how to acquire this system information.
Other problems (which I could fix myself probably) are that my HDaudio Nvidia HDMI controller doesn't seem to work anymore except for build-in audio, but unfortunately, I don't have any other speakers then my monitor's ones. If you notice any other wrong configured settings please tell me...
Already a lot of thanks to all of you which are willing to help!
Useful information from system/config/log files, collected by using grep and sniffing around:
Use this repo as to debug information, all files specified below are saved in this repository. (My reputation on this website limits my account from pasting more then 8 links, so this is my solution...)
https://github.com/DoOnlineNL/sysinfo/blob/master/DevelopmentMachine/
top / htop:
top.txt
and
htop.png
cat /sys/devices/system/cpu/online && ls -ld /sys/devices/system/cpu/c*:
cat.sys.devices.system.cpu.txt
cat /proc/cpuinfo:
cat.proc.cpuinfo.txt
The hyper-threading argument, debunked (Now sure we're talking about physical CPU's not being enabled).
decoded report from cpuinfo to check for hyper-threading with a script found online: (Checking if HyperThreading is enabled or not?)
This system has one physical CPU,
and 4 logical CPUs.
For every physical CPU there are 4 cores.
The CPU is a AMD Phenom(tm) II X4 B50 Processor with 512 KB cache
cat /sys/devices/system/cpu/smt/control:
notsupported
( Indicates hyper-threading is NOT SUPPORTED )
cat /sys/devices/system/cpu/smt/active:
0
( The previous statement could be right, no hyper-threading is enabled as 1 should be reported if it was enabled )
sudo dmidecode -t processor:
dmidecode.processor.txt
( thread and CPU-count are both the same indicating previous statements are correct... No Hyper/Multi-threaded cores )
The twist...
sudo dmidecode -t processor | grep HTT:
HTT (Multi-threading)
(Flags say hyper-threading is actually SUPPORTED by the CPU )
lcpu:
lcpu.txt
( the flags (again) show 'ht', meaning hyper-threading is SUPPORTED )
Checking online and offline CPU's because I originally thought that hyper-threading wasn't for AMD Processors, meaning that the BIOS would not have listed 8 cores total to be enabled...
cat /sys/devices/system/cpu/online && cat /sys/devices/system/cpu/offline:
online: 0-3
offline: 4-7
notice that as I expected... 4-7 are offline and are not utilized by the system, now is the next question: how do we enable/set the last 4 CPU's to be online?
Log Information:
cat /var/log/kern.log > kern.log.txt:
cat.kern.log.txt
cat /var/log/kern.log | grep NUMA:
cat.kernel.log.numa.txt
cat /var/log/kern.log | grep smp:
cat.kernel.log.smb.txt
cat /var/log/syslog | grep -i smb:
Result: Binary file (standard input) matches
lsb_release -a:
lsb_release.txt
collected: ACPI Warnings and cpufreq overiding BIOS (thinking that this might be useful):
kernel.log.acpi.txt
collected: Microcode and CPU activity registering (thinking that this might be useful):
kernel.log.microcode.txt
collected: Processor Information and proof of overclocking to 3520 MHz where only 3200 Mhz is getting registered by linux:
kernel.log.overclock-proof.txt
collected: MTRR information and BIOS miscommunication to motherboard, 4 of 8 cores enabled eventually:
kernel.log.mtrr.0-7isX8.txt
Kernel activated the 4th core, while BIOS only activated first 3 cores, 4 more to go...
kernel.log.acpi-pci-line21.txt
collected: ACPI information, more ACPI information on previous file:
kernel.log.acpi2.txt
collected: More (useful) info and again some PCI information:
kernel.log.extra-info.txt
Thanks to: Stephen Kitt for clearing my question about not being able to activate 4 more cores of the CPU.