init
This commit is contained in:
commit
51a1f3c61b
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@ -0,0 +1,24 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt install -y \
|
||||
apt-utils \
|
||||
libzip-dev \
|
||||
nano \
|
||||
php7.4-zip \
|
||||
wget
|
||||
|
||||
RUN wget http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_10.4.0_all.deb && \
|
||||
apt install -y ./phoronix-test-suite_10.4.0_all.deb
|
||||
|
||||
RUN phoronix-test-suite install pts/osbench \
|
||||
pts/pybench \
|
||||
pts/tiobench \
|
||||
pts/ramspeed \
|
||||
pts/compress-7zip \
|
||||
pts/openssl \
|
||||
pts/sockperf
|
||||
|
||||
COPY hardware/suite-definition.xml /var/lib/phoronix-test-suite/test-suites/local/hardware/suite-definition.xml
|
23
DockerfileCloud
Normal file
23
DockerfileCloud
Normal file
@ -0,0 +1,23 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt install -y \
|
||||
apt-utils \
|
||||
libzip-dev \
|
||||
nano \
|
||||
php7.4-zip \
|
||||
wget
|
||||
|
||||
RUN wget http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_10.4.0_all.deb && \
|
||||
apt install -y ./phoronix-test-suite_10.4.0_all.deb
|
||||
|
||||
RUN phoronix-test-suite install pts/sqlite \
|
||||
pts/redis \
|
||||
pts/cassandra \
|
||||
pts/apache \
|
||||
pts/nginx \
|
||||
pts/blogbench
|
||||
|
||||
COPY cloud/suite-definition.xml /var/lib/phoronix-test-suite/test-suites/local/cloud/suite-definition.xml
|
24
DockerfileHardware
Normal file
24
DockerfileHardware
Normal file
@ -0,0 +1,24 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt install -y \
|
||||
apt-utils \
|
||||
libzip-dev \
|
||||
nano \
|
||||
php7.4-zip \
|
||||
wget
|
||||
|
||||
RUN wget http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_10.4.0_all.deb && \
|
||||
apt install -y ./phoronix-test-suite_10.4.0_all.deb
|
||||
|
||||
RUN phoronix-test-suite install pts/osbench \
|
||||
pts/pybench \
|
||||
pts/tiobench \
|
||||
pts/ramspeed \
|
||||
pts/compress-7zip \
|
||||
pts/openssl \
|
||||
pts/sockperf
|
||||
|
||||
COPY hardware/suite-definition.xml /var/lib/phoronix-test-suite/test-suites/local/hardware/suite-definition.xml
|
40
README.md
Normal file
40
README.md
Normal file
@ -0,0 +1,40 @@
|
||||
# phoronix-test-suite-docker
|
||||
|
||||
This repository contains different Dockerfiles with [Phoronix Test Suite](https://www.phoronix-test-suite.com/) and a set of [benchmarks](https://openbenchmarking.org/) already installed.
|
||||
|
||||
### Cloud
|
||||
```
|
||||
phoronix-test-suite run cloud
|
||||
```
|
||||
|
||||
#### Database
|
||||
- [pts/sqlite](https://openbenchmarking.org/test/pts/sqlite)
|
||||
- [pts/redis](https://openbenchmarking.org/test/pts/redis)
|
||||
- [pts/cassandra](https://openbenchmarking.org/test/pts/cassandra)
|
||||
|
||||
#### Server
|
||||
- [pts/apache](https://openbenchmarking.org/test/pts/apache)
|
||||
- [pts/nginx](https://openbenchmarking.org/test/pts/nginx)
|
||||
- [pts/blogbench](https://openbenchmarking.org/test/pts/blogbench)
|
||||
|
||||
### Hardware
|
||||
```
|
||||
phoronix-test-suite run hardware
|
||||
```
|
||||
|
||||
### System Test
|
||||
- [pts/osbench](https://openbenchmarking.org/test/pts/osbench)
|
||||
- [pts/pybench](https://openbenchmarking.org/test/pts/pybench)
|
||||
|
||||
#### Disk
|
||||
- [pts/tiobench](https://openbenchmarking.org/test/pts/tiobench)
|
||||
|
||||
#### Memory
|
||||
- [pts/ramspeed](https://openbenchmarking.org/test/pts/ramspeed)
|
||||
|
||||
#### Processor
|
||||
- [pts/compress-7zip](https://openbenchmarking.org/test/pts/compress-7zip)
|
||||
- [pts/openssl](https://openbenchmarking.org/test/pts/openssl)
|
||||
|
||||
#### Network
|
||||
- [pts/sockperf](https://openbenchmarking.org/test/pts/sockperf)
|
65
cloud/suite-definition.xml
Normal file
65
cloud/suite-definition.xml
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.6.0-->
|
||||
<PhoronixTestSuite>
|
||||
<SuiteInformation>
|
||||
<Title>cloud</Title>
|
||||
<Version>1.0.0</Version>
|
||||
<TestType>Other</TestType>
|
||||
<Description>cloud suite</Description>
|
||||
<Maintainer>nichr</Maintainer>
|
||||
</SuiteInformation>
|
||||
<Execute>
|
||||
<Test>pts/sqlite-2.1.0</Test>
|
||||
<Arguments>1</Arguments>
|
||||
<Description>Threads / Copies: 1</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/sqlite-2.1.0</Test>
|
||||
<Arguments>32</Arguments>
|
||||
<Description>Threads / Copies: 32</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/redis-1.2.0</Test>
|
||||
<Arguments>-t set</Arguments>
|
||||
<Description>Test: SET</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/redis-1.2.0</Test>
|
||||
<Arguments>-t get</Arguments>
|
||||
<Description>Test: GET</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/cassandra-1.0.3</Test>
|
||||
<Arguments>MIXED_1_1</Arguments>
|
||||
<Description>Test: Mixed 1:1</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/apache-1.7.2</Test>
|
||||
<Arguments></Arguments>
|
||||
<Description></Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/nginx-1.2.2</Test>
|
||||
<Arguments></Arguments>
|
||||
<Description></Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/blogbench-1.1.0</Test>
|
||||
<Arguments>READ</Arguments>
|
||||
<Description>Test: Read</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/blogbench-1.1.0</Test>
|
||||
<Arguments>WRITE</Arguments>
|
||||
<Description>Test: Write</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
</PhoronixTestSuite>
|
107
hardware/suite-definition.xml
Normal file
107
hardware/suite-definition.xml
Normal file
@ -0,0 +1,107 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.6.0-->
|
||||
<PhoronixTestSuite>
|
||||
<SuiteInformation>
|
||||
<Title>hardware</Title>
|
||||
<Version>1.0.0</Version>
|
||||
<TestType>Other</TestType>
|
||||
<Description>hardware suite</Description>
|
||||
<Maintainer>nichr</Maintainer>
|
||||
</SuiteInformation>
|
||||
<Execute>
|
||||
<Test>pts/osbench-1.0.1</Test>
|
||||
<Arguments>create_files.exe target</Arguments>
|
||||
<Description>Test: Create Files</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/osbench-1.0.1</Test>
|
||||
<Arguments>create_processes.exe</Arguments>
|
||||
<Description>Test: Create Processes</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/osbench-1.0.1</Test>
|
||||
<Arguments>create_threads.exe</Arguments>
|
||||
<Description>Test: Create Threads</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/osbench-1.0.1</Test>
|
||||
<Arguments>launch_programs.exe</Arguments>
|
||||
<Description>Test: Launch Programs</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/osbench-1.0.1</Test>
|
||||
<Arguments>mem_alloc.exe</Arguments>
|
||||
<Description>Test: Memory Allocations</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/pybench-1.1.3</Test>
|
||||
<Arguments></Arguments>
|
||||
<Description></Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/tiobench-1.3.1</Test>
|
||||
<Arguments>-k3 -k2 -k1 -f 32 -t 4</Arguments>
|
||||
<Description>Test: Write - Size Per Thread: 32MB - Thread Count: 4</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/tiobench-1.3.1</Test>
|
||||
<Arguments>-k3 -k1 -f 32 -t 4</Arguments>
|
||||
<Description>Test: Read - Size Per Thread: 32MB - Thread Count: 4</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/ramspeed-1.4.3</Test>
|
||||
<Arguments>COPY -b 6</Arguments>
|
||||
<Description>Type: Copy - Benchmark: Floating Point</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/ramspeed-1.4.3</Test>
|
||||
<Arguments>ADD -b 6</Arguments>
|
||||
<Description>Type: Add - Benchmark: Floating Point</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/ramspeed-1.4.3</Test>
|
||||
<Arguments>AVERAGE -b 6</Arguments>
|
||||
<Description>Type: Average - Benchmark: Floating Point</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/compress-7zip-1.7.1</Test>
|
||||
<Arguments></Arguments>
|
||||
<Description></Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/openssl-1.11.0</Test>
|
||||
<Arguments></Arguments>
|
||||
<Description></Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/sockperf-1.0.0</Test>
|
||||
<Arguments>under-load</Arguments>
|
||||
<Description>Test: Latency Under Load</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/sockperf-1.0.0</Test>
|
||||
<Arguments>ping-pong</Arguments>
|
||||
<Description>Test: Latency Ping Pong</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
<Execute>
|
||||
<Test>pts/sockperf-1.0.0</Test>
|
||||
<Arguments>throughput</Arguments>
|
||||
<Description>Test: Throughput</Description>
|
||||
<OverrideTestOptions></OverrideTestOptions>
|
||||
</Execute>
|
||||
</PhoronixTestSuite>
|
Loading…
x
Reference in New Issue
Block a user