From 2b7d2365c64087cfce66196bf0bf5857c0a4c315 Mon Sep 17 00:00:00 2001 From: Moiz Raja Date: Fri, 15 Jan 2016 18:13:56 -0800 Subject: [PATCH] Add notification-dispatcher configuration for default akka.conf. Change-Id: I9d4983b9d435f527738a84aa03904f23ec2237c1 Signed-off-by: Moiz Raja --- .../src/main/resources/initial/akka.conf | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf index 2f8f9cd198..b15b5bc30c 100644 --- a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf +++ b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf @@ -8,6 +8,26 @@ odl-cluster-data { metric-capture-enabled = true + notification-dispatcher { + # Dispatcher is the name of the event-based dispatcher + type = Dispatcher + # What kind of ExecutionService to use + executor = "fork-join-executor" + # Configuration for the fork join pool + fork-join-executor { + # Min number of threads to cap factor-based parallelism number to + parallelism-min = 2 + # Parallelism (threads) ... ceil(available processors * factor) + parallelism-factor = 3.0 + # Max number of threads to cap factor-based parallelism number to + parallelism-max = 15 + } + # Throughput defines the maximum number of messages to be + # processed per actor before the thread jumps to the next actor. + # Set to 1 for as fair as possible. + throughput = 1 + } + akka { loglevel = "INFO" loggers = ["akka.event.slf4j.Slf4jLogger"] -- 2.36.6