Comments after using Wireshark to sniff on the packets being sent:

On 20 Oct 2011, at 16:10, Emmanuel Lecharny wrote:

> Each message sent and received on ethernet will use 1500 bytes, even if you 
> transmit only one byte of data.

This is not correct.

Using MINA's "no delay" option and sending around 439 bytes of data the 
Ethernet frame captured by Wireshark reports a total frame length of 505 bytes.

(505 = 6 (MAC) + 6 (MAC) + 2 (Type) + 20 (IP header) + 32 (TCP header) + 439 
(data))

If I enable Nagle's algorithm, several messages get crammed into a single 
ethernet frame (up to the aforementioned MTU value).

Just thought I'd share my findings...

Zigor.

Reply via email to