Apacheのベンチマークテスト
の編集
https://yassu.jp/pukiwiki/index.php?Apache%A4%CE%A5%D9%A5%F3%A5%C1%A5%DE%A1%BC%A5%AF%A5%C6%A5%B9%A5%C8
[
トップ
] [
編集
|
差分
|
履歴
|
添付
|
リロード
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
(no template pages)
Apache付属のab(Apache Bench)を使用 **基本的な使い方 [#x3bd77a2] |オプション|説明| |-c|同時接続数| |-n|全リクエスト数| /usr/local/apache2/bin/ab -c 10 -n 100 http://192.168.1.2/ http://192.168.1.2/ に対して同時接続数10で合計100リクエスト発生させるということ abを動かすサーバとリクエスト先のサーバは別である方が望ましい **結果の見方 [#qfa4a42a] Benchmarking 192.168.1.2 (be patient).....done Server Software: Apache Server Hostname: 192.168.1.2 Server Port: 80 Document Path: / Document Length: 7319 bytes Concurrency Level: 10 Time taken for tests: 47.389670 seconds Complete requests: 100 Failed requests: 60 (Connect: 0, Length: 60, Exceptions: 0) Write errors: 0 Total transferred: 743952 bytes HTML transferred: 731890 bytes Requests per second: 2.11 [#/sec] (mean) Time per request: 4738.967 [ms] (mean) Time per request: 473.897 [ms] (mean, across all concurrent requests) Transfer rate: 15.32 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.5 0 1 Processing: 1096 4689 1389.5 4666 7718 Waiting: 1091 4519 1301.2 4542 7582 Total: 1096 4690 1389.5 4666 7718 Percentage of the requests served within a certain time (ms) 50% 4666 66% 4967 75% 5650 80% 5946 90% 6614 95% 7286 98% 7587 99% 7718 100% 7718 (longest request) |Concurrency Level|同時接続数| |Time taken for tests|完了までの時間| |Complete requests|総リクエスト数| |Failed requests|失敗したリクエスト数| |Requests per second|1秒あたりのリクエスト数| |Time per request|1リクエストあたりの所要時間| |Transfer rate|1秒あたりの受信容量|
タイムスタンプを変更しない
Apache付属のab(Apache Bench)を使用 **基本的な使い方 [#x3bd77a2] |オプション|説明| |-c|同時接続数| |-n|全リクエスト数| /usr/local/apache2/bin/ab -c 10 -n 100 http://192.168.1.2/ http://192.168.1.2/ に対して同時接続数10で合計100リクエスト発生させるということ abを動かすサーバとリクエスト先のサーバは別である方が望ましい **結果の見方 [#qfa4a42a] Benchmarking 192.168.1.2 (be patient).....done Server Software: Apache Server Hostname: 192.168.1.2 Server Port: 80 Document Path: / Document Length: 7319 bytes Concurrency Level: 10 Time taken for tests: 47.389670 seconds Complete requests: 100 Failed requests: 60 (Connect: 0, Length: 60, Exceptions: 0) Write errors: 0 Total transferred: 743952 bytes HTML transferred: 731890 bytes Requests per second: 2.11 [#/sec] (mean) Time per request: 4738.967 [ms] (mean) Time per request: 473.897 [ms] (mean, across all concurrent requests) Transfer rate: 15.32 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.5 0 1 Processing: 1096 4689 1389.5 4666 7718 Waiting: 1091 4519 1301.2 4542 7582 Total: 1096 4690 1389.5 4666 7718 Percentage of the requests served within a certain time (ms) 50% 4666 66% 4967 75% 5650 80% 5946 90% 6614 95% 7286 98% 7587 99% 7718 100% 7718 (longest request) |Concurrency Level|同時接続数| |Time taken for tests|完了までの時間| |Complete requests|総リクエスト数| |Failed requests|失敗したリクエスト数| |Requests per second|1秒あたりのリクエスト数| |Time per request|1リクエストあたりの所要時間| |Transfer rate|1秒あたりの受信容量|
テキスト整形のルールを表示する