From 92afaeb4a959ea5a6a072fe3ed7a01088d703e0b Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Tue, 31 Jan 2017 10:00:51 +0100 Subject: HONEYCOMB-293 - Memory benchmarking Contains configuration for benchmarks: - Honeycomb on rest(just infra, no data) - Honeycomb with 1000 data nodes - Honeycomb with 10000 data nodes Each benchmark outputs two files: - out_path_name-HeapMemoryUsage.csv - out_path_name-NonHeapMemoryUsage.csv Both files are in format : committed,init,max,used 109576192,109051904,1525153792,12194752 Data sample sizes can be easily adjusted, just by changing start parameter -DsampleSize Change-Id: If6f9919307574237689326b4a38d410ec563200a Signed-off-by: Marek Gradzki Signed-off-by: Jan Srnicek --- infra/it/memory-benchmark-api/asciidoc/Readme.adoc | 5 +++++ infra/it/memory-benchmark-api/pom.xml | 15 +++++++++++++++ .../src/main/yang/memory-benchmark.yang | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 infra/it/memory-benchmark-api/asciidoc/Readme.adoc create mode 100644 infra/it/memory-benchmark-api/pom.xml create mode 100644 infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang (limited to 'infra/it/memory-benchmark-api') diff --git a/infra/it/memory-benchmark-api/asciidoc/Readme.adoc b/infra/it/memory-benchmark-api/asciidoc/Readme.adoc new file mode 100644 index 000000000..c63073613 --- /dev/null +++ b/infra/it/memory-benchmark-api/asciidoc/Readme.adoc @@ -0,0 +1,5 @@ += memory-benchmark-api + +Overview of memory-benchmark-api + +Provides test models for honeycomb memory benchmark. \ No newline at end of file diff --git a/infra/it/memory-benchmark-api/pom.xml b/infra/it/memory-benchmark-api/pom.xml new file mode 100644 index 000000000..8b92303ec --- /dev/null +++ b/infra/it/memory-benchmark-api/pom.xml @@ -0,0 +1,15 @@ + + + + api-parent + io.fd.honeycomb.common + 1.17.04-SNAPSHOT + + 4.0.0 + + io.fd.honeycomb.it + memory-benchmark-api + 1.17.04-SNAPSHOT + \ No newline at end of file diff --git a/infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang b/infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang new file mode 100644 index 000000000..e01550659 --- /dev/null +++ b/infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang @@ -0,0 +1,19 @@ +module memory-benchmark { + + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:memory:benchmark"; + prefix "mm-bench"; + + revision "2016-12-04" { + description "Memory benchmark test api"; + } + + container config-data { + list config-list { + key name; + leaf name { + type string; + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg