Skip to content

Commit

Permalink
add sizing info (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwright authored Jun 11, 2024
1 parent 6dd4367 commit e3e2e07
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions troubleshooting/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,43 @@ linking and services:: See the `skupper-service-controller-*-events.txt` file to
--
== Understanding Skupper sizing
In September 2023, a number of tests were performed to explore Skupper performance at varying allocations of router CPU.
You can view the results in the https://access.redhat.com/solutions/7074294[sizing guide].
The conclusions for router CPU and memory are shown below.
.Router CPU
The primary factor to consider when scaling Skupper for your workload is router CPU. (Note that due to the nature of cluster ingress and connection routing, it is important to focus on scaling the router vertically, not horizontally.)
Two CPU cores (2,000 millicores) per router is a good starting point. It includes some headroom and provides low latencies for a large set of workloads.
If the peak throughput required by your workload is low, it is possible to achieve satisfactory latencies with less router CPU.
Some workloads are sensitive to network latency. In these cases, the overhead introduced by the router can limit the achievable throughput. This is when CPU amounts higher than two cores per router may be required.
On the flip side, some workloads are tolerant of network latency. In these cases, one core or less may be sufficient.
These benchmark results are not the last word. They depend on the specifics of our test environment. To get a better idea of how Skupper performs in your environment, you can run these benchmarks yourself.
.Router memory
Router memory use scales with the number of open connections. In general, a good starting point is 4G.
|===
| **Memory** | **Concurrent open connections** |
| 512M | 8,192 |
| 1G | 16,384 |
| 2G | 32,768 |
| **4G** | **65,536** |
| 8G | 131,072 |
| 16G | 262,144 |
| 32G | 524,288 |
| 64G | 104,8576 |
|===
// Type:procedure
[id='router-performance']
== Improving Skupper router performance
Expand Down

0 comments on commit e3e2e07

Please sign in to comment.