Ask / Submit
4

htop on xa2 shows only 2 cpus

asked 2018-11-15 15:37:48 +0200

jollajo gravatar image

updated 2018-11-15 15:49:15 +0200

jiit gravatar image

Just installed htop and to my surprise it shows only 2 cpus. In sysfs I find quite a few references to cpu0..cpu7 so they're all there, no clue why htop doesn't find them. Well in /sys/firmware/devicetree/base/cpus/cpu-map/ there's cluster0 and cluster1 with 4 cores each, so maybe htop only shows the clusters.

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
2

answered 2018-11-16 13:22:34 +0200

lethe gravatar image

SailfishOS activates/deactivates cores on demand. htop does not seem to notice and only shows cores, that were active when it was started. You can check with lscpu which cores are online.

edit flag offensive delete publish link more

Comments

Interesting! Maybe this is due to the newer kernel providing better CPU scheduling and power management and we can expect the same on the X as well once its kernel is updated ?

MartinK ( 2018-11-17 22:56:33 +0200 )edit
2

answered 2018-11-16 20:24:34 +0200

xneo gravatar image

Just have a look in the Jolla store. There is an App that is called AIDA64. This App is showing 8 CPUs on my XA2 Plus. One thing I mentioned was that none of the cores went to sleep with no Apps open and no Sim card installed.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2018-11-15 15:37:48 +0200

Seen: 424 times

Last updated: Nov 16