Skip to content

Commit b5ff5f7

Browse files
authored
(Cherry-pick) Add longevity results for 1.4.0 (#2427) (#2428)
Add longevity results for 1.4.0 (#2427)
1 parent 8f7d61b commit b5ff5f7

14 files changed

+194
-1
lines changed

tests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Finally, run
358358
make stop-longevity-test
359359
```
360360

361-
This will tear down the test and collect results into a file, where you can add the PNGs of the dashboard.
361+
This will tear down the test and collect results into a file, where you can add the PNGs of the dashboard. The results collection creates multiple files that you will need to manually combine as needed (logs file, traffic output file).
362362

363363
### Common test amendments
364364

35.3 KB
Loading
58.4 KB
Loading
36.9 KB
Loading
Loading
62.2 KB
Loading
Loading

tests/results/longevity/1.4.0/oss.md

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Results
2+
3+
## Test environment
4+
5+
NGINX Plus: false
6+
7+
NGINX Gateway Fabric:
8+
9+
- Commit: f765b79b6cb76bf18affd138604ca0ee12f57a19
10+
- Date: 2024-08-15T21:46:21Z
11+
- Dirty: false
12+
13+
GKE Cluster:
14+
15+
- Node count: 12
16+
- k8s version: v1.29.7-gke.1008000
17+
- vCPUs per node: 2
18+
- RAM per node: 4019160Ki
19+
- Max pods per node: 110
20+
- Zone: us-west2-a
21+
- Instance Type: e2-medium
22+
23+
## Traffic
24+
25+
HTTP:
26+
27+
```text
28+
Running 5760m test @ http://cafe.example.com/coffee
29+
2 threads and 100 connections
30+
Thread Stats Avg Stdev Max +/- Stdev
31+
Latency 139.11ms 117.12ms 2.00s 91.14%
32+
Req/Sec 396.68 259.55 2.08k 65.79%
33+
268947649 requests in 5760.00m, 92.04GB read
34+
Socket errors: connect 0, read 344704, write 0, timeout 565
35+
Requests/sec: 778.20
36+
Transfer/sec: 279.25KB
37+
```
38+
39+
HTTPS:
40+
41+
```text
42+
Running 5760m test @ https://cafe.example.com/tea
43+
2 threads and 100 connections
44+
Thread Stats Avg Stdev Max +/- Stdev
45+
Latency 131.64ms 94.48ms 1.99s 70.49%
46+
Req/Sec 395.26 259.07 2.08k 65.47%
47+
267943878 requests in 5760.00m, 90.15GB read
48+
Socket errors: connect 0, read 338530, write 0, timeout 9
49+
Requests/sec: 775.30
50+
Transfer/sec: 273.51KB
51+
```
52+
53+
### Logs
54+
55+
No error logs in nginx-gateway
56+
57+
No error logs in nginx
58+
59+
### Key Metrics
60+
61+
#### Containers memory
62+
63+
![oss-memory.png](oss-memory.png)
64+
65+
#### NGF Container Memory
66+
67+
![oss-ngf-memory.png](oss-ngf-memory.png)
68+
69+
### Containers CPU
70+
71+
![oss-cpu.png](oss-cpu.png)
72+
73+
### NGINX metrics
74+
75+
![oss-stub-status.png](oss-stub-status.png)
76+
77+
### Reloads
78+
79+
Rate of reloads - successful and errors:
80+
81+
![oss-reloads.png](oss-reloads.png)
82+
83+
84+
Reload spikes correspond to 1 hour periods of backend re-rollouts.
85+
86+
No reloads finished with an error.
87+
88+
Reload time distribution - counts:
89+
90+
![oss-reload-time.png](oss-reload-time.png)
91+
92+
## Comparison with previous runs
93+
94+
Graphs look similar to 1.3.0 results.
34.5 KB
Loading
43.9 KB
Loading
Loading
15.7 KB
Loading
75.6 KB
Loading

tests/results/longevity/1.4.0/plus.md

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Results
2+
3+
## Test environment
4+
5+
NGINX Plus: true
6+
7+
NGINX Gateway Fabric:
8+
9+
- Commit: 16a95222a968aef46277a77070f79bea9b87da12
10+
- Date: 2024-08-16T15:29:44Z
11+
- Dirty: false
12+
13+
GKE Cluster:
14+
15+
- Node count: 12
16+
- k8s version: v1.29.7-gke.1008000
17+
- vCPUs per node: 2
18+
- RAM per node: 4019160Ki
19+
- Max pods per node: 110
20+
- Zone: us-west2-a
21+
- Instance Type: e2-medium
22+
23+
## Traffic
24+
25+
HTTP:
26+
27+
```text
28+
Running 5760m test @ http://cafe.example.com/coffee
29+
2 threads and 100 connections
30+
Thread Stats Avg Stdev Max +/- Stdev
31+
Latency 121.06ms 88.32ms 1.69s 70.69%
32+
Req/Sec 439.03 284.47 2.18k 65.18%
33+
297838416 requests in 5760.00m, 101.94GB read
34+
Non-2xx or 3xx responses: 9
35+
Requests/sec: 861.80
36+
Transfer/sec: 309.28KB
37+
```
38+
39+
HTTPS:
40+
41+
```text
42+
Running 5760m test @ https://cafe.example.com/tea
43+
2 threads and 100 connections
44+
Thread Stats Avg Stdev Max +/- Stdev
45+
Latency 121.25ms 88.41ms 1.56s 70.69%
46+
Req/Sec 438.02 283.40 2.19k 65.30%
47+
297157634 requests in 5760.00m, 100.04GB read
48+
Non-2xx or 3xx responses: 1
49+
Requests/sec: 859.83
50+
Transfer/sec: 303.52KB
51+
```
52+
53+
Note: Non-2xx or 3xx responses correspond to the error in NGINX log, see below.
54+
55+
### Logs
56+
57+
nginx-gateway:
58+
59+
a lot of expected "usage reporting not enabled" errors.
60+
61+
nginx:
62+
63+
```text
64+
2024/06/01 21:34:09 [error] 104#104: *115862644 no live upstreams while connecting to upstream, client: 10.128.0.112, server: cafe.example.com, request: "GET /tea HTTP/1.1", upstream: "http://longevity_tea_80/tea", host: "cafe.example.com"
65+
2024/06/03 12:01:07 [error] 105#105: *267137988 no live upstreams while connecting to upstream, client: 10.128.0.112, server: cafe.example.com, request: "GET /coffee HTTP/1.1", upstream: "http://longevity_coffee_80/coffee", host: "cafe.example.com"
66+
```
67+
68+
Similar to last release.
69+
70+
### Key Metrics
71+
72+
#### Containers memory
73+
74+
![plus-memory.png](plus-memory.png)
75+
76+
#### NGF Container Memory
77+
78+
![plus-ngf-memory.png](plus-ngf-memory.png)
79+
80+
### Containers CPU
81+
82+
![plus-cpu.png](plus-cpu.png)
83+
84+
### NGINX Plus metrics
85+
86+
![plus-status.png](plus-status.png)
87+
88+
### Reloads
89+
90+
Rate of reloads - successful and errors:
91+
92+
![plus-reloads.png](plus-reloads.png)
93+
94+
Note: compared to NGINX, we don't have as many reloads here, because NGF uses NGINX Plus API to reconfigure NGINX
95+
for endpoints changes.
96+
97+
## Comparison with previous runs
98+
99+
Graphs look similar to 1.3.0 results.

0 commit comments

Comments
 (0)