[英]Benchmarking Apache using Specweb 2009
I am bench marking Apache 2.2
performance using Specweb2009
specifically by using the support
workload. 我正在使用
Specweb2009
专门通过support
工作量来Specweb2009
Apache 2.2
性能。 I want to load the server so as to make it execute at high CPU load. 我想加载服务器,以使其在高CPU负载下执行。
The issue is when I run the test using 10 Apache server processes and 25 load clients the test fails with the errors like HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1 SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed. Connection: [ERROR] Bad status: 404
问题是,当我使用10个Apache服务器进程和25个负载客户端运行测试时,测试失败,并显示诸如
HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1 SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed. Connection: [ERROR] Bad status: 404
之类的错误HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1 SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed. Connection: [ERROR] Bad status: 404
HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1 SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed. Connection: [ERROR] Bad status: 404
HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1 SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed. Connection: [ERROR] Bad status: 404
and still the CPU usage for the Apache
processes reaches maximum of 0.7 %
. HTTPRequestSched: [ERROR] Bad response (-1). Request was GET /support/downloads/dir0000000019/download5_0 HTTP/1.1 SPECweb_Support: [ERROR] STATE 6; makeHttpRequest() failed. Connection: [ERROR] Bad status: 404
, Apache
进程的CPU使用率仍然达到0.7 %
最大值。
On the other hand if I use more Apache
processes like 20 and client load processes 25 my test passes the QOS
without nay errors but the CPU %
for Apache
still only touches maximum of 0.7%
. 另一方面,如果我使用更多的
Apache
进程(例如20)和客户端加载进程25,则我的测试通过了QOS
而没有nay错误,但是Apache
的CPU %
仍然仅达到0.7%
最大值。
My understanding is that in the first case Apache
processes are loaded heavily so they are not able to send the responses but in that case they should show high CPU
utilization but they are not. 我的理解是,在第一种情况下,
Apache
进程负载很重,因此它们无法发送响应,但在那种情况下,它们应显示出很高的CPU
利用率,但事实并非如此。
Am I missing something in the config files? 我在配置文件中缺少什么吗?
I will really appreciate if any one can suggest any good links or just suggest some config changes to rectify the issue. 如果有人可以提出任何良好的链接,或者只是提出一些配置更改来纠正此问题,我将不胜感激。
Some of my config files are: 我的一些配置文件是:
httpd-mpm.conf 的httpd-mpm.conf
SPECweb_Support.config SPECweb_Support.config
Thanks 谢谢
You do know that SpecWeb2009 is retired now? 您知道SpecWeb2009现在已经退休了吗?
Having said that, the last time I set up for this was a few years ago, and from what I remember, to get it working, you had to follow the recommended steps carefully (verifying as you go along). 话虽如此,我上一次为此设置的时间是几年前,并且据我所知,要使其正常工作,您必须仔细遵循建议的步骤(在进行过程中进行验证)。 In particular, you need to setup for an entire Specweb suite test, else it's pointless and you might as well use apache bench or something else.
特别是,您需要为整个Specweb套件测试进行设置,否则就没有意义,您不妨使用apache bench或其他工具。
In terms of documentation/guidelines, I found that looking through reports worked best in showing how the various elements were setup. 在文档/指南方面,我发现浏览报告最能显示各种元素的设置方式。 This is a typical report , scroll down and read the Notes (HTTP Software Notes).
这是典型的报告 ,向下滚动并阅读说明(HTTP软件说明)。 That was an IBM originated report, and they discuss a little bit how they configured for apache in this PDF report (see around page-14 forwards).
那是一份IBM出品的报告,他们讨论了如何在此PDF报告中为Apache配置(请参见第14页前后的内容)。
So, on the whole, I would say: 因此,总的来说,我会说:
Some documentation links: 一些文档链接:
Hope you find this useful .. 希望你觉得这个有用 ..
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.