Back to Zookeeper

Verification Statistics

zookeeper-specifications/protocol-spec/verification-statistics.md

2.2.13.2 KB
Original Source
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. //-->

Verification Statistics

Experiment configuration

Our statistical results include: diameter of the system states that have been traversed, the number of states that have been traversed, the number of different states that have been discovered, and the time spent in the experiment.

The machine configuration used in the experiment is 2.40 GHz, 10-core CPU, 64GB memory. The TLC version number is 1.7.0.

State space constraints in model checking

Due to the state space explosion in model checking and the complex actions of Zab protocol, as well as unlimited number of rounds and unlimited length of history, it is impossible to traverse all states.
We try to let models can tap into larger state space. See CONSTANT Parameters for details.

Verification statistics of model checking
ModeTLC modelDiameternum of statestime of checking(hh:mm:ss)
BFS(2 servers,3 rounds,2 transactions)59775809158317:28:17
Simulation(2 servers,3 rounds,2 transactions)-641282522217:07:20
BFS(3 servers,2 rounds,2 transactions)19427580120609:40:08
Simulation(3 servers,2 rounds,2 transactions)-1089946094220:15:11
BFS(3 servers,2 rounds,3 transactions)22874056621317:49:09
Simulation(3 servers,2 rounds,3 transactions)-963913584220:10:00
BFS(3 servers,3 rounds,2 transactions)21707974434214:17:45
Simulation(3 servers,3 rounds,2 transactions)-625496403915:08:42
BFS(4 servers,3 rounds,2 transactions)16563411248015:42:09
Simulation(4 servers,3 rounds,2 transactions)-388346129115:52:03
Verification statistics with parameters (count of servers, MaxTotalRestartNum, MaxElectionNum, MaxTransactionNum)
ModeTLC modelDiameternum of statestime of checking(hh:mm:ss)
BFS(2,2,3,2,termination)551077264900:02:21
BFS(3,1,1,2)45960201853631:01:57
Issues

Besides, we have found several issues related to the ambiguous description of the Zab protocol. Details can be found at issues.md.