packet error rate

49 views
Skip to first unread message

zeena usama

unread,
Jun 29, 2022, 10:36:14 AM6/29/22
to OMNeT++ Users
hello

dose anyone know how can i calculate the Packet error rate based on the PDR or the number of correctly revived and total sending packet

thanks

Alfonso Ariza Quintana

unread,
Jun 29, 2022, 10:48:57 AM6/29/22
to omn...@googlegroups.com
Packet Error rate = 1-PDR = 1 - (total packet received/ total packets sent)

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de zeena usama <zeena....@gmail.com>
Enviado: miércoles, 29 de junio de 2022 16:36
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] packet error rate
 
hello

dose anyone know how can i calculate the Packet error rate based on the PDR or the number of correctly revived and total sending packet

thanks

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/1b131ff6-98ce-4491-a83d-7c0ae75c637en%40googlegroups.com.

zeena usama

unread,
Jun 29, 2022, 11:13:47 AM6/29/22
to omn...@googlegroups.com
Okay thanks

Same as paket loss right?
(Packet send - packer received)/ Packet send 

You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/fuoq7MNGW8s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/AM6PR0602MB33831EF89CBAFDE62E305CF18CBB9%40AM6PR0602MB3383.eurprd06.prod.outlook.com.

Alfonso Ariza Quintana

unread,
Jun 29, 2022, 11:42:16 AM6/29/22
to omn...@googlegroups.com
The measure that you can easily is packet loss, the error rate is more complex, and you need to measure it in the link layer it is a measure that can change very quickly, in a wireless channel most of the errors are produced by interference (collisions) of other nodes. In a point-to-point wired (for example optic fiber) the error rate is a parameter.

Enviado: miércoles, 29 de junio de 2022 17:13
Para: omn...@googlegroups.com <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] packet error rate
 

zeena usama

unread,
Jun 29, 2022, 11:52:06 AM6/29/22
to omn...@googlegroups.com

serap bakioglu

unread,
Jun 30, 2022, 3:42:01 AM6/30/22
to OMNeT++ Users
What about channel access delay?
How can we calculate this?

29 Haziran 2022 Çarşamba tarihinde saat 17:52:06 UTC+2 itibarıyla zeena....@gmail.com şunları yazdı:

Alfonso Ariza Quintana

unread,
Jun 30, 2022, 4:19:37 AM6/30/22
to omn...@googlegroups.com
You can modify the mac layer to measure it.
But you can consider two possible values, the time the packet arrives at the mac until the packet is transmitted, or the time that the packet is ready to transmit until the packet is transmitted. 

Using tags is relatively easy to include the code modifications to measure any of them or both

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de serap bakioglu <serapb...@gmail.com>
Enviado: jueves, 30 de junio de 2022 9:42
Para: OMNeT++ Users <omn...@googlegroups.com>

serap bakioglu

unread,
Jul 4, 2022, 4:20:44 PM7/4/22
to OMNeT++ Users
Thanks for your advice Alfonzo,
The second option is more acceptible as channel access delay.
Because as far as I know, in mac layer we have two basic delay as queueing delay and access delay.

Unfourtanetly, I could not get succeed to do this according to your comment.
Is there any example project from other frameworks for MAC Layer for getting different results, outputs?

Best regards,
Thank you

30 Haziran 2022 Perşembe tarihinde saat 10:19:37 UTC+2 itibarıyla Alfonso Ariza Quintana şunları yazdı:

Alfonso Ariza Quintana

unread,
Jul 5, 2022, 4:13:01 AM7/5/22
to omn...@googlegroups.com
The modifications can be done in the mac layer, you need to set the time when the packet is extracted from the queue
void InProgressFrames::ensureHasFrameToTransmit()

Reception is a bit more complex because you can only measure if the packet is received correctly and the packet could be needed to be retransmitted several times, it is possible to cheat and read the data on the radio when the packet is received with indecency if the packet is correct.

Enviado: lunes, 4 de julio de 2022 22:20
Reply all
Reply to author
Forward
0 new messages