3 The simplest possible configuration for asynchronous scheduling of single blocking algorithm. 7 from Configurables
import HiveWhiteBoard, HiveSlimEventLoopMgr, AvalancheSchedulerSvc, CPUCruncher, CPUCrunchSvc
13 blockingAlgosInFlight = 3
15 CPUCrunchSvc(shortCalib=
True)
17 whiteboard = HiveWhiteBoard(
18 "EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
20 slimeventloopmgr = HiveSlimEventLoopMgr(
21 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO)
23 AvalancheSchedulerSvc(
24 ThreadPoolSize=algosInFlight,
25 PreemptiveIOBoundTasks=
True,
26 MaxIOBoundAlgosInFlight=blockingAlgosInFlight,
29 blockingAlg = CPUCruncher(
41 EventLoop=slimeventloopmgr,
43 MessageSvcType=
"InertMessageSvc",
The Application Manager class.