Skip to content

Commit

Permalink
Add Intel benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Nov 17, 2023
1 parent 1e2f3ce commit e0a07b1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
bench:
strategy:
matrix:
RESOURCES: [ 100, 300, 500, 1000 ]
RESOURCES: [ 100, 500, 1000 ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,20 @@ reconciling app definitions on the Kubernetes cluster.

For this benchmark we assume 100, 500 and 1000 app packages being pushed to the registry at the same time.

| Objects | Type | Flux component | Concurrency | Total Duration | Max Memory |
|---------|---------------|----------------------|-------------|----------------|------------|
| 100 | OCIRepository | source-controller | 4 | 35s | 38Mi |
| 100 | Kustomization | kustomize-controller | 4 | 38s | 32Mi |
| 100 | HelmChart | source-controller | 4 | 35s | 40Mi |
| 100 | HelmRelease | helm-controller | 4 | 42s | 140Mi |
| 500 | OCIRepository | source-controller | 10 | 45s | 65Mi |
| 500 | Kustomization | kustomize-controller | 10 | 1m50s | 72Mi |
| 500 | HelmChart | source-controller | 10 | 1m10s | 68Mi |
| 500 | HelmRelease | helm-controller | 10 | 1m58s | 350Mi |
| 1000 | OCIRepository | source-controller | 10 | 1m30s | 67Mi |
| 1000 | Kustomization | kustomize-controller | 20 | 3m58s | 112Mi |
| 1000 | HelmChart | source-controller | 10 | 1m45s | 110Mi |
| 1000 | HelmRelease | helm-controller | 10 | 5m10s | 620Mi |
| Objects | Type | Flux component | Duration Apple M1 | Duration Intel | Max Memory |
|---------|---------------|----------------------|-------------------|----------------|------------|
| 100 | OCIRepository | source-controller | 35s | 35s | 38Mi |
| 100 | Kustomization | kustomize-controller | 38s | 38s | 32Mi |
| 100 | HelmChart | source-controller | 35s | 35s | 40Mi |
| 100 | HelmRelease | helm-controller | 42s | 42s | 140Mi |
| 500 | OCIRepository | source-controller | 45s | 45s | 65Mi |
| 500 | Kustomization | kustomize-controller | **1m50s** | **3m50s** | 72Mi |
| 500 | HelmChart | source-controller | 1m10s | 1m10s | 68Mi |
| 500 | HelmRelease | helm-controller | **1m58s** | **4m40s** | 350Mi |
| 1000 | OCIRepository | source-controller | 1m30s | 1m30s | 67Mi |
| 1000 | Kustomization | kustomize-controller | **3m58s** | **4m50s** | 112Mi |
| 1000 | HelmChart | source-controller | 1m45s | 1m45s | 110Mi |
| 1000 | HelmRelease | helm-controller | **5m10s** | **14m10s** | 620Mi |

### Observations

Expand All @@ -145,11 +145,11 @@ Higher concurrency probably requires an HA Kubernetes control plane with multipl

### Specs

- MacBook Pro M1 Max
- Docker Desktop for Mac (10 CPU / 24GB)
- Apple Macbook Pro (M1 Max 8cpu)
- GitHub hosted-runner (CPU Intel 2cpu)
- Kubernetes Kind (v1.28.0 / 3 nodes)
- Flux source-controller (1CPU / 1Gi)
- Flux kustomize-controller (1CPU / 1Gi)
- Flux helm-controller (2CPU / 1Gi)
- Flux source-controller (1CPU / 1Gi / concurrency 10)
- Flux kustomize-controller (1CPU / 1Gi / concurrency 20)
- Flux helm-controller (2CPU / 1Gi / concurrency 10)
- Helm repository (oci://ghcr.io/stefanprodan/charts/podinfo)
- App manifests (Deployment scaled to zero, Service Account, Service, Ingress)

0 comments on commit e0a07b1

Please sign in to comment.