MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER...
-
Upload
violet-walton -
Category
Documents
-
view
218 -
download
0
description
Transcript of MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER...
![Page 1: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/1.jpg)
MULTI-CORE LTSMIN:MARRYING MODULARITY AND SCALABILITY
ALFONS LAARMAN
JOINT WORK WITH:
MICHAEL WEBER
JACO VAN DE POL
11/4/201
Nfm 2011
![Page 2: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/2.jpg)
• LTSmin Design
• Multi-Core Backend
• Concurrent Tree Compression
• Incremental Algorithms
• Experiments
• Future Work
23/4/2010Shared Hashtables in Parallel Model Checking 2
OVERVIEW
![Page 3: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/3.jpg)
23/4/2010 3
LTSMIN: THE MODULAR PARTLTSMIN
Multi-Core LTSmin: Marrying Modularity and Scalability
DVE PROMELA via NIPS μCRL1Language
Frontend:… ETF
PINSLayer:
Caching Regrouping
Process algebraicState based
muCRL2
Internal(symbolic)
SymbolicSequentialDistributedAlgorithms(backend) Multi-core
POR
![Page 4: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/4.jpg)
23/4/2010 4
THE SCALABLE MULTI-CORE PARTPREVIOUS WORK
Multi-Core LTSmin: Marrying Modularity and Scalability
Worker 1 Worker 2
Worker 3Worker 4
PINS
requ
est
Lock
less h
ash t
able
Synchronous Random Polling
![Page 5: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/5.jpg)
23/4/2010 5
MEMORY BECOMES THE PROBLEM (AGAIN)
Multi-Core LTSmin: Marrying Modularity and Scalability
•Store 10^9 state vectors of length up to 10^3 bytes
•With 16 cores the throughput can become 1GB/sec of new state vectors
•States are very similar
Solution:
•Tree compression without losing scalability
•Exploit locality with incremental algorithms
![Page 6: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/6.jpg)
23/4/2010 6
CONCURRENT TREE COMPRESSIONINGREDIENTS
Multi-Core LTSmin: Marrying Modularity and Scalability
Alfons Laarman, Jaco van de Pol and Michael Weber – Parallel Recursive State Compression for Free
(submitted)
![Page 7: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/7.jpg)
23/4/2010 7
INCREMENTAL TREE INSERTIONINGREDIENTS
Multi-Core LTSmin: Marrying Modularity and Scalability
•Incremental insertion exploits locality (log2(N) accesses)
![Page 8: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/8.jpg)
23/4/2010 8
MEMORY USAGEEXPERIMENTS
Multi-Core LTSmin: Marrying Modularity and Scalability
![Page 9: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/9.jpg)
23/4/2010 9
MEMORY USAGEEXPERIMENTS
Multi-Core LTSmin: Marrying Modularity and Scalability
![Page 10: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/10.jpg)
23/4/2010 10
AGGREGATE PERFORMANCE
EXPERIMENTS
Multi-Core LTSmin: Marrying Modularity and Scalability
![Page 11: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/11.jpg)
23/4/2010Shared Hashtables in Parallel Model Checking 11
SUMMARY
Scalable memory-efficient reachability (DFS/BFS) On-the-fly model checking of safety properties
![Page 12: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/12.jpg)
23/4/2010Shared Hashtables in Parallel Model Checking 12
FUTURE WORK
POR PINS layer (benchmarked, published) Multi-Core NDFS Case studies
Download LTSmin (open source):
http://fmt.cs.utwente.nl/tools/ltsmin/
![Page 13: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/13.jpg)
23/4/2010 13
INCREMENTAL HASHING BASED ON ZOBRIST HASHING [1]AN INCREMENTAL ALGORITHM
Multi-Core LTSmin: Marrying Modularity and Scalability
[1] Albert Lindsey Zobrist, A New Hashing Method with Application for Game Playing
♘g1-f3
Hx Hy(Hx ⊕ Z ,g,1♘ ) ⊕ Z ,f,3 ♘ =
![Page 14: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/14.jpg)
arguments:Memory none refs
table - - - - - +
tree + + + + +
23/4/2010Shared Hashtables in Parallel Model Checking 14
COMMAND LINE ARGUMENTS AND THEIR EFFECTLTSMIN
arguments:Runtime none refs
table + + + + -
tree + + - + + -
![Page 15: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/15.jpg)
23/4/2010 15
INCREMENTAL HASHING (CONTINUED)INGREDIENTS
Multi-Core LTSmin: Marrying Modularity and Scalability
•Uses dependency matrix
•Z is now limited by L
![Page 16: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/16.jpg)
23/4/2010 16
LTSMIN: THE MODULAR PARTLTSMIN
Multi-Core LTSmin: Marrying Modularity and Scalability
Traditionally in model checking we have states and a next-state functionA state is an array of slots: <s1,….,sN> ∈ S
The next-state() function provides the transition relation: S → S
In LTSmin, we expose static information of the specification.Partitioned Next-State Interface (PINS): S →K S (K transition groups)
The Dependency Matrix D is a K × N matrix of Booleans relating slots and groups:
DRi,j indicates whether slot j is read by the transitions of group i.
DWi,j indicates whether slot j is written to by the transitions of group i.
Di,j = DRi,j ∨ DW
i,j
![Page 17: MULTI-CORE LTSMIN: MARRYING MODULARITY AND SCALABILITY ALFONS LAARMAN JOINT WORK WITH: MICHAEL WEBER JACO VAN DE POL 11/4/201 Nfm 2011.](https://reader035.fdocuments.us/reader035/viewer/2022081513/5a4d1b737f8b9ab0599b6429/html5/thumbnails/17.jpg)
23/4/2010 17
LTSMIN: THE MODULAR PARTLTSMIN
Multi-Core LTSmin: Marrying Modularity and Scalability
DVE
PROMELAμCRL1
ETF
muCRL2
Multi-core
Distributed
Sequential
Symbolic
PINS interface