mjune.kim 2020. 7. 22. 15:09

HTTP 서버의 throughput 을 측정하기 위해 사용해 보았다.

Option으로 --max speed 도 제공하고 있어서 Bandwidth을 측정하는데 유용할 것 같다.

다운로드 단계(퍼센트)에 따라 결과을 보여주기 때문에 손쉽게 성능을 측정할 수 있었다.

$ axel --max-speed=5120000 http://url/4mb.html
Initializing download: http://url/4mb.html
File size: 4122826 bytes
Opening output file 4mb.html.17
State file found: 3192823 bytes downloaded, 930003 to go.
Starting download

        ,,,,,,,,,, ,,,,,,,... .......... .......... ..........  [  31.9KB/s]
[ 78%]  .......... .......... .......... .......... ..........  [  44.0KB/s]
[ 79%]  .......... .......... .......... .......... ..........  [  50.3KB/s]
[ 80%]  .......... .......... .......... .......... ..........  [  53.7KB/s]
[ 81%]  .......... .......... .......... .......... ..........  [  57.5KB/s]
[ 83%]  .......... .......... .......... .......... ..........  [  58.6KB/s]
[ 84%]  .......... .......... .......... .......... ..........  [  60.7KB/s]
[ 85%]  .......... .......... .......... .......... ..........  [  63.0KB/s]
[ 86%]  .......... .......... .......... .......... ..........  [  62.9KB/s]
[ 88%]  .......... .......... .......... .......... ..........  [  63.7KB/s]
[ 89%]  .......... .......... .......... .......... ..........  [  64.0KB/s]
[ 90%]  .......... .......... .......... .......... ..........  [  64.9KB/s]
[ 91%]  .......... .......... .......... .......... ..........  [  64.9KB/s]
[ 93%]  .......... .......... .......... .......... ..........  [  66.1KB/s]
[ 94%]  .......... .......... .......... .......... ..........  [  64.7KB/s]

근데 왜이리 속도가 안나오는건지

삽질의 연속이다. ㅠ.ㅠ.