From 64954a510b3a62f03a181027e49dd881b7ab88f9 Mon Sep 17 00:00:00 2001 From: Botao Sun Date: Fri, 17 Oct 2014 23:41:27 +1100 Subject: openem.sh and openem.yaml: Delete Delete OpenEM Test from Linux Linaro ubuntu. This operation is based on the replied email from Maxim Uvarov "OpenEm was pre work for our ODP. At this time we do not need it at all. So it's ok to remove it from repo." Signed-off by: Botao Sun Change-Id: I43cddf533e45800c615d94cbc6683de6f9fcbb6b --- ubuntu/openem.yaml | 33 -------------------------------- ubuntu/scripts/openem.sh | 50 ------------------------------------------------ 2 files changed, 83 deletions(-) delete mode 100644 ubuntu/openem.yaml delete mode 100755 ubuntu/scripts/openem.sh diff --git a/ubuntu/openem.yaml b/ubuntu/openem.yaml deleted file mode 100644 index 91495c8..0000000 --- a/ubuntu/openem.yaml +++ /dev/null @@ -1,33 +0,0 @@ -metadata: - name: openem - format: "Lava-Test-Shell Test Definition 1.0" - description: "Test for open event machine x86." - maintainer: - - maxim.uvarov@linaro.org - os: - - ubuntu - scope: - - functional - devices: - - lng-x86 - -install: - deps: - - python-twisted - - git - - make - - unzip - - gcc - - build-essential - - libc6-dev - - gcc-multilib -run: - steps: - - "cd ubuntu/scripts" - - "bash ./openem.sh" - -parse: - pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" - fixupdict: - PASS: pass - FAIL: fail diff --git a/ubuntu/scripts/openem.sh b/ubuntu/scripts/openem.sh deleted file mode 100755 index 85b12d9..0000000 --- a/ubuntu/scripts/openem.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -x - -mount -t tmpfs none /dev/shm -echo 400 > /proc/sys/vm/nr_hugepages - -rm -rf ./Build -mkdir ./Build -cd ./Build - -wget http://people.linaro.org/~maxim.uvarov/Intel_DPDK%20Code_1.5.0_8.zip -unzip Intel_DPDK\ Code_1.5.0_8.zip -mv DPDK-1.5.0 DPDK_1.5.0-8 - -git clone git://git.linaro.org/lng/eventmachine-code.git eventmachine-code.git - -patch -p0 < ./eventmachine-code.git/misc/linux-generic/patch/DPDK_1.5.0-8-linux-generic.patch -cd DPDK_1.5.0-8 - -sed -i 's/CONFIG_RTE_MAX_MEMZONE=2560/CONFIG_RTE_MAX_MEMZONE=131072/' ./config/defconfig_* -sed -i 's/CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512/CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=2048/' ./config/defconfig_* -sed -i 's/CONFIG_RTE_MBUF_SCATTER_GATHER=y/CONFIG_RTE_MBUF_SCATTER_GATHER=n/' ./config/defconfig_* -sed -i 's/CONFIG_RTE_MBUF_REFCNT_ATOMIC=y/CONFIG_RTE_MBUF_REFCNT_ATOMIC=n/' ./config/defconfig_* -sed -i 's/CONFIG_RTE_PKTMBUF_HEADROOM=128/CONFIG_RTE_PKTMBUF_HEADROOM=192/' ./config/defconfig_* -make install T=generic_32-default-linuxapp-gcc - -export RTE_SDK=`pwd` -export RTE_TARGET=generic_32-default-linuxapp-gcc -#export RTE_TARGET=generic_64-default-linuxapp-gcc - -mkdir /mnt/huge -umount /mnt/huge -mount -t hugetlbfs nodev /mnt/huge - -#EM -cd ../eventmachine-code.git/event_test/example/linux-generic -make real_clean && make em_clean -make - -#run some tests: -./build/hello -c 0xfe -n 4 -- -p | head -n 500 # (Run 'hello' on 7 cores using EM process-per-core mode(-p)) -./build/hello -c 0xfcfc -n 4 -- -t | head -n 500 # (Run 'hello' on 12 cores using EM thread-per-core mode(-t)) -./build/perf -c 0xffff -n 4 -- -p | head -n 500 # (Run 'perf' on 16 cores using EM process-per-core mode(-p)) -./build/perf -c 0xfffe -n 4 -- -t | head -n 500 # (Run 'perf' on 15 cores using EM thread-per-core mode(-t)) -./build/event_group -c 0x0c0c -n 4 -- -p | head -n 500 # (Run 'event_group' on 4 cores using EM process-per-core mode(-p)) -./build/event_group -c 0x00f0 -n 4 -- -t | head -n 500 # (Run 'event_group' on 4 cores using EM thread-per-core mode(-t)) -./build/error -c 0x3 -n 4 -- -p |head -n 500 # (Run 'error' on 2 cores using EM process-per-core mode(-p)) -./build/error -c 0x2 -n 4 -- -t |head -n 500 # (Run 'error' on 1 core using EM thread-per-core mode(-t)) - -echo "OPENEM TEST END!!!" - -- cgit v1.2.3