I
I
Inter Carpenter2016-07-30 12:19:34
Yii
Inter Carpenter, 2016-07-30 12:19:34

Why is php running slowly on a dedicated server?

Hello.
A script was written on Yii framework v1
On a local machine it works in 0.09s
On a VPS it works in 0.1 seconds
And on a dedicated server where the script should work in 0.33 seconds
VPS and a dedicated server are set from 0 on Debian 8 under ISPmanager 5
PHP configs 1v1, extra no processes running APC
and memcache installed (local file cache ) ? I am attaching the logs PHPINFO from Dedic: fracton.rgho.st/7rFVT5Tjp Locale: VPS: Dedic:
22a82d8c15d13c94e5063520397427f6.png
d23eca434d94da00098600621b73dc52.png
59b7db1d44a067473c40fd042cdbdb77.png

Answer the question

In order to leave comments, you need to log in

6 answer(s)
F
Fixid, 2016-07-30
@Fixid

Intel Atom :)
From personal experience, it's impossible to host on atom, permanent brakes. Partially solved by disabling power saving through the BIOS.
And you are comparing a top 6-core server processor and a household 2-core Atom

D
Dmitry Entelis, 2016-07-30
@DmitriyEntelis

Dedic: Intel Atom CPU C2350 1.74GHz X 2/ 4Gb RAM /120Gb SSD
Where do you find this ...
On the cheapest trash in hetzner, less than 32gb does not happen.

D
Dmitry Skogorev, 2016-07-30
@EnterSandman

They wanted to save money and bought an atom. receive

L
lolhunter, 2016-07-31
@lolhunter

The performance of 1 E5 - 2630 core is 6 times faster than your atom. The atom has 2 cores, total performance drop by at least 3 times. This is where you actually got it. I can only say that your VPS will not oversell)

L
Lindon_cano, 2016-07-30
@Lindon_cano

How and through what is php provided?
What is being used as a web server?
We are invited to read the output of phpinfo through telepathy?

D
Dmitry BPW, 2016-08-05
@Dmitry_BPW

If Dedik, then the Xeon processor is best. It was originally developed for the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question