How Long Will It Take
Lesson 6 of 32 in Coddy's The OSI Model course.
Two different things make a link feel fast. Bandwidth is how many bits fit per second; latency is how long one bit takes to arrive. A satellite link can have huge bandwidth and terrible latency at the same time.
For bulk transfers, bandwidth dominates, and the math is one line: convert the file to bits, divide by the link speed. A 100 MB file is 800 megabits; over a 100 Mbps link that is 800 / 100 = 8 seconds, at best.
Real transfers run slower because of the overhead the upper layers add, which you will meet layer by layer in this course.
Challenge
BeginnerCompute the best-case time, in whole seconds, to move a 100 MB file over a 100 Mbps link, and print just the number.
Expected output:
8Try it yourself
All lessons in The OSI Model
Practice on your own: Terminal playground