Cobra Forum

Linux Community Discussions => Mobile Technology Discussions => Topic started by: mahesh on Nov 10, 2023, 05:13 AM

Title: No multithreading on ARM CPU (python, tar..)
Post by: mahesh on Nov 10, 2023, 05:13 AM
Hello, i am running Ubuntu 16.04.

[system] Platform: linux
[system] Arch: arm
[system] OS Release: 4.9.160-armada375
[system] CPU: ARMv7 Processor rev 1 (v7l)
[system] CPU Logic cores: 2
[system] Total memory: 2019.60 MB

I am using htop and top to monitor CPU usage of the running processes.

I see that my python script is utiliting like around 100% of the CPU. htop visualize only one thread fully utilized and other only sporadically utilized (probably by other processes).
Same for tar (tr -czf) it also used only one CPU thread. I have not tested any other utilities.

Please what i should try to change so processes utilizing multiple CPU threads? Thank you in advance.