Incremental Hashing for Spin

  • Authors:
  • Viet Yen Nguyen;Theo C. Ruys

  • Affiliations:
  • RWTH Aachen University, Germany;University of Twente, The Netherlands

  • Venue:
  • SPIN '08 Proceedings of the 15th international workshop on Model Checking Software
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper discusses a generalised incremental hashing scheme for explicit state model checkers. The hashing scheme has been implemented into the model checker Spin. The incremental hashing scheme works for Spin's exhaustive and both approximate verification modes: bitstate hashing and hash compaction. An implementation is provided for 32-bit and 64-bit architectures.We performed extensive experiments on the BEEM benchmarks to compare the incremental hash functions against Spin's traditional hash functions. In almost all cases, incremental hashing is faster than traditional hashing. The amount of performance gain depends on several factors, though.We conclude that incremental hashing performs best for the (64-bits) Spin's bitstate hashing mode, on models with large state vectors, and using a verifier, that is optimised by the C compiler.