Answer the question
In order to leave comments, you need to log in
Why are only 12 processors out of 24 loaded?
There are 24 processors on the server, but only 12 of them are used.
The uwsgi lists 48 processes, no threads are used.
Config for UWSGI - myproject.ini
[uwsgi]
plugins=python3
virtualenv=/home/myproject
module=project.wsgi
callable=application
pythonpath=/home/myproject
chdir=/home/myproject
processes=48
Answer the question
In order to leave comments, you need to log in
And this is not aix for an hour?
They do it this way: The
processor is divided into cores The cores are divided into
threads (it's like hyper trading there, such vCPUs)
So, the first vCPU on each core is loaded there first. When the first one is 80% loaded, the second one starts loading, and so on.
If you have a virtual machine, then it's just the hoster that blocked some of the cores for you. Well, or you just configured your virtual machine incorrectly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question