Mbit/s vs MB/s vs MiB/s

Mbit/s的意思是每秒中传输10^6 bit的数据,也写成Mbps
MB/s的意思是每秒中传输10^6 byte的数据
MiB/s的意思是每秒中传输2^20 byte的数据,不太常用
所以如果一个运营商声称自己的传输带宽是1 Mbps的话,
按照MB/s来算的话,它只有0.125 MB/s (megabyte per second);
按照MiB/s来算的话,它更是只有0.1192 MiB/s (mebibyte per second)

具体的换算公式是:
Mbit/s / 8 = MB/s

因为:
Mbit/s = 10^6 bit/s
MiB/s = 2^20 * 8 bit/s
所以:
Mbit/s = MiB/s * 0.1192

refs:
https://en.wikipedia.org/wiki/Data_rate_units
单位转换:
https://toolstud.io/data/bandwidth.php?compare=network&speed=1&speed_unit=Gbps

猜你喜欢

转载自blog.csdn.net/lantianjialiang/article/details/78728268