Skip to content

Commit 2ec9633

Browse files
author
rmqtt
committed
Update the document
1 parent 6571760 commit 2ec9633

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ OPTIONS:
6060

6161
### Connect Benchmark
6262

63-
For example, create 50K concurrent connections concurrently
63+
For example, create 25K concurrent connections concurrently
6464
```rust
65-
$ rmqtt-bench v3 -c 50000
65+
$ rmqtt-bench v3 -c 25000
6666
```
6767

6868
### Sub Benchmark
6969

70-
For example, create 50K concurrent connections concurrently and subscribe
70+
For example, create 25K concurrent connections concurrently and subscribe
7171
```rust
72-
rmqtt-bench v3 -c 50000 -S -t iot/{no}
72+
rmqtt-bench v3 -c 25000 -S -t iot/{no}
7373
```
7474

7575
### Pub Benchmark
@@ -106,6 +106,13 @@ Simulate real scenes through scripts
106106
## Notice
107107

108108

109+
Make sure to increase resource usage limits and expand the port range like following on Linux.
110+
111+
```rust
112+
ulimit -n 500000
113+
sudo sysctl -w net.ipv4.ip_local_port_range="1025 65534"
114+
```
115+
109116
## Author
110117

111118
RMQTT Team.

0 commit comments

Comments
 (0)