Andy's Blog » » CentOS 32bit VS CentOS 64bit Benchmark

CentOS 32bit VS CentOS 64bit Benchmark

今天特意装了 CentOS 5.4 的 32bit 和 64bit 来做性能测试
32bit 占用内存较少没错,但当并发访问量很大的时候,64bit的优势就出来了
以下还是测试 phpinfo() 用数据说话
没时间搞更详细的测试,有空再弄吧

CentOS 32bit

webbench -c 1000 -t 30 http://localhost/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://localhost/
1000 clients, running 30 sec.

Speed=94330 pages/min, 9278104 bytes/sec.
Requests: 47165 susceed, 0 failed.

webbench -c 5000 -t 20 http://localhost/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://localhost/
5000 clients, running 20 sec.

Speed=673560 pages/min, 65174897 bytes/sec.
Requests: 224520 susceed, 0 failed.


CentOS 64bit

webbench -c 1000 -t 30 http://localhost/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://localhost/
1000 clients, running 30 sec.

Speed=323144 pages/min, 20637572 bytes/sec.
Requests: 161572 susceed, 0 failed.

# webbench -c 5000 -t 20 http://localhost/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://localhost/
5000 clients, running 20 sec.

Speed=2562165 pages/min, -52276136 bytes/sec.
Requests: 854055 susceed, 0 failed.


Incoming search terms:

Tags: centos, 32bit, 64bit, 性能, Benchmark, 性能测试

本文地址: http://www.21andy.com/new/20100227/1719.html

1 评论 to “PHP开源CMS之MODx”

  1. kisswen 于 2010-04-05 12:19:15 发表:

    一看你敢-c 5000 就知道你用的nginx+spawn-fcgi 或php-fpm