Conversion between network transmission speed (BPS) and time required for downloading files

Source: Internet
Author: User

I believe that many comrades are very concerned about the broadband used by their computers to access the Internet, and about the broadband used by organizations to access the Internet!

However, many comrades often misunderstand the speed of network transmission, so they blame network access providers (China Telecom, China Netcom, China tietong, and other units) for deceiving users and limiting the speed of Internet access!

This article will introduce in detail the BPS mentioned in bandwidth and the time needed to download files!

First look!

This is my personal broadband. Note that the speed is"100.0 Mbps";

Here, I want to try to ask a question. At this speed, if it is in the ideal state, then I download100 MBHow long does it take?

If your answer takes one second, you will be wrong and it is totally wrong;

Why? If you do not understand the conversion of these units, can you download one hundred m Files over a M bandwidth in one second based on your Internet experience?

Next, I will give a broken description of the relevant knowledge, hoping to eliminate your doubts and misunderstandings.

The transmission speed in the network is generally measured in BPS, such as 1000 m/BPS, 100 m/BPS, 10 m/BPS, and 2 m/bps, take 100 m/BPS for example!

BPSYesBit per secondIs translated into ChineseBit per secondThat is, the number of bits transmitted in one second. According to this theory, we can easily see that 100 m/BPS refers to the transmission of 100 MB bits per second, that is, 1024 × 1024 × bits;

However, the storage units applied to various computer storage devices are TB, GB, TB, MB, kb, and B.Uppercase letter BRefers to the smallest unit of storage capacity, that is, byte;

1 byte = 8bit
1kb = 1024 bytes
1 MB = 1024 KB
1 GB = 1024 MB
1 TB = 1024 GB

The Byte mentioned here, that is, the byte, is represented by a capital letter B, but is often confused with bps. First, you need to differentiate the two concepts.

So what is the relationship between byte and bit? 1B = 8bit;

Therefore, 100 mb/BPS = 100 Mb/s; that is, 12.5 MB of data is transmitted per second;

To download a 100 MB file at a speed of Mbit/s, it should take the following time in an ideal state:

MB limit 12. 5 Mb/s = 8 s, that is8 seconds;

The above is a comprehensive conversion relationship. If it is a complete formula, it should be:

Transmission speed: 100 m/BPS = 100 × 1024 × 1024 bytes 8byte/S = 104857600 bytes 8byte/S = 13107200 bytes (per second)

Total file size: 100 MB = 100 × 1024 × 1024byte = 104857600 bytes

Therefore, to download a MB file, useTotal file size (total bytes) divided by the number of bytes that can be transferred per secondThat is, (100 × 1024 × 1024byte) bytes (100 × 1024 × 1024 × 8byte/S) = 8 seconds;

Knowledge Extension:

If your network speed is: 10 Mbit/s, how long does it take to download Mbit/s files?

Simple conversion:

10 MB/BPS = 10 Mbps 8 Mb/S = 1.25 Mb/s, that is, 1.25 MB of data can be transmitted per second;

To download a MB file, divide the total number of bytes of the file by the number of bytes transmitted per second, that is, MB bytes 1. 25 Mb/s = 80 s, that is, 80 seconds, equivalent to 1 minute and 20 seconds;

The above conversions all use the ideal state, that is, the fastest speed. However, various network data loss factors may occur in the network application process, and it is impossible to achieveIdealIn general, there will be10% of transmission consumption.

Therefore, the actual time required for downloading 100 MB files at a speed of 1024 Mbps is: (100 × 1024 × 1024byte) bytes (1024 × (100%-10%) Bytes 8byte/s) ≈ 8.888888... Seconds ≈ 9 seconds.

However, when we really download or transfer files, the time required is not only based on the objective factors of network data loss, it also involves a series of factors such as the local network status, communication devices, and server bandwidth. It takes time to download files, it takes more time, more, and more than the approximate ideal state!

Conversion between network transmission speed (BPS) and time required for downloading files

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.