Tuesday, December 22, 2009

Ethernet Frame Calculations

This is to show you on how to calculate the maximum frames per second that you can achieve in a certain frame size and maximum throughput you can achieve in an FS:

Maximum FrameRate = BW(bits per seconds) / Total FrameSize (FrameSize+Preamble+IFG)*8(bits)

Note: IFG or Inter-Frame Gap is 9.6us = to 12 bytes and preamble which is equivalent to 8 bytes

Example1: To know the maximum frame rate of 64byte framesize for a 1G ethernet

Max FrameRate = 1,000,000,000 / (64 + 8 + 12)*8
= 1,000,000,000 / 84bytes * 8
= 1,000,000,000 / 672
= 1,488,095 frames per second

Througput = FrameRate * FrameSize * 8 (to convert in bits)

Example2: To know the link layer throughput of a 64bytes frame size

Throughput = 1,488,095 * 64 * 8
= 1,488,095 * 512
= 761,904,760 or 761.9mbps

No comments:

Post a Comment