1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-31 04:04:51 +00:00

Updated demo.

- Hosted demo images in quay.io.
- Added dockerfiles for the demo images.
- Updated readme appropriately.
This commit is contained in:
Balaji Subramaniam 2016-10-03 11:04:10 -07:00 committed by Connor Doyle
parent 320845f8dd
commit 476e889552
7 changed files with 49 additions and 3 deletions

View file

@ -1,6 +1,7 @@
# Demo on Node Feature Discovery
- [Demo Overview](#demo-overview)
- [Instructions to Reproduce the Demo](#instructions-to-reproduce-the-demo)
- [Source for the Demo Images](#source-for-the-demo-images)
## Demo Overview
In order to show the potential performance benefit from the node feature discovery project, we ran an experiment on three identical Kubernetes nodes. Each node consists of a single-socket Intel(R) Xeon(R) D-1521 with eight cores.
@ -75,6 +76,9 @@ Following the above steps will produce the performance and normalized performanc
APPLICATION_NAME can be one of parsec or cloverleaf
```
### Source for the Demo Images
The Dockerfiles for the demo images can be found in [docker-images](docker-images/). The Dockerfile for the PARSEC demo is [Dockerfile-PARSEC](docker-images/Dockerfile-PARSEC) and the CloverLeaf demo is [Dockerfile-CloverLeaf](docker-images/Dockerfile-CloverLeaf). The demo images are hosted in `quay.io` under the `kubernetes_incubator` organization.
<!-- Links -->
[parsec]: http://parsec.cs.princeton.edu/
[ref-1]: http://csl.stanford.edu/~christos/publications/2014.autoturbo.hpca.pdf

View file

@ -0,0 +1,21 @@
#========================================================================
# Copyright 2016 Intel Corporation
# 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 debian:testing
RUN apt-get update && apt-get install build-essential git gfortran -y
RUN git clone --depth 1 https://github.com/UK-MAC/CloverLeaf_OpenMP.git /root/CloverLeaf_OpenMP
RUN cp /root/CloverLeaf_OpenMP/InputDecks/clover_bm_short.in /root/CloverLeaf_OpenMP/clover.in
RUN cd /root/CloverLeaf_OpenMP && make COMPILER=GNU MPI_COMPILER=gfortran C_MPI_COMPILER=gcc
ENV OMP_NUM_THREADS 8
WORKDIR /root/CloverLeaf_OpenMP
ENTRYPOINT ["/bin/bash", "-c", "time ./clover_leaf"]

View file

@ -0,0 +1,21 @@
#========================================================================
# Copyright 2016 Intel Corporation
# 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 debian:testing
RUN apt-get update && apt-get install build-essential -y
ADD http://parsec.cs.princeton.edu/download/3.0/parsec-3.0-core.tar.gz /root/
RUN cd /root; tar -xzf parsec-3.0-core.tar.gz
COPY ./parsec-3.0/ferret/input/input_native.tar /root/parsec-3.0/pkgs/apps/ferret/inputs/
WORKDIR /root/parsec-3.0
RUN ./bin/parsecmgmt -a build -p ferret -c gcc
ENTRYPOINT ["./bin/parsecmgmt", "-a", "run", "-p", "ferret", "-i", "native", "-n", "8"]

View file

@ -7,7 +7,7 @@
"spec": {
"containers": [
{
"image": "intelsdi/node-feature-discovery-APP",
"image": "quay.io/kubernetes_incubator/node-feature-discovery-APP",
"name": "demo-container-parsec-NUM",
"ports": [
{

View file

@ -23,7 +23,7 @@ metadata:
spec:
containers:
- name: demo-container-cloverleaf-NUM
image: intelsdi/node-feature-discovery-APP
image: quay.io/kubernetes_incubator/node-feature-discovery-APP
ports:
- containerPort: 3551
hostPort: 10001

View file

@ -7,7 +7,7 @@
"spec": {
"containers": [
{
"image": "intelsdi/node-feature-discovery-IMG",
"image": "quay.io/kubernetes_incubator/node-feature-discovery-IMG",
"name": "demo-container-APP-NUM",
"ports": [
{