-
Notifications
You must be signed in to change notification settings - Fork 3
/
load-tests.txt
51 lines (38 loc) · 1.39 KB
/
load-tests.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# On my 2GB Ubuntu instance:
% siege --delay=0.5 --internet --verbose --reps=100 --concurrent=1000 --no-parser http://g4tp.com
Transactions: 100000 hits
Availability: 100.00 %
Elapsed time: 64.14 secs
Data transferred: 1044.37 MB
Response time: 0.33 secs
Transaction rate: 1559.09 trans/sec
Throughput: 16.28 MB/sec
Concurrency: 507.44
Successful transactions: 100000
Failed transactions: 0
Longest transaction: 7.52
Shortest transaction: 0.00
% $HOME/go/bin/mqtt-benchmark --count 100 --size 100 --clients 2000 --broker g4tp.com:1883
========= TOTAL (1000) =========
Total Ratio: 1.000 (100000/100000)
Total Runtime (sec): 101.464
Average Runtime (sec): 100.563
Msg time min (ms): 0.069
Msg time max (ms): 146.440
Msg time mean mean (ms): 1.642
Msg time mean std (ms): 0.439
Average Bandwidth (msg/sec): 0.994
Total Bandwidth (msg/sec): 994.417
/etc/security/limits.conf
# Danny's changes
* soft nofile 10000000
* hard nofile 10000000
root soft nofile 10000000
root hard nofile 10000000
/etc/sysctl.conf
# Danny's changes
fs.file-max = 10000000
fs.nr_open = 10000000
net.ipv4.tcp_mem = 786432 1697152 1945728
net.ipv4.tcp_rmem = 4096 4096 16777216
net.ipv4.tcp_wmem = 4096 4096 16777216