Upper limit for async-workers: auto
#6213
Labels
Category: Core
Related to internal functionality
Category: UI
Related to the user interface (e.g. commands, terminal output)
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
Description
When set to
auto
, the server will permit as many workers to run as there are CPU cores. This is counterproductive on server machines with many cores (e.g. more than 8), as PM will rarely make effective use of more than a handful of them.In addition, each extra thread costs at least 1 MB of RAM, as well as wasting several MB of /tmp because of ext-phar wasteful caching.
A max of 8 should be sufficient. If users want more than 8 workers, they can set the value manually themselves.
The text was updated successfully, but these errors were encountered: