Network Transmission Unit Cognition

Foreword:
We usually talk about broadband, and then we talk about bandwidth, which makes us feel a little bit awkward; and in our actual Internet applications, we often say that broadband of 1 megabyte (M) is pulled, and the download speed is only over 100 KBps. (KB/s) and other broadband speed size words;
OK, because personal knowledge about the network is also relatively lacking, so I write this blog as a summary explanation.

Introduction:
In computer science, the commonly used units are as follows:
bit is the smallest unit that represents information, called binary bits; it is generally represented by 0 and 1.
Byte (Byte) is composed of 8 bits (bit) to form a byte (Byte), which is used to represent a character in the computer.
Conversion between bit and Byte can be carried out, the conversion relationship is:
1Byte=8bit (or abbreviated as: 1B=8b, Chinese pronunciation: 1 byte = 8 bits), their advance rate is 8; b is the abbreviation of bit , Namely "bit", is the smallest storage unit in information technology, one bit represents a "1" or "0"; B is the abbreviation of Byte, that is, "byte", is a smaller storage unit in information technology , An English character occupies one byte, and a Chinese character occupies two bytes.

By analogy: 1MB = 1024KB = 1024 * 1024B (B is byte, Byte);


The average number of bits of data transmitted in a megabit (Mbps) time. The unit is bits per second (bps), or kilobits per second (Kbps), or megabits per second (Mbps). The conversion relationship is: 1Kbps=1024bps ,1Mbps=1024*1024bps (sometimes, for simple calculation, it is recorded as 1Kbps=1000bps, 1Mbps=1000000bps).
The data transmission rate reflects the information processing capability between terminal devices, and it is an average value over a period of time.

So 1Mbps (1 megabit per second) = 0.125M Byte/s (0.125 megabytes per second) = 0.125M Byte/s*1024=128KB/s (128 kilobytes per second)
that is 1Mbps (megabits per second) )=1/8MB/s (one-eighth of a megabyte per second)

Explanation:
1B = 8b
expands by 1024*1024 times at the same time, the equation is always established, namely:
1 MB = 8 Mb

Then the above formula is obtained, 1Mb is transmitted per second, that is: 1/8MB = 0.125MB is transmitted per second, that is:
1Mbps = 0.125 M Byte/s = 1/8M Byte/s * 1024 = 128 KB/s

Summary:
In computer networks or network operators, the general unit of broadband speed is expressed in bps (or b/s) ; bps means bits per second means how many bits of information are transmitted per second, which is the abbreviation of bit per second. In fact, 1M bandwidth means 1Mbps [It is megabits per second (Mbps), not megabytes per second (MBps).

So: The download speed of 100Mbps with 100M bandwidth at home is equal to 12.5MB/s. It's not just being cheated.

Formula conversion:

1B=8b 1B/s=8b/s(或1Bps=8bps)
1KB=1024B 1KB/s=1024B/s
1MB=1024KB 1MB/s=1024KB/s

128KB/s=128×8(Kb/s)=1024Kb/s=1Mb/s 即:128KB/s=1Mb/s。

Tips:
Theoretically: 2M (ie 2Mbps) broadband theoretical rate is: 256KB/s (ie 2048Kb/s), the actual rate is about 103-200KB/s; (The reason is that the user's computer performance, network equipment quality, resource usage It is caused by the influence of many factors such as situation, network peak period, website service capacity, line attenuation, signal attenuation, etc.). The theoretical broadband rate of 4M (ie 4Mbps) is: 512KB/s, and the actual rate is about 200—440KB/s
————————————————
Copyright statement: This article is the CSDN blogger "Ryan -Fighting at the fingertips" the original article, in accordance with the CC 4.0 BY-SA copyright agreement, please attach the original source link and this statement for reprinting.
Original link: https://blog.csdn.net/peaceful000/article/details/52146015

Guess you like

Origin blog.csdn.net/Connor_xie/article/details/100171334