Question

I can't get to the perfect speed

Posted September 23, 2020 260 views
CentOS

Hi friends,

Some months ago I got a new server. This server is same that other which have other people.

-Same server with same hardware
-I have the same softwares: CloudLinux, cPanel, LiteSpeed and MariaDB
-I created the same plans in cPanel and asigned the same resources in LVE Manager
-This is a new server, I only created one cPanel account for do tests with the benchmark

I used this benchmark: https://github.com/vanilla-php/benchmark-php

1- My server benchmark’s result: https://ibb.co/K7WM9JF
2- The other server benchmark’s result: https://ibb.co/6W52HGr

Is frustrating, I tested with other benchmarks and have similar results.

Why “Math” operations are many slow in my server?, this is the main problem. Anybody have any idea for optimize more things?.

If I remove the “Math” operations in benchmark, still have worst speed in the other operations:

1- My server benchmark’s result: https://ibb.co/5rJ84rX
2- The other server benchmark’s result: https://ibb.co/7G8wKQL

Thank you very much. Have a nice day.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

I found the problem. Thank you, have a nice day.

Hello,

You can also make sure you’re using the mod mpmevent or the mpmworker as they support multiple threads which will improve the performance of your server.

The MPM Event serves a single HTTP request across multiple threads. However, the MPM Event uses a dedication system and dedicates a thread to handle all live connections. The system allocates a request to the child threads only when it receives a request. This allows the threads instant availability after the request finishes.

The MPM Worker causes Apache to fork into several processes so that a single crash does not kill the entire Apache process. Each forked process creates numerous threads, and a listener thread that listens for connections. This enables the system to serve multiple requests concurrently.

Hope that this helps!
Regards,
Alex