-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retire the previous containerized Agent example from contrib
and update the README.md.
- Loading branch information
Showing
7 changed files
with
21 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fiotest | ||
*.tmp | ||
var_lib_pbench-agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
# Running a Pbench Agent-driven Workload in a Container | ||
1. Create a workload script (`example-workload.sh` can be used to start) | ||
This script performs the invocation of a Pbench Agent workload driver, e.g. | ||
`pbench-user-benchmark`, or `pbench-fio`, or `pbench-uperf`. | ||
2. Setup the local execution environment to be aware of the target Pbench Server | ||
`./setup.sh <pbench server host name>:<port number>` | ||
3. Execute the workload | ||
Typically this script performs the necessary setup required for the | ||
containerized environment (`example-driver.sh` can be used to start, note | ||
that it also moves the results to the Pbench Server). | ||
|
||
The Pbench Agent is available for use in a zero-installation scenario | ||
via containerized execution. Agent containers are available from | ||
[quay.io/pbench](https://quay.io/organization/pbench): there's a | ||
repository for each distribution (e.g., | ||
[pbench-agent-all-centos-9](https://quay.io/repository/pbench/pbench-agent-all-centos-9?tab=tags)) | ||
with tags for each Agent release as well as for "hot builds" for | ||
each development branch. | ||
|
||
The `pbench` script provided here is a wrapper which facilitates | ||
the invocation of a Pbench Agent command using a containerized | ||
deployment of the Pbench Agent. Simply prefix a Pbench Agent | ||
command line with the path to this script to run it inside a | ||
container, without needing to install the Agent on the host | ||
system. (This is easily done by defining a shell alias for it.) | ||
|
||
The provided `pbench_demo` script shows the sequence of commands | ||
which might be used to perform a `fio` benchmark run. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.