From 63f309f26a9dc5e131f0c68e052b65b102d2a796 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 16 Sep 2017 17:21:57 +0200 Subject: [PATCH] update example config --- etc/example.conf | 27 ++++++++++++++++++++++++++- etc/global.conf | 6 ++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/etc/example.conf b/etc/example.conf index 0b0f646cd..d1e3981bf 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -210,11 +210,36 @@ nodes = { # Usually we also pass the shmem names as parameters. exec = [ "villas-shmem", "sn1_in", "sn1_out" ] }, - stats_node = { # The "stats" node type streams statistics of a second node + stats_node = { # The "stats" node-type streams statistics of a second node type = "stats", node = "udp_node", rate = "2" + }, + rtt_node = { # The "test_rtt" node-type runs a set of test cases for varying + type = "test_rtt", # sending rates, number of values and generates statistics. + cooldown = 2, # The cooldown time between each test case in seconds + + prefix = "test_rtt", # An optional prefix in the filename + output = "/tmp/results/testA", # The output directory for all results + # The results of each test case will be written to a seperate file. + format = "villas-human", # The output format of the result files. + + cases = ( # The list of test cases + # Each test case can specify a single or an array of rates and values + # If arrays are used, we will generate multiple test cases with all + # possible combinations + { + "rates": 55.0, # The sending rate in Hz + "values": 5, # The number of values which should be send in each sample + "limit": 100 # The number of samples which should be send during this test case + }, + { + "rates": [ 5, 10, 30 ], # An array of rates in Hz + "values": [ 2, 10, 20 ],# An array of number of values + "duration": 5 # The duration of the test case in seconds (depending on the sending rate) + } + ) } }; diff --git a/etc/global.conf b/etc/global.conf index 228c0fc51..496dcd4e0 100644 --- a/etc/global.conf +++ b/etc/global.conf @@ -43,7 +43,7 @@ name = "villas-acs" # The name of this VILLASnode. Might by used by node-typ # to identify themselves (default is the hostname). -log = { +logging = { level = 5; # The level of verbosity for debug messages # Higher number => increased verbosity @@ -52,6 +52,8 @@ log = { # For a full list of available faciltities, check lib/log.c file = "/var/log/villas-node.log"; # File for logs + + syslog = true; # Log to syslogd }; http = { @@ -59,4 +61,4 @@ http = { htdocs = "/villas/web/socket/", # Root directory of internal webserver port = 80 # Port for HTTP connections -} \ No newline at end of file +}