Skip to content

Commit 1a73f42

Browse files
committed
Fix the benchmark section of LeoFS' doc
1 parent c1c4b1c commit 1a73f42

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

docs/benchmark/README.md

+20-24
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
# Benchmark
2-
## Setting up basho_bench
2+
## Setting up LeoFS Bench
33
### Installation
44

5-
* [Basho basho_bench’s repository](https://github.com/basho/basho_bench)
6-
* [Basho basho_bench’s documentation](https://docs.basho.com/riak/kv/2.2.0/using/performance/benchmarking/)
7-
* Use the following commands to set up basho_bench.
5+
* [LeoFS Bench's repository](https://github.com/leo-project/leofs_bench)
6+
* Use the following commands to set up leofs_bench.
87

98

109
```bash
11-
$ git clone git://github.com/basho/basho_bench.git
12-
$ git clone https://github.com/leo-project/leofs.git
13-
$ cd basho_bench
14-
$ cp -i ../leofs/test/src/*.erl src/
15-
$ cp -i ../leofs/test/include/*.hrl include/
16-
$ make all
10+
$ git clone git://github.com/leo-project/leofs_bench.git
11+
$ cd leofs_bench
12+
$ make
1713
```
1814

1915
### Preparations before testing
@@ -37,17 +33,17 @@ $ leofs-adm update-acl test 05236 public-read
3733
OK
3834
```
3935

40-
## Configuration file for basho_bench
36+
## Configuration file for leofs_bench
4137
### An Example
4238

43-
Some examples are included in LeoFS' repository at [leo-project / leofs / test / conf](https://github.com/leo-project/leofs/tree/master/test/conf). If you would like to learn basho_bench's configuration, you can see [BashoBench's Configuration](https://docs.basho.com/riak/kv/2.2.0/using/performance/benchmarking/#configuration).
39+
Some examples are included in LeoFS' repository at [leo-project / leofs / test / conf](https://github.com/leo-project/leofs/tree/master/test/conf). If you would like to learn leofs_bench's configuration.
4440

4541
```erlang
4642
{mode, max}.
4743
{duration, 10}.
4844
{concurrent, 50}.
4945

50-
{driver, basho_bench_driver_leofs}.
46+
{driver, leofs_bench_driver_leofs}.
5147
{code_paths, ["deps/ibrowse"]}.
5248

5349
{http_raw_ips, ["${HOST_NAME_OF_LEOFS_GATEWAY}"]}.
@@ -73,24 +69,24 @@ Some examples are included in LeoFS' repository at [leo-project / leofs / test /
7369
| check_integrity (default:false) | Check integrity of registered object - compare an original MD5 with a retrieved object’s MD5 (Only for developers)|
7470

7571

76-
## Running basho_bench (1)
72+
## Running leofs_bench (1)
7773

78-
In this example, LeoFS and `basho_bench` are installed locally. The following commands can be used to run `basho_bench`.
74+
In this example, LeoFS and `leofs_bench` are installed locally. The following commands can be used to run `leofs_bench`.
7975

8076
```bash
8177
### Loading 1M records of size 16KB
82-
cd basho_bench
83-
./basho_bench ../leofs/test/conf/leofs_16K_LOAD1M.config
78+
cd leofs_bench
79+
./leofs_bench ../leofs/test/conf/leofs_16K_LOAD1M.config
8480
```
8581

8682

87-
## Running basho_bench (2)
83+
## Running leofs_bench (2)
8884

89-
In this example, LeoFS and `basho_bench` are installed on different hosts.
85+
In this example, LeoFS and `leofs_bench` are installed on different hosts.
9086

9187
### Configure the endpoint on LeoManager's console
9288

93-
Allows basho_bench’s requests to reach `${HOST_NAME_OF_LEOFS_GATEWAY}`.
89+
Allows leofs_bench’s requests to reach `${HOST_NAME_OF_LEOFS_GATEWAY}`.
9490

9591
```bash
9692
$ leofs-adm add-endpoint <host-name-of-leofs-gateway>
@@ -114,7 +110,7 @@ You need to modify the values for `http_raw_ips` and `http_raw_port`.
114110
{duration, 10}.
115111
{concurrent, 50}.
116112

117-
{driver, basho_bench_driver_leofs}.
113+
{driver, leofs_bench_driver_leofs}.
118114
{code_paths, ["deps/ibrowse"]}.
119115

120116
{http_raw_ips, ["${HOST_NAME_OF_LEOFS_GATEWAY}"]}. %% able to set plural nodes
@@ -130,12 +126,12 @@ You need to modify the values for `http_raw_ips` and `http_raw_port`.
130126
{check_integrity, false}.
131127
```
132128

133-
### Running basho_bench
129+
### Running leofs_bench
134130

135131
```bash
136132
### Loading 1M records each size is 16KB
137-
cd basho_bench
138-
./basho_bench ../leofs/test/conf/leofs_16K_LOAD1M.config
133+
cd leofs_bench
134+
./leofs_bench ../leofs/test/conf/leofs_16K_LOAD1M.config
139135
```
140136

141137
## Related Links

0 commit comments

Comments
 (0)