Quote:
Original post by hplus0603
Just a brief addition: the reason packet size matters for latency, is that you have to have all the data of the packet before sending it, which is when you send the first byte -- but you have to receive all the data (i e, receive the last byte) before you can even start looking at the first byte of data.
The problem is, we've gone off into theoreticals while ignoring the fact that nobody sends 56000 bytes and calls it a 'packet'! For reasonably-sized packets the size factor is dwarfed by the network speed factor.
Wave originally said, "I've heard that there is no latency difference in sending 10 byte packets compared to 150 byte packets", and that was the context in which I answered. A 56K modem - presumably the slowest link in the chain - would take less than 0.2ms to send/receive 10 bytes and less than 3ms to receive 150 bytes. And that's on 56k - on DSL or cable, again as Wave said "I aim for cable modems", it's going to be even less. So at the relative packet sizes mentioned in the example, well short of the usual MTU, the difference is surely almost entirely independent of packet size.