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

39 lines
626 B
Text

# 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 = {
file = {
type = "file",
in = {
uri = "/var/log/villas/input.log",
rate = 2.0,
mode = "r",
},
out = {
uri = "/var/log/villas/output.log",
mode = "w"
},
vectorize = 1
},
shmem = {
type = "shmem",
name = "/villas1",
samplelen = 4,
queuelen = 32,
polling = false,
vectorize = 1
}
};
paths = (
{
in = "file",
out = "shmem",
reverse = true,
hook = ["print"]
}
);