Back to Nebula

Storage Performance Tool

src/tools/storage-perf/README.md

3.8.01.4 KB
Original Source

Storage Performance Tool

_build/storage_perf is the performance tool to test the storage service.

You should create a graph space, tag and edge type before testing.

The default value is test, test_tag and test_edge.


Configuration Reference

Property NameDefault ValueDescription
threads2Total threads for perf.
qps1000Total qps for the perf tool.
totalReqs10000Total requests during the perf test.
io_threads10Client io threads.
method"getNeighbors"method type being tested,such as getNeighbors, addVertices, addEdges, getVertices.
meta_server_addrs""meta server address.
min_vertex_id1The smallest vertex Id.
max_vertex_id10000The biggest vertex Id.
size1000The data size per request.
space_name"test"Specify the space name.
tag_name"test_tag"Specify the tag name.
edge_name"test_edge"Specify the edge name.
random_messagefalseWhether to write random message to storage service.

Storage Integrity Tool

Integration test is based on IntegrationTestBigLinkedList of HBase.