Realistic simulations were carried over in order to compare the Centrality-based Eventual Leader (CEL) algorithm, with the Ω eventual leader election algorithm of Gómez-Calzado et al. [Góm+13] (see Section 3.2.2).
Experiments were conducted on a C++ discrete event simulator called OMNeT++ [VH08], with the INET framework [MVK19] to model wireless protocols and mobile networks. This environment allows simulation of unreliable communication channels and realistic layers of the OSI communication model. Each experiment involves 60 moving nodes placed in a 500 × 500 meters obstacle-free area during 30 simulated minutes. The experiments were conducted using OMNeT++ in console-mode on remote servers, but a graphical interface shown in 5.1 was mainly used for development purposes.
Simulations consider a full MANET network stack, with the physical and data-link layers following the IEEE 802.11n specifications [09]. The use of a cross-layer mechanism at the MAC level allows the application layer to access neighbor’s MAC addresses. Therefore, the identifier of a node is a MAC address, encoded on 3 bytes rather than usually 6 bytes, as it is assumed that all nodes have network components from the same manufacturer. Every node uses a single transceiver, with a fixed transmission range decided at the beginning of the experiment between 20 and 80 meters, and identical for all nodes. This transceiver uses the 2.4 GHz frequency band, with a nominal bitrate of 52 Mbps.
In CEL, beacon messages are sent by the data-link layer every τ = 102.4 milliseconds (usual interval value of the Target Beacon Transmission Time), and are detected at the MAC level by the cross-layer mechanism.
The following two configurations of the algorithm were used for evaluation:
In Gómez-Calzado et al. algorithm, the frequency to send either join messages when a node is unconnected, or leader messages, is 102.4ms, as both are considered beacon messages. The timers detecting leader failure and node disconnection have an initial value (100ms) which is increased by 500ms when they expire. Since the original paper does not give any indication on the parameter values, these values were chosen after running several experiments using different values, as they were the most favorable to Gómez-Calzado et al. algorithm.
Experiments use two mobility models from BonnMotion [Asc+10], a Java mobility scenario generation tool: