Add docker images for node perf testing workloads.

pull/8/head
Balaji Subramaniam 2018-06-19 15:52:42 -07:00
parent 3994829cb0
commit 297170e0bf
12 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1 @@
amd64=debian:stretch

View File

@ -0,0 +1,26 @@
# Copyright 2018 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM BASEIMAGE
RUN apt-get update && apt-get install -y build-essential gfortran
ADD http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz .
RUN tar xzf NPB3.3.1.tar.gz
WORKDIR ./NPB3.3.1/NPB3.3-OMP
RUN cp config/NAS.samples/make.def.gcc_x86 config/make.def
RUN make EP CLASS=D
ENTRYPOINT ./bin/ep.D.x

View File

@ -0,0 +1,16 @@
## NAS Parallel Benchmark Suite - Embarrassingly Parallel (EP) Benchmark
The container image described here runs the EP benchmark from the
[NAS parallel benchmark suite.](https://www.nas.nasa.gov/publications/npb.html)
This image is used as a workload in in node performance testing.
## How to release:
```
# Build
$ cd $K8S_ROOT/test/images
$ make all WHAT=node-perf/npb-ep
# Push
$ cd $K8S_ROOT/test/images
$ make all-push WHAT=node-perf/npb-ep
```

View File

@ -0,0 +1 @@
1.0

View File

@ -0,0 +1 @@
amd64=debian:stretch

View File

@ -0,0 +1,26 @@
# Copyright 2018 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM BASEIMAGE
RUN apt-get update && apt-get install -y build-essential
ADD http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz .
RUN tar xzf NPB3.3.1.tar.gz
WORKDIR ./NPB3.3.1/NPB3.3-OMP
RUN cp config/NAS.samples/make.def.gcc_x86 config/make.def
RUN make IS CLASS=D
ENTRYPOINT ./bin/is.D.x

View File

@ -0,0 +1,16 @@
## NAS Parallel Benchmark Suite - Integer Sort (IS) Benchmark
The container image described here runs the IS benchmark from the
[NAS parallel benchmark suite.](https://www.nas.nasa.gov/publications/npb.html)
This image is used as a workload in in node performance testing.
## How to release:
```
# Build
$ cd $K8S_ROOT/test/images
$ make all WHAT=node-perf/npb-is
# Push
$ cd $K8S_ROOT/test/images
$ make all-push WHAT=node-perf/npb-is
```

View File

@ -0,0 +1 @@
1.0

View File

@ -0,0 +1 @@
amd64=python:3.6-slim-stretch

View File

@ -0,0 +1,24 @@
# Copyright 2018 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM BASEIMAGE
RUN apt-get update && apt-get install -y git time
RUN pip install tensorflow
RUN git clone https://github.com/tensorflow/models.git
WORKDIR $HOME/models/official/wide_deep
RUN git checkout tags/v1.9.0
ENV PYTHONPATH $PYTHONPATH:$HOME/models
ENTRYPOINT python ./wide_deep.py

View File

@ -0,0 +1,17 @@
## Tensorflow Official Wide Deep Model
The container image described here predicts the income using the census income dataset in Tensorflow. For more
information, see
[https://github.com/tensorflow/models/tree/master/official/wide_deep](https://github.com/tensorflow/models/tree/master/official/wide_deep).
This image is used as a workload in in node performance testing.
## How to release:
```
# Build
$ cd $K8S_ROOT/test/images
$ make all WHAT=node-perf/tf-wide-deep
# Push
$ cd $K8S_ROOT/test/images
$ make all-push WHAT=node-perf/tf-wide-deep
```

View File

@ -0,0 +1 @@
1.0