Using Performance Settings

Some parameters or features can directly affect the simulation performance of the SMART MAC model. The following list describes step that you can take to optimize simulation performance.

  • Hidden node detection. Enabling hidden node detection can slow down the simulation performance. If you do not need to capture the hidden node effect, consider disabling this feature in the network model. When hidden node detection is enabled and all nodes in the network are within each other's transmission range (at any time during the simulation), the model automatically skips hidden node detection processing. However, if even a single node is out of range, the hidden node computations are done.
  • When setting the average number of contenders, an integer value yields the fastest performance, followed by a value of "All Nodes in Transmission Range." A value of "All Active Nodes in Transmission Range" produces more intensive simulation computations.
  • Reachability update time and position update time are key attributes for the detection of node movement in the network and for the computation of the reachability sets for each node in the network. The more often these computations occur (that is, the smaller the reachability update time and position distance threshold), the more accurate the determination of which nodes are reachable for all the nodes. Set these values based on the level of mobility in the network:
    • If the nodes move very fast, consider refreshing the reachability sets more often.
    • If the nodes move very slowly, you might not need to update the reachability sets as often. In this case, consider a longer reachability update time.

Sometimes, other simulation performance factors come into play. These factors are not directly caused by SMART MAC performance, but are caused by SMART MAC configuration and how the SMART MAC parameters affect the performance of other modules in a node's stack, such as the IP module. For example, setting no dropping probability for broadcast transmissions in a MANET experiment may cause very intensive processing when frames are received and delivered at the higher layers of the destination nodes. In the "explicit" MAC case, these frames would not even be delivered to the destination due to collisions in the physical layer.