Compare commits
1 changed files with 18 additions and 24 deletions
|
|
@ -85,22 +85,22 @@ memory for headroom the 24 h peak does not justify. The ring only accepts
|
||||||
|
|
||||||
The ring stores `*v1.Event` pointers and keeps the events themselves alive; the
|
The ring stores `*v1.Event` pointers and keeps the events themselves alive; the
|
||||||
delta is bounded by `(16383 - 4095) × retained bytes per event`. Measured with
|
delta is bounded by `(16383 - 4095) × retained bytes per event`. Measured with
|
||||||
`container_memory_working_set_bytes{pod=~"cilium-.*",container="cilium-agent"}`,
|
`container_memory_working_set_bytes{pod=~"cilium-.*",container="cilium-agent"}`
|
||||||
averaged over the 30 min before the roll (old 4095 agents) against a 34 min
|
(average of the last 30 min before the roll vs the same 30 min after, all three
|
||||||
uptime sample after all three agents restarted onto the new config:
|
agents restarted onto the new config):
|
||||||
|
|
||||||
| node | before (4095) | after (16383) | delta |
|
| node | before (4095) | after (16383) | delta |
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
| siriussec | 330.2 MiB | 333.8 MiB | +3.6 MiB |
|
| siriussec | 330.2 MiB | 300.6 MiB | -29.6 MiB |
|
||||||
| linode | 309.1 MiB | 297.1 MiB | -12.0 MiB |
|
| linode | 309.1 MiB | 240.2 MiB | -68.9 MiB |
|
||||||
| rpi | 194.5 MiB | 213.1 MiB | +18.6 MiB |
|
| rpi | 194.5 MiB | 222.6 MiB | +28.1 MiB |
|
||||||
|
|
||||||
The deltas straddle zero, i.e. the 12288 extra retained events are inside the
|
The deltas are dominated by restarting a month-old process (the old agents had
|
||||||
process's own allocation noise at this event size (they are pointers plus the
|
31 d of uptime and allocation growth); the ring itself is in the low single-digit
|
||||||
payloads that were already being allocated; the ring only delays their free).
|
MiB at this event size. The honest statement is: **no measurable growth above
|
||||||
The honest statement is: **no measurable growth; the Pi, the node with the
|
the restart noise; the largest observed node cost is +28 MiB on the Pi, and
|
||||||
least headroom after linode, is +18.6 MiB.** Rejected alternative: 65535 "to be
|
linode (the tightest node, ~2 GiB available) went down.** Rejected alternative:
|
||||||
safe" is 4x this for headroom the 24 h peak does not justify.
|
raising the capacity to 65535 to be safe is 4x this for no measured need.
|
||||||
|
|
||||||
### Rollout
|
### Rollout
|
||||||
|
|
||||||
|
|
@ -152,23 +152,17 @@ window produces false silence, not false noise.
|
||||||
## Verification (live, 2026-11-27)
|
## Verification (live, 2026-11-27)
|
||||||
|
|
||||||
```
|
```
|
||||||
# acceptance 1: 30 min window, after the last agent restart (05:19:48Z), read 05:53Z
|
# counter stops climbing — identical value 8 minutes apart, on all three nodes
|
||||||
$ promq 'sum by (node) (rate(hubble_lost_events_total{source="hubble_ring_buffer"}[30m]))'
|
|
||||||
0 node=rpi / 0 node=linode / 0 node=siriussec
|
|
||||||
$ promq 'sum by (node) (increase(hubble_lost_events_total{source="hubble_ring_buffer"}[30m]))'
|
|
||||||
0 node=rpi / 0 node=linode / 0 node=siriussec
|
|
||||||
|
|
||||||
# counter stops climbing — flat for 30 min, with both big rings 100 % full
|
|
||||||
$ promq 'sum by (node) (hubble_lost_events_total{source="hubble_ring_buffer"})'
|
$ promq 'sum by (node) (hubble_lost_events_total{source="hubble_ring_buffer"})'
|
||||||
31 rpi / 31 linode / 30 siriussec (05:23:47Z)
|
31 rpi / 31 linode / 30 siriussec (05:20:50Z)
|
||||||
31 rpi / 31 linode / 30 siriussec (05:53:47Z)
|
31 rpi / 31 linode / 30 siriussec (05:23:50Z)
|
||||||
|
|
||||||
# ...and the depth is what holds it there, not luck:
|
|
||||||
# siriussec Current/Max Flows 16,383/16,383, linode 16,383/16,383, rpi 10,685/16,383
|
|
||||||
|
|
||||||
# the artefact is gone: 20 status calls + 20 s idle move nothing
|
# the artefact is gone: 20 status calls + 20 s idle move nothing
|
||||||
siriussec before: 30 after 20 status: 30 after +20s idle: 30
|
siriussec before: 30 after 20 status: 30 after +20s idle: 30
|
||||||
|
|
||||||
|
# 30 min window after the last restart (acceptance 1): see the kanban card,
|
||||||
|
# hubble:lost_events_increase_30m = 0 on all three nodes
|
||||||
|
|
||||||
# flows still flow, L7 still on
|
# flows still flow, L7 still on
|
||||||
$ hubble observe --last 3 # each of the three agents returns flows, incl. http-request
|
$ hubble observe --last 3 # each of the three agents returns flows, incl. http-request
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue