Skip to content

Commit

Permalink
*: add fio tests for disk performance (#3203)
Browse files Browse the repository at this point in the history
- Change the existing disk write test to use fio
- Add disk write IOPS test, disk read speed test, disk read IOPS test
- Update Dockerfile to include fio

category: feature
ticket: #3207
  • Loading branch information
KaloyanTanev authored Jul 31, 2024
1 parent 2dbdef2 commit d5a59fa
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 91 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN echo "Built charon version=$(./charon version)"

# Copy final binary into light stage.
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates wget
RUN apt-get update && apt-get install -y ca-certificates wget fio
ARG GITHUB_SHA=local
ENV GITHUB_SHA=${GITHUB_SHA}
COPY --from=builder /app/charon/charon /usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func newTestCmd(cmds ...*cobra.Command) *cobra.Command {
root := &cobra.Command{
Use: "test",
Short: "Test subcommands provide test suite to evaluate current cluster setup",
Long: `Test subcommands provide test suite to evaluate current cluster setup. Currently there is support for peer connection tests, beacon node and validator API.`,
Long: `Test subcommands provide test suite to evaluate current cluster setup. The full validator stack can be tested - charon peers, consensus layer, validator client, MEV. Current machine's performance can be examined as well.`,
}

root.AddCommand(cmds...)
Expand Down
Loading

0 comments on commit d5a59fa

Please sign in to comment.