최대 전송 단위: 두 판 사이의 차이

위키백과, 우리 모두의 백과사전.
내용 삭제됨 내용 추가됨
새 문서: 컴퓨터 네트워킹에서, 레이어의 커뮤니케이션 프로토콜의 최대 전송 단위(maximum transmission unit, MTU)란 해당...
 
편집 요약 없음
66번째 줄: 66번째 줄:
==References==
==References==
{{Reflist}}
{{Reflist}}

{{토막글|기술}}

2014년 1월 28일 (화) 17:21 판

컴퓨터 네트워킹에서, 레이어의 커뮤니케이션 프로토콜의 최대 전송 단위(maximum transmission unit, MTU)란 해당 레이어가 전송할 수 있는 최대 프로토콜 데이터 단위의 크기(바이트)이다. MTU 지표는 일반적으로 커뮤니케이션 인터페이스(네트워크 카드, 직렬 포트 등)와 관련되어 나타난다. MTU 크기는 표준(ex. 이더넷(Ethernet))에 의해 결정될 수도 있고, 시스템이 연결 시점에 결정될 수도 있다 (점대점 시리얼 링크(point-to-point serial links)의 경우).

높은 MTU는 더 큰 효율성을 보장하는데 그 이유는, 헤더(header) 또는 패킷 당 지연(per-packet delay)과 같은 고정된 프로토콜 오버헤드(protocol overhead)가 있는 반면, 각각의 패킷은 더 많은 데이터를 전송하기 때문이다. 더 큰 효율성은 대량 프로토콜 처리 성능의 약간의 향상을 의미한다. 또한 더 높은 MTU는 같은 양의 데이터를 처리하기 위해 더 적은 패킷을 사용한다는 것을 의미한다. 일부 시스템에서 패킷당 처리는 퍼포먼스를 제약하는 중요한 요인이 될 수 있다.

그러나 높은 MTU는 몇 가지 단점도 가지고 있다. 큰 패킷은 때로 느린 링크를 점유할 수 있는데, 이는 이후 패킷들의 처리를 지연시킴으로써 지연 및 최소 대기 시간을 증가시킨다. 예를 들어 이더넷에서 허용되는 가장 큰 패킷인 1500 바이트 패킷은 14.4k 모뎀을 약 1초 정도 지연시킨다.

큰 패킷은 또한 전송 과정에서 오류가 발생할 시에도 문제가 된다. 패킷의 단일 비트가 손상될 경우 전체 패킷을 재전송해야 한다. 그런데 정해진 비트 오류율(bit error rate)에서 더 큰 패킷일수록 손상되기 쉽다. 또한 큰 패킷일수록 재전송이 오래 걸린다. 전송 기간에 대한 부정적 효과에도 불구하고, 큰 패킷은 여전히 엔드-투-엔드 TCP 퍼포먼스에 대해서 긍정적인 효과를 가질 수 있다.

주요 매체에서의 최대 전송 단위

주: 이 장에서 명시된 최대 전송 단위는 파편화 없이 전송 가능한 IP 패킷의 최대 크기이다 (IP 헤더는 포함하나 프로토콜 스택의 낮은 단계 헤더는 배제한다). 최대 전송 단위는 모든 호스트가 지켜야 하는 최소 데이터그램 크기와 혼동되어서는 안된다 (IPv4[2]: 576 바이트, IPv6[3]: 1280 바이트).

Media Maximum Transmission Unit (bytes) Notes
Internet IPv4 Path MTU At least 68[1] Practical path MTUs are generally higher. Systems may use Path MTU Discovery[2] to find the actual path MTU.
Internet IPv6 Path MTU At least 1280[3] Practical path MTUs are generally higher. Systems must use Path MTU Discovery[4] to find the actual path MTU.
Ethernet v2 1500[5] Nearly all IP over Ethernet implementations use the Ethernet V2 frame format.
Ethernet with LLC and SNAP, PPPoE 1492[6]
Ethernet Jumbo Frames 1501-9216[7] The limit varies by vendor. For correct interoperation, the whole Ethernet network must have the same MTU. Jumbo frames are usually only seen in special purpose networks. Most commonly, jumbo frames can carry a payload of up to 9000 bytes.
WLAN (802.11) 7981[8]
Token Ring (802.5) 4464
FDDI 4352[2]

References

  1. RFC 791, p. 24, "Every internet module must be able to forward a datagram of 68 octets without further fragmentation."
  2. RFC 1191
  3. RFC 2460
  4. RFC 6145
  5. Network Working Group of the IETF, RFC 894: A Standard for the Transmission of IP Datagrams over Ethernet Networks, Page 1, "The maximum length of the data field of a packet sent over an Ethernet is 1500 octets, thus the maximum length of an IP datagram sent over an Ethernet is 1500 octets.", http://tools.ietf.org/html/rfc894 / ERRATA: http://www.rfc-editor.org/errata_search.php?rfc=894
  6. RFC 1042
  7. Scott Hogg (2013년 3월 6일), 《Jumbo Frames》, Network World, 2013년 8월 5일에 확인함, Most network devices support a jumbo frame size of 9216 bytes. 
  8. IEEE Standard for Information technology— Telecommunications and information exchange between systems Local and metropolitan area networks— Specific requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, Page 413