Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2008 11:31:09 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        chodong2003@yahoo.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: Packet Loss Under FreeBSD 7.0
Message-ID:  <D60F48CB-633F-4803-B2E4-9D15281E8FAB@mac.com>
In-Reply-To: <889762.96728.qm@web58407.mail.re3.yahoo.com>
References:  <889762.96728.qm@web58407.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D60F48CB-633F-4803-B2E4-9D15281E8FAB>