1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/etc/shmem.conf

43 lines
695 B
Text
Raw Permalink Normal View History

2017-04-05 12:52:21 +02:00
# Example configuration for testing the shared memory node.
# Samples are read from a file, passed to the external program
# via shared memory, and written back to an output file.
stats = 1;
debug = 10;
nodes = {
2017-04-06 10:34:31 +02:00
file = {
2017-04-05 12:52:21 +02:00
type = "file",
in = {
2017-04-06 12:12:56 +02:00
uri = "/var/log/villas/input.log",
2017-04-06 10:34:31 +02:00
rate = 2.0,
2017-04-05 12:52:21 +02:00
mode = "r",
},
out = {
2017-04-06 12:12:56 +02:00
uri = "/var/log/villas/output.log",
2017-04-05 12:52:21 +02:00
mode = "w"
},
vectorize = 1
},
shmem = {
type = "shmem",
out_name = "/villas1-out",
in_name = "/villas1-in",
samplelen = 4,
queuelen = 32,
polling = false,
2017-04-05 12:52:21 +02:00
vectorize = 1
}
};
paths = (
{
2017-04-06 10:34:31 +02:00
in = "file",
2017-04-05 12:52:21 +02:00
out = "shmem",
2017-04-06 10:34:31 +02:00
reverse = true,
2017-05-07 22:50:50 +02:00
hooks = (
{ priority = 10, type = "print" }
)
2017-04-05 12:52:21 +02:00
}
);