13 The simplest possible configuration for preemptive scheduling of single blocking algorithm.
16 from Configurables
import (
17 AvalancheSchedulerSvc,
29 blockingAlgosInFlight = 3
31 CPUCrunchSvc(shortCalib=
True)
33 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
35 slimeventloopmgr = HiveSlimEventLoopMgr(
36 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO
39 AvalancheSchedulerSvc(
40 ThreadPoolSize=algosInFlight,
41 PreemptiveBlockingTasks=
True,
42 MaxBlockingAlgosInFlight=blockingAlgosInFlight,
46 blockingAlg = CPUCruncher(
59 EventLoop=slimeventloopmgr,
61 MessageSvcType=
"InertMessageSvc",