On Mon, May 22, 2006 at 07:51:33PM +0800, [EMAIL PROTECTED] wrote:
>     I want to transmit data between host A and host B. The link between
> these two hosts is really bad: PING reports 30% packet loss

How big are the pings? Try

    ping -c100 -s1472 x.x.x.x

to send 1500-byte pings (20 bytes IP header + 8 bytes ICMP header + 1472
bytes padding). This will give you a more realistic indication of packet
loss for TCP transfers than the small pings you get by default.

TCP performs really, really badly on packet loss over 5%. I don't think that
any amount of tweaking will cope with 30% packet loss.

Perhaps a mechanism which sends each packet 3 times would work, but then
tripling the load on your link will increase your packet loss even more,
perhaps leading to total collapse.

Regards,

Brian.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to