mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
update example config
This commit is contained in:
parent
1ecf796cf9
commit
63f309f26a
2 changed files with 30 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue