Performance comparison of PHP three accelerators

Source: Internet
Author: User
Tags apc e5620
Performance comparison of PHP three accelerators

Hardware environment:

Server: Dl180g6 (Intel (R) Xeon (r) CPU E5620 @2.40ghz) 16G memory

Presses: Dl180g6 (Intel (R) Xeon (r) CPU E5620 @ 2.40GHz) 16G memory

Software Environment:

nginx1.2.5php5.4.9 Max 600PHP-FPM

network environment: Gigabit

Test scenario:

Scenario One: (without any extensions):

Scenario Two: (Open APC 3.1.14, allocate cache 512M):

Scenario Three: (Open XCache 3.0.1, allocate cache 512M):

Scenario Four: (Eaccelerator 1.0-dev, allocation cache 32M): because the failed to setthe 1.15m, the test page generates a cache that is less significant.

The above four scenarios, the same number of concurrent users 20 (is the best number of users), access to the same URL (http://playback.i.ifeng.com/hehe.pi?vt=5), each scene runs for 5 minutes, Compare the performance of three kinds of PHP caches under the same pressure.

Test results:

Extended

CPU (Us/sy)

Load Average

Response Time (s)

qps/s

None

67%,26%

12

0.18

108

XCache

56%,34%

15

0.16

120

Eaccelerator

64%,27%

15

0.13

150

Apc

60%,30%

13

0.11

170

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.