CAMP: Cost-Aware Multiparty Session Protocols

作者: Nobuko Yoshida , David Castro-Perez

DOI: 10.1145/3428223

关键词:

摘要: This paper presents CAMP, a new static performance analysis framework for message-passing concurrent and distributed systems, based on the theory of multiparty session types (MPST). Understanding run-time systems is great importance identification bottlenecks optimisation opportunities. In setting, these are generally communication overheads synchronisation times. Despite its importance, reasoning about intensional properties software, such as performance, has received little attention, compared to verifying extensional properties, correctness. Behavioural protocol specifications sessions capture not only extensional, but also systems. CAMP augments MPST with annotations latency local computation cost, defined estimated execution times, that we use extract cost equations from descriptions. extendable analyse asynchronous built recent advance type theories. We apply our tool different existing benchmarks cases in literature wide range protocols, implemented C, MPI-C, Scala, Go, OCaml. Our show that, most cases, predict an upper-bound real costs < 15% error.

参考文章(54)
Romain Demangeon, Kohei Honda, Nested protocols in session types international conference on concurrency theory. pp. 272- 286 ,(2012) , 10.1007/978-3-642-32940-1_20
Joseph Bowbeer, Doug Lea, Tim Peierls, Brian Goetz, Joshua Bloch, David Holmes, Java Concurrency in Practice ,(2006)
Laura Bocchi, Weizhen Yang, Nobuko Yoshida, Timed Multiparty Session Types CONCUR 2014 – Concurrency Theory. pp. 419- 434 ,(2014) , 10.1007/978-3-662-44584-6_29
Nicholas Ng, Jose Gabriel de Figueiredo Coutinho, Nobuko Yoshida, Protocols by Default compiler construction. pp. 212- 232 ,(2015) , 10.1007/978-3-662-46663-6_11
Mario Coppo, Mariangiola Dezani-Ciancaglini, Luca Padovani, Nobuko Yoshida, A Gentle Introduction to Multiparty Asynchronous Session Types formal methods. ,vol. 9104, pp. 146- 178 ,(2015) , 10.1007/978-3-319-18941-3_4
Jan Hoffmann, Zhong Shao, Automatic Static Cost Analysis for Parallel Programs european symposium on programming. pp. 132- 157 ,(2015) , 10.1007/978-3-662-46669-8_6
Nobuko Yoshida, Vasco Vasconcelos, Hervé Paulino, Kohei Honda, Session-Based Compilation Framework for Multicore Programming formal methods. pp. 226- 246 ,(2009) , 10.1007/978-3-642-04167-9_12
Benjamin C. Pierce, Types and Programming Languages ,(2002)
Álvaro J. Rebón Portillo, Kevin Hammond, Hans-Wolfgang Loidl, Pedro Vasconcelos, Cost analysis using automatic size and time inference implementation and application of functional languages. pp. 232- 247 ,(2002) , 10.1007/3-540-44854-3_15