Switch Language
  1. PowerNukkitX
  2. Get Started
  3. Config

    1. server.properties
    2. nukkit.yml
    3. pnx-cli-config.ini
    4. Anti-xray
    5. Resource Encryption
    6. Compression Acceleration
    7. PNX with WaterDogPE
    8. Flat World
  4. FAQ

    1. To Newcomers
    2. How to use PNX-CLI
    3. Common Questions
    4. Terra Questions
    5. Spawn-point Questions
    6. Convert Worlds
  5. For Devs

    1. Java

      1. Goto JavaDoc
      2. Mod API

        1. Custom Block
        2. Custom Item
        3. Custom Entity
        4. Custom Enchantment
      3. Entity AI

        1. Behavior
        2. Memory
        3. Sensor
        4. Motion Controller
        5. Navigator
        6. Behavior Group
        7. Work Cycle
    2. JavaScript

      1. setup dev env
      2. Base LLSELib dev
      3. Hello World
      4. Basic knowledge
      5. Event Listener
      6. FAQ
    3. Resources

      1. Event List
      2. IDs(block & item)

Hardware compression acceleration

Hardware compression acceleration is an optional function provided by PNX, which can accelerate data compression by using hardware SIMD on modern CPUs.


PNX is suitable for large servers. Many PNX server carry dozens or even hundreds of player at the same time, which means that each player will generate a large amount of data. Due to the requirements of the bedrock version, these data need to be compressed before they can be sent to player.
At the same time, when player run maps, a large number of map data generated also need to be compressed and decompressed frequently.
These data that need to be compressed or decompressed will consume a lot of CPU resources. Using hardware compression and decompression acceleration can greatly improve the performance.

What CPU can enable this?

If your CPU can enable hardware accelerated compression, PNX will prompt you at startup.

When your CPU supports one or more of the following instruction sets, hardware accelerated compression can be enabled. The more instruction sets supported, the more advanced, and the greater the performance improvement:

Instruction set explain
AVX512 Intel/AMD
AVX2 Intel/AMD
SSE4.2 Intel/AMD
SSE4.1 Intel/AMD
SSE3 Intel/AMD
SSE2 Intel/AMD
SVE ARMv8.2+

How to open it?

Modify config file nukkit.yml.
Set zlib-provider in network to 3.
Here is an example:

 # ......
 zlib-provider: 3 

© PowerNukkitX Dev team