Turn shm-monitor off by default

resolves #459
This commit is contained in:
Alexey Rybalchenko
2023-02-24 11:49:57 +01:00
committed by Dennis Klein
parent 61d2797971
commit 45663189a9
24 changed files with 66 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ auto RunPair(string transport) -> void
cmd << runTestDevice
<< " --id pairleft_" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"
@@ -52,6 +53,7 @@ auto RunPair(string transport) -> void
cmd << runTestDevice
<< " --id pairright_" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"

View File

@@ -34,6 +34,7 @@ auto RunPushPull(string transport) -> void
cmd << runTestDevice
<< " --id push_" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"
@@ -47,6 +48,7 @@ auto RunPushPull(string transport) -> void
cmd << runTestDevice
<< " --id pull_" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"

View File

@@ -30,6 +30,7 @@ auto RunSingleThreadedMultipart(string transport, string address1, string addres
fair::mq::ProgOptions config;
config.SetProperty<string>("session", tools::Uuid());
config.SetProperty<size_t>("shm-segment-size", 100000000);
config.SetProperty<bool>("shm-monitor", true);
auto factory = TransportFactory::CreateTransportFactory(transport, tools::Uuid(), &config);
@@ -109,6 +110,7 @@ auto RunMultiThreadedMultipart(string transport, string address1) -> void
config.SetProperty<string>("session", tools::Uuid());
config.SetProperty<int>("io-threads", 1);
config.SetProperty<size_t>("shm-segment-size", 20000000); // NOLINT
config.SetProperty<bool>("shm-monitor", true);
auto factory = TransportFactory::CreateTransportFactory(transport, tools::Uuid(), &config);

View File

@@ -34,6 +34,7 @@ auto RunReqRep(string transport) -> void
cmd << runTestDevice
<< " --id rep_" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"
@@ -47,6 +48,7 @@ auto RunReqRep(string transport) -> void
cmd << runTestDevice
<< " --id req_1" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"
@@ -60,6 +62,7 @@ auto RunReqRep(string transport) -> void
cmd << runTestDevice
<< " --id req_2" << transport
<< " --control static"
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
<< " --color false"