- 论坛徽章:
- 0
|
- duriantang@durianth:/usr/local/httpd$ ./bin/ab -c 200 -n 40000 http://localhost/~duriantang/index.php
- This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
- Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
- Copyright 1997-2005 The Apache Software Foundation, http://www.apache.org/
- Benchmarking localhost (be patient)
- Completed 4000 requests
- Completed 8000 requests
- Completed 12000 requests
- Completed 16000 requests
- Completed 20000 requests
- Completed 24000 requests
- Completed 28000 requests
- Completed 32000 requests
- Completed 36000 requests
- Finished 40000 requests
- Server Software: Apache/2.2.0
- Server Hostname: localhost
- Server Port: 80
- Document Path: /~duriantang/index.php
- Document Length: 35443 bytes
- Concurrency Level: 200
- Time taken for tests: 126.946450 seconds
- Complete requests: 40000
- Failed requests: 0
- Write errors: 0
- Total transferred: 1425989136 bytes
- HTML transferred: 1419421264 bytes
- Requests per second: 315.09 [#/sec] (mean)
- Time per request: 634.732 [ms] (mean)
- Time per request: 3.174 [ms] (mean, across all concurrent requests)
- Transfer rate: 10969.72 [Kbytes/sec] received
- Connection Times (ms)
- min mean[+/-sd] median max
- Connect: 0 72 71.5 60 3190
- Processing: 158 558 72.9 557 1124
- Waiting: 7 186 104.5 156 982
- Total: 159 630 115.4 624 3789
- Percentage of the requests served within a certain time (ms)
- 50% 624
- 66% 667
- 75% 695
- 80% 713
- 90% 763
- 95% 806
- 98% 866
- 99% 933
- 100% 3789 (longest request)
复制代码
具体不知道看哪项
服务器的配置是
CPU- duriantang@durianth:/usr/local/httpd$ cat /proc/cpuinfo
- processor : 0
- vendor_id : GenuineIntel
- cpu family : 15
- model : 4
- model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
- stepping : 8
- cpu MHz : 2792.419
- cache size : 1024 KB
- fdiv_bug : no
- hlt_bug : no
- f00f_bug : no
- coma_bug : no
- fpu : yes
- fpu_exception : yes
- cpuid level : 3
- wp : yes
- flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht pni ds_cpl cx16
- bogomips : 5626.07
复制代码
MEM- duriantang@durianth:/usr/local/httpd$ cat /proc/meminfo
- MemTotal: 192424 kB
- MemFree: 72716 kB
- Buffers: 20460 kB
- Cached: 36080 kB
- SwapCached: 0 kB
- Active: 60224 kB
- Inactive: 44320 kB
- HighTotal: 0 kB
- HighFree: 0 kB
- LowTotal: 192424 kB
- LowFree: 72716 kB
- SwapTotal: 248996 kB
- SwapFree: 248996 kB
- Dirty: 4 kB
- Writeback: 0 kB
- Mapped: 57064 kB
- Slab: 11132 kB
- CommitLimit: 345208 kB
- Committed_AS: 753160 kB
- PageTables: 664 kB
- VmallocTotal: 843496 kB
- VmallocUsed: 2928 kB
- VmallocChunk: 840568 kB
复制代码
[ 本帖最后由 duriantang 于 2006-1-5 19:20 编辑 ] |
|