Answer the question
In order to leave comments, you need to log in
Why does the php binary use only 1 cpu core?
Hello, I own several Minecraft servers. The game core that I use is written in php. A long time ago I ran into a performance problem. For one directory, as I was told, the binary allocates only one processor core. Because of this, you have to create locations with different ports. How to use the full capacity of the equipment? PHP 7.0.1 binary
Answer the question
In order to leave comments, you need to log in
Only by rewriting the script so that it spawns child processes by the number of cores or even more, and parallelizes its tasks between them. This cannot be done by external means.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question