MTU和链路带宽之间的差异 [英] difference between MTU and link bandwidth

查看:123
本文介绍了MTU和链路带宽之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

链路最大传输单元最大传输单位和链路带宽之间有什么区别?MTU是指链路可以发送的数据包的最大大小.链路带宽是指链路可以发送的最大位数.他们没有同一件事

what is the difference between a link MTU max transmission unit and a link bandwidth? MTU refers to the max size of a packet that a link can send. link bandwidth refers to the max number of bits that a link can send. arent they the same thing

推荐答案

MTU = 1个数据包的最大大小.例如,以太网是1500个字节.

MTU = maximum size of 1 packet. For example, ethernet is 1500 bytes.

带宽=您可以通过一条链路发送的位数,例如每秒1吉比特.

Bandwidth = bits you can send trough a link, for example, 1 gigabit per second.

因此,要通过一条线发送1兆字节的数据,首先需要将其切成适合该协议的小数据包.因此,您将创建约700个1500字节的数据包,以容纳1兆字节.这些将以指定的带宽通过您的线路.

So to send 1 megabyte of data over a line, you first need to cut it into small packets that fit the protocol. So you will create about 700 packets of 1500 bytes to fit one megabyte into. Those will go over your line at the bandwidth specified.

但是有开销:在TCP/IP中,每个数据包都需要其IP和TCP标头.因此,MTU越小,您需要的数据包就越多,因此报头开销将变得越来越大,这意味着您实际上可以使用更少的总带宽.

But there is overhead: in TCP/IP every packet needs its IP and TCP headers. So the smaller the MTU, the more packets you will need, so the header overhead will become more significant, meaning you can actually use less of the total bandwidth

这篇关于MTU和链路带宽之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆