|
9 years ago | |
---|---|---|
.. | ||
src | 194a6b1df0 Remove LocalTransport in favor of MockTcpTransport (#20695) | 9 years ago |
README.md | 7b81c4ca59 Add client-benchmark-noop-api-plugin to stress clients even more in benchmarks (#20103) | 9 years ago |
build.gradle | de04aad994 Remove `modules/transport_netty_3` in favor of `netty_4` (#21590) | 9 years ago |
client-benchmark-noop-api-plugin
with gradle :client:client-benchmark-noop-api-plugin:assemble
bin/elasticsearch-plugin install file:///full/path/to/client-benchmark-noop-api-plugin.zip
gradle :client:benchmark:shadowJar
and execute it.Repeat all steps above for the other benchmark candidate.
In general, you should define a few GC-related settings -Xms8192M -Xmx8192M -XX:+UseConcMarkSweepGC -verbose:gc -XX:+PrintGCDetails
and keep an eye on GC activity. You can also define -XX:+PrintCompilation
to see JIT activity.
Download benchmark data from http://benchmarks.elastic.co/corpora/geonames/documents.json.bz2 and decompress them.
Example command line parameters:
rest bulk 192.168.2.2 ./documents.json geonames type 8647880 5000
The parameters are in order:
Example command line parameters:
rest search 192.168.2.2 geonames "{ \"query\": { \"match_phrase\": { \"name\": \"Sankt Georgen\" } } }\"" 500,1000,1100,1200
The parameters are in order:
TransportClientBenchmark
uses QueryBuilders.wrapperQuery()
internally which automatically adds a root key query
, so it must not be present in the command line parameter.