Ask Your Question

How to calculate the throughput of the received packets in wireshark?

asked 2018-05-24 10:41:59 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

How to calculate the throughput of the received packets in wireshark?

Hi I am do packet analysis of the packets received from the FPGA Ethernet module using Wireshark



FPGA (MAC) --> PHY(external) --> RJ45 connector --> PC(wireshark)

I am transmitting raw data @ 1Gbps rate from the FPGA to be captured on the wireshark, I am able to see the packets and analyse, I have captured the statistics --> summary --> Avg.Mbit/Sec = 730Mbps, against 1Gbps rate we are transmitting. Is this the correct method to check the data rate.



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-24 17:49:02 +0000

Christian_R gravatar image

updated 2018-05-24 18:44:24 +0000

You are lucky that you were able to capture that high amount of data. Wireshark shows you the Layer2 throughput. So for example if your frames are 64Byte long, then your maximum possible Layer2 throughput will be 761 MBit/s but on Layer1 it represents 1Gbit/s.

Furthermore it is possible, that Wireshark has dropped some frames while capturing, watch out for dropped frames counter. Have you tried the same with tcpdump or windump?

edit flag offensive delete link more


Hi Christian,

Thanks for the reply. Observation: Throughput @ 1522 octets data packet - 730Mbps Throughput @ 64 octets data packet - 710 Mbps

Though theoretically it should improve the throughput - I see 20Mbps jump only.

Layer 2 Ethernet frame has 20 octets overhead, Hence

64octets/84 octets = 761Mbps

1522/1542 = 987Mbps, whereas achieved is only 730Mbps.

Let me work on this more and update you.

Regards, Chethan

Che gravatar imageChe ( 2018-05-25 11:30:17 +0000 )edit

Btw what do you exactly mean with phy external?

Christian_R gravatar imageChristian_R ( 2018-05-25 15:59:58 +0000 )edit

Hi Christian,

Btw what do you exactly mean with phy external?

FPGA has only the MAC in it. We have PHY external to the MAC - Phy is a separate Microchip IC mounted on the board.

Regards, Chethan

Che gravatar imageChe ( 2018-05-26 05:06:59 +0000 )edit

What seems interesting to me here is, that you are able to capture >700MBit/s with Wireshark. It is more than I have ever reached. The question is still is the capture setup the limit or is your Device under test the limiter.

So easiest way to find out, would be from my point of to use proffessional capture equipment.

Christian_R gravatar imageChristian_R ( 2018-05-26 10:58:19 +0000 )edit

Hi Christian,

So >700Mbps is a good throughput to be captured in wireshark. Can you suggest us some professional equipment to capture the packets.

Regards, Chethan

Che gravatar imageChe ( 2018-05-30 06:12:29 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-05-24 10:41:59 +0000

Seen: 8,971 times

Last updated: May 25 '18