Use Webbench to stress test different Web servers

Source: Internet
Author: User

1, Webbench under Linux installation steps, if the installation process fails, check the current user's execution permissions, if the report cannot find a directory error, please create the specified directory yourself:

#wget Http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz#tar zxvf WEBBENCH-1.5.TAR.GZ#CD webbench-1.5# Make && make install

2. Execute command after installation,-C indicates the number of HTTP concurrent connections,-T indicates how many seconds to test, default is 30 seconds:

# webbench-c 200-t http://www.qq.com/index.html

3. As a result, pages/min represents the number of pages output per minute, Bytes/sec represents the number of bytes transferred per second, requests: number of requests successfully processed, failed: number of failed requests.

Webbench-simple Web Benchmark 1.5Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.Benchmarking:GET/http LOCALHOST:8280/MYPROJ/PLATFORM/MAINPAGE/LOGIN.HTM10 clients, running Sec. speed=3204 pages/min, 682028 bytes/sec. requests:534 susceed, 0 failed.

4, check the load of the Linux server, load average: 3 values for 1 minutes, 5 minutes, 15 minutes of the system load situation, generally do not exceed the core number of the system CPU

[[Email protected] Desktop]# toptop-14:07:41 up 1 day,  7:03,  5 users,  load average:0.05, 0.05, 0.33tasks:186 to Tal,   1 running, 185 sleeping,   0 stopped,   0 zombiecpu (s):  4.6%us,  1.0%sy,  0.0%ni, 94.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%stmem:    752992k Total,   694472k used,    58520k free,     8324k Buffersswap:  1572856k Total,   372288k used,  1200568k free,    78052k Cached

5. Summary:

If your Web server tests more processing requests and the system is low on load, it proves that the architecture environment in which the application server is located can carry higher concurrent traffic.

Use Webbench to stress test different Web servers

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.