Interpreting Htop output

Shmu26

Member
Credits
405
I have an 8-core processor.
Htop shows that VirtualBox (the top entry) is using 72% of a core.
The virtual machine is assigned 2 cores.
Logic dictates that I should see two cores with a combined usage adding up to 72% or more. But I don't see anything close to that. Where am I going wrong?
Code:
inxi -F
System:    Host: shmuel-ubuntu Kernel: 5.8.0-44-generic x86_64 bits: 64
           Desktop: KDE Plasma 5.19.5 Distro: Ubuntu 20.10 (Groovy Gorilla)
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME B365M-A v: Rev X.0x
           serial: <superuser/root required> UEFI: American Megatrends v: 1203
           date: 10/10/2019
CPU:       Info: 8-Core model: Intel Core i7-9700 bits: 64 type: MCP L2 cache: 12.0 MiB
           Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 800 3: 800
           4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
           Device-2: IMC Networks XHC Camera type: USB driver: uvcvideo
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
           resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.6
Audio:     Device-1: Intel 200 Series PCH HD Audio driver: snd_hda_intel
           Device-2: JMTek LLC. type: USB driver: hid-generic,snd-usb-audio,usbhid
           Sound Server: ALSA v: k5.8.0-44-generic
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
           driver: r8169
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: a8:5e:45:e2:87:3c
Drives:    Local Storage: total: 2.26 TiB used: 693.46 GiB (30.0%)
           ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
           ID-2: /dev/sdb vendor: Toshiba model: HDWD120 size: 1.82 TiB
Partition: ID-1: / size: 139.05 GiB used: 36.85 GiB (26.5%) fs: ext4 dev: /dev/sda6
Swap:      ID-1: swap-1 type: file size: 8.00 GiB used: 98.0 MiB (1.2%) file: /swapfile
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C
           Fan Speeds (RPM): N/A
Info:      Processes: 357 Uptime: 9h 09m Memory: 15.50 GiB used: 8.69 GiB (56.1%)
           Shell: Bash inxi: 3.1.07
 

Attachments

Last edited:


Shmu26

Member
Credits
405
Maybe the answer is in the process threads. When I expanded the threads I saw there are actually two of them.
Perhaps one is VirtualBox itself, which spreads out over several cores, and the other is the virtual machine.
 

Attachments

$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Top