260 likes | 351 Views
Parallel LTL Model Checking. CS 586. The Capacity Problem. Capacity = memory states*stateSize. Increase capacity by - Increasing memory - Decreasing states - Decreasing state size. Double DFS in Parallel. Memory available in one machine.
E N D
Parallel LTL Model Checking CS 586
The Capacity Problem Capacity = memory states*stateSize Increase capacity by - Increasing memory - Decreasing states - Decreasing state size
Double DFS in Parallel Memory available in one machine Memory needed to store visited states
DDFS Search order B A C If the dfs2 from A visits C first, then the dfs2 from B will not visit C and will not detect a cycle. Solutions?
Use a different algorithm. Schedule the dfs2 searches Use different bits to mark dfs2 visits ______ ? Solution Ideas
Forget about proving correctness. Each search process is random. Coordinate efforts to find cycles. Coordination scheme should be.. Decentralized Fault-tolerant Better than no coordination at all One Idea
Forager Allocation Problem • Given: • several foraging sites with varying quality • the current needs of the hive • a pool of foragers • Allocate the foragers to: • maximize the collection of needed resources • Without central control.
Scouts multicast their findings Scout performs a waggle dance which is observed by unemployed foragers. Duration and intensity of the dance describe the quality of the patch.
Workers visit patches. A worker will observe a dance and leave for a patch. Returns, unloads and dances. May visit patch again.
Apis Mellifera Bee forager Search flight pattern Flower patch Pollen Waggle dance BEE (bee-based error explorer) Search agent Random walk Accept state Property Violation Multicast Adaptation
Decentralized Cooperative Search B A C Launch n random searches. When one finds an accept state, advertize its location. Listen to and possibly ignore advertizements.
BEE Search BEE BEE controller BEE BEE distribute problem
BEE Search controller multicast an accept state
BEE Search controller more multicasts report an error
BEE Search controller search continues…
BEE Search controller search terminated
Experimental Environment • Classroom laboratory workstations • Lowest priority level • 8 MB of RAM per machine • Compare with isolated parallel random walks to measure advantage of coordination.
Too Much Communication 11 Peterson SS 7
Negative Feedback WATER COLLECTING ACCEPT STATE FORAGING water in hive evaporative cooling time to receive cycle advertisement water seeking by receiver bees recruit to cycle foraging abandon accept state foraging time to find an unloader recruiting to water collecting (waggle dance) abandoning of water collecting