Let's say I have a 1Gbps bandwidth NIC. Can I mathematically derive what would my network latency be just from the bandwidth number?
2 Answers
These are 2 different concepts.
More bandwidth means carrying more stuff in the same time (provided the whole link from your NIC to the server NIC is fast enough).
Network latency is the time it takes for data to go from your NIC to the server (destination) NIC (usually linked to the distance between the two, but not only).
- 5,778
Bandwidth and latency are not tied together, so there isn't a mathematical way to compute it.
Bandwidth is how much data you can cram onto the wire. Latency is how long takes the data to reach it's destination.
Think of it like this. If you have a 100mbit connection between you and the destination, but that destination is only 10 feet away, the data would get there very fast. But, lets say the destination was 100 miles away. It would take longer to get there. Add on top of that delays added by network equipment between you and the destination. Even 100mbit routers and switches add a tiny bit of delay in order to process the packets that flow through them. So, if you bounced through two switches and two routers, each adding 1ms of delay, you'd have 4ms delay even at 100mbit.
- 470