How fast is 127.0.0.1?

You don’t mention a particular OS but for most all that happens is that the data travels down the stack until it gets to IP at which point it’s pretty much sent back. That’s a massive oversimplification but means that the entire process is usually CPU bound so its performance is therefore directly linked to CPU speed plus stack efficiency. In practical terms modern CPUs and OSs should be able to ‘bounce’ loopback traffic considerably faster than 40Gbps – which is the fastest NIC I think I’m capable of buying today. Hope this helps.

Leave a Comment