Database of Case Studies Achieved Using CADP

rel/REL Protocol for Reliable Atomic Multicast.

Organisation: Hewlett-Packard (Bristol, UK), LGI/IMAG (Grenoble, FRANCE)

Method: LOTOS

Tools used: CADP (Construction and Analysis of Distributed Processes)

Domain: Distributed Systems. Multicast Protocols.

Period: 1991

Size: 324 lines of LOTOS.

Description:

Designed as a part of the Arjuna distributed operating system, the rel/REL protocol [1] provides a reliable atomic multicast service between stations connected by a network. Although these stations may suffer from failures (i.e., they can crash), the rel/REL multicast service should ensure that a message sent by a transmitter is appropriately broadcasted to several receivers.

This case-study was performed in 1991 at the Hewlett-Packard Laboratory in Bristol [2, 3]. A LOTOS description of the rel/REL protocol was produced (approx. 300 lines). Describing the rel/REL protocol in LOTOS proved to be straightforward. The difficult point in was to model the fact that a station may crash at any moment: this problem was solved using the disabling operator provided by LOTOS, which is perfectly appropriate for this purpose.

The service provided by the protocol is expressed by two properties: atomicity (meaning that either all receivers get the message, or none of them) and causality (the order of messages is preserved). To prove these properties, various correctness-preserving abstractions were made on the LOTOS description. On the basis of these abstractions, several labelled transition systems were generated using the CAESAR compiler, and assuling a finite number of stations.

The atomicity property was verified using temporal logic. The causality property was verified using comparison modulo safety equivalence.

Conclusions:

The formal verification of the rel/REL protocol revealed ambiguities in the informal description of the protocol. Furthermore, it provided additional information to implementors: for instance, it showed that message queues are always of bounded size; the value of the upper-bound was discovered automatically.

More recently (in 1996-97), a new verification experiment was carried out: the use of compositional verification allowed to verify a larger version of the rel/REL protocol (i.e. with a greater number of stations) [4].

Publications:
  1. Santosh K. Shrivastava and Paul D. Ezhilchelvan. "rel/REL: A Family of Reliable Multicast Protocol for High-Speed Networks". Technical Report, University of Newcastle, Dept. of Computer Science, U.K., 1990.

  2. Simon Bainbridge and Laurent Mounier. Specification and verification of a reliable multicast protocol. Technical Report HPL-91-163, Hewlett-Packard Laboratories, Bristol, U.K., October 1991.

  3. Jean-Claude Fernandez, Hubert Garavel, Laurent Mounier, Anne Rasse, Carlos Rodriguez, and Joseph Sifakis. A toolbox for the verification of LOTOS programs. In Lori A. Clarke, editor, Proceedings of the 14th International Conference on Software Engineering ICSE'14 (Melbourne, Australia), pages 246-259. ACM, May 1992. Available on-line from the CADP Web site in PDF or PostScript

  4. Jean-Pierre Krimm and Laurent Mounier. "Compositional state space generation from LOTOS programs". In Ed Brinksma, editor, Proceedings of TACAS'97 (Tools and Algorithms for the Construction and Analysis of Systems), Enschede, The Netherlands, April 1997. Springer Verlag. Extended version with proofs available as Research Report VERIMAG RR97-01. Available on-line from the CADP Web site in PDF or PostScript

Contact:
Hubert Garavel
INRIA Rhone-Alpes
655 avenue de l'Europe
F-38330 Montbonnot Saint-Martin
FRANCE
Tel: +33 4 76 61 52 24
Fax: +33 4 76 61 52 52
E-mail: Hubert.Garavel@inria.fr
-
Laurent Mounier
VERIMAG
Centre Equation
2, avenue de Vignate
F-38610 Gieres
FRANCE
tel : +(33) 4 76 63 48 52
fax : +(33) 4 76 63 48 50
E-mail : Laurent.Mounier@imag.fr



Further remarks: The LOTOS sources as well as explanations on the verification with CADP are available on-line at:

This case study, amongst others, is described on the CADP Web site: http://cadp.inria.fr/case-studies


Last modified: Mon Apr 18 14:01:52 2022.


Back to the CADP case studies page