-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(troubleshoot): add filesystem latency check (#1018)
* feat(troubleshoot): add filesystem latency check * f * f * f * f
- Loading branch information
Showing
8 changed files
with
253 additions
and
95 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
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 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 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
ARG PLATFORM=linux/amd64 | ||
|
||
FROM --platform=$PLATFORM ubuntu:22.04 AS build | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG TZ=Etc/UTC | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
build-essential cmake libstdc++6 pkg-config unzip wget | ||
|
||
RUN mkdir -p /fio | ||
WORKDIR /fio | ||
|
||
RUN wget -O- https://api.github.com/repos/axboe/fio/releases/latest \ | ||
| grep "tarball_url" \ | ||
| cut -d : -f 2,3 \ | ||
| tr -d '", ' \ | ||
| xargs -n1 wget -O fio.tar.gz -q | ||
RUN tar -xzf fio.tar.gz --strip-components=1 | ||
|
||
RUN ./configure --build-static | ||
RUN make -j$(nproc) | ||
|
||
FROM ubuntu:22.04 | ||
COPY --from=build /fio/fio /output/fio | ||
CMD [ "echo", "Done" ] |
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 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 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
Oops, something went wrong.