Skip to content

Commit

Permalink
Update README.md with the parallelization bits
Browse files Browse the repository at this point in the history
This patch updates the README.md to mention the `CONCURRENCY`
environmental variable that can be used to control the new
parallelization functionality.

Before parallelizing the work the timing of a must-gather in my single
node CRC deployment took:

- 13m35s without SOS reports
- 15m49s with SOS reports

After this parallelization effort it takes

- 7m9s without SOS report
- 7m40s with SOS report
  • Loading branch information
Akrog committed Nov 24, 2023
1 parent e7f9f82 commit 9ee18b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ oc adm must-gather --image=quay.io/openstack-k8s-operators/openstack-must-gather

This is the list of available environmental variables:

- `CONCURRENCY`: Must gather runs many operations, so to speed things up we run
them in parallel with a concurrency of 5 by default. Users can change this
environmental variable to adjust to its needs.
- `SOS_SERVICES`: Comma separated list of services to gather SOS reports from.
Empty string skips sos report gathering. Eg: `cinder,glance`. Defaults to all
of them.
Expand Down

0 comments on commit 9ee18b5

Please sign in to comment.