전송기술
IP Rate 구하는 공식
트릭맨
2012. 4. 4. 12:41
이더넷에서 IP Rate를 구하는 공식은 아래와 같다.
Interface type : | 1GbE | |||
Framing mode : | Ethernet (V2) | |||
Line Rate : | 1000 | Mbit/s | ||
Packet Contents : | ||||
MPLS | 0 | bytes | ||
Layer 2 | ||||
LLC/SNAP header | 0 | bytes | ||
SA + DA + Protocol + FCS | 18 | bytes | ||
Preamble + SOF | 8 | bytes | ||
IFG | 12 | bytes | ||
MPLS | bytes | |||
Layer 3 | ||||
IP packet length | 46 | bytes (최소) |
||
Maximum IP packets/s | 1488095.24 | packets/s | ||
Maximum IP throughput | 547.62 | Mbits/s |
CALCULATION DETAILS : | |||||
SA + DA + Protocol + FCS : Source Address (6 bytes) + Destination Address (6 bytes) + Protocol Field (2 bytes) + FCS (4 bytes) | |||||
Preamble + SOF : Preamble (7 bytes) + Start-of-Frame Deilmiter (1 byte) | |||||
IFG : Interframe Gap (12 bytes for 1GbE) | |||||
Maximum IP packets/s : Line Rate / (Layer 2 overhead + Layer 3 packet length) | |||||
Maximum IP throughput : Line Rate * Layer 3 packet length / (Layer 2 overhead + Layer 3 packet length) |
위의 값을 기준으로 했을 때
Maximum IP Packets/s = (1000 / (18 + 8 + 12 + 46)) * (1000000 / 8) = 1488095.24
이더넷에서 64bytes/Frame를 기준으로 GbE의 절체 시간(50ms) 만족하려면
(50 / 1000) * 1488095 = (약) 74404 frame 정도의 손실이 최대 허용값이다.