Packet delivery ratio, Packet Lost, End to end delay with Awk Script

If you evaluate performance of protocol in ns2, first you have define the evoluation criteria 

Packet delivery ratio : the ratio of the number of delivered data packet to the destination. This illustrates the level of delivered data to the destination.
                       ∑ Number of packet receive / ∑ Number of packet send

End-to-end Delay : the average time taken by a data packet to arrive in the destination. It also includes the delay caused by route discovery process and the queue in data packet transmission. Only the data packets that successfully delivered to destinations that counted.
                     ∑ ( arrive time – send time ) / ∑ Number of connections
The lower value of end to end delay means the better performance of the protocol.
Packet Lost : the total number of packets dropped during the simulation.
                Packet lost = Number of packet send – Number of packet received 
Packet Delivery Ratio AWK Download

No comments

Powered by Blogger.