13 The simplest possible configuration for asynchronous scheduling of single blocking algorithm. 17 from Configurables
import HiveWhiteBoard, HiveSlimEventLoopMgr, AvalancheSchedulerSvc, CPUCruncher, CPUCrunchSvc
23 blockingAlgosInFlight = 3
25 CPUCrunchSvc(shortCalib=
True)
27 whiteboard = HiveWhiteBoard(
28 "EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
30 slimeventloopmgr = HiveSlimEventLoopMgr(
31 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO)
33 AvalancheSchedulerSvc(
34 ThreadPoolSize=algosInFlight,
35 PreemptiveIOBoundTasks=
True,
36 MaxIOBoundAlgosInFlight=blockingAlgosInFlight,
39 blockingAlg = CPUCruncher(
51 EventLoop=slimeventloopmgr,
53 MessageSvcType=
"InertMessageSvc",
The Application Manager class.