From: Moiz Raja Date: Sat, 16 Jan 2016 02:13:56 +0000 (-0800) Subject: Add notification-dispatcher configuration for default akka.conf. X-Git-Tag: release/boron~403 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=2b7d2365c64087cfce66196bf0bf5857c0a4c315 Add notification-dispatcher configuration for default akka.conf. Change-Id: I9d4983b9d435f527738a84aa03904f23ec2237c1 Signed-off-by: Moiz Raja --- 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"]