ユーザ用ツール

サイト用ツール


Sidebar

プロトコロ系:http_2:h2loadベンチマークのフローコントロール
h2load -w30 -W30 -n100000 -c100 -m100 https://127.0.0.1:8080/30k.txt

こんな感じで-w-Wオプションでフローコントロールを無効(正しくは意味のない設定?)にできるようです。

$ h2load -h
Usage: h2load [OPTIONS]... <URI>...
benchmarking tool for HTTP/2 and SPDY server

  <URI>              Specify  URI to  access.   Multiple  URIs can  be
                     specified.  URIs are used  in this order for each
                     client.   All URIs  are used,  then first  URI is
                     used and  then 2nd URI,  and so on.   The scheme,
                     host and port in the subsequent URIs, if present,
                     are  ignored.  Those  in the  first URI  are used
                     solely.
Options:
  -n, --requests=<N> Number of requests. Default: 1
  -c, --clients=<N>  Number of concurrent clients. Default: 1
  -t, --threads=<N>  Number of native threads. Default: 1
  -m, --max-concurrent-streams=(auto|<N>)
                     Max concurrent streams to  issue per session.  If
                     "auto"  is given,  the  number of  given URIs  is
                     used.  Default: auto
  -w, --window-bits=<N>
                     Sets  the stream  level  initial  window size  to
                     (2**<N>)-1.  For SPDY, 2**<N> is used instead.
  -W, --connection-window-bits=<N>
                     Sets the connection level  initial window size to
                     (2**<N>)-1.  For  SPDY, if  <N> is  strictly less
                     than  16,  this  option  is  ignored.   Otherwise
                     2**<N> is used for SPDY.
  -v, --verbose      Output debug information.
  --version          Display version information and exit.
  -h, --help         Display this help and exit.

まとめ資料とか: https://speakerdeck.com/summerwind/2-wodu-mijie-kuji-shu

プロトコロ系/http_2/h2loadベンチマークのフローコントロール.txt · 最終更新: 2014/03/17 22:08 by matsumoto_r