Packet Loss Under FreeBSD 7.0

Chuck Swiger cswiger at mac.com
Fri Dec 19 11:46:36 PST 2008


On Dec 19, 2008, at 9:42 AM, richard lll wrote:
> I am new to FreeBSD and I am developing a program that does heavy  
> use of UDP multicast over the LAN. This program is incurring 90-100  
> percent packet loss on FreeBSD. Packet loss occurs even when a I  
> send just 3 packets. When I send 1000 packets I get 100% packet  
> loss. netstat on FreeBSD shows all the packets, but none/few make it  
> to my program.

How are you sending your traffic?  send() over a socket(), or via BPF  
or something else?

Does adding something like a usleep(1000) call after each packet being  
sent do anything to help with the packet lossage?

Regards,
-- 
-Chuck



More information about the freebsd-net mailing list