添加Memcached支持后,以250并发对Carbon Forum首页进行压力测试
By
lincanbin
at 2015-03-27 • 0人收藏 • 2538人看过
250并发,已完成请求8320个,此时服务器负载情况:
在0.10到0.15间波动,服务器是DigitalOcean的$5/Month VPS
top - 08:27:17 up 110 days, 6:36, 1 user, load average: 0.14, 0.15, 0.10 Tasks: 84 total, 1 running, 83 sleeping, 0 stopped, 0 zombie Cpu(s): 1.7%us, 0.7%sy, 0.0%ni, 97.3%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st Mem: 510884k total, 504052k used, 6832k free, 2464k buffers Swap: 0k total, 0k used, 0k free, 266372k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3203 www 20 0 97180 13m 4380 S 0.3 2.7 0:18.95 httpd 3259 www 20 0 8880 2828 716 S 0.3 0.6 0:19.31 nginx 3260 www 20 0 8916 2928 716 S 0.3 0.6 0:20.02 nginx 3261 www 20 0 8848 2856 716 S 0.3 0.6 0:20.74 nginx 14234 mysql 20 0 432m 145m 2836 S 0.3 29.1 231:01.14 mysqld 1 root 20 0 2896 416 220 S 0.0 0.1 1:31.44 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0.0 0.0 0:52.46 ksoftirqd/0 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 6 root RT 0 0 0 0 S 0.0 0.0 1:03.32 watchdog/0 7 root 20 0 0 0 0 S 0.0 0.0 10:16.35 events/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm 13 root 20 0 0 0 0 S 0.0 0.0 0:43.89 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:45.69 bdi-default 15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0 16 root 20 0 0 0 0 S 0.0 0.0 179:26.92 kblockd/0 17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid
5 个回复 | 最后更新于 2015-04-06
登录后方可回帖
并发执行结果