cpu usage on the client!


Hi,
I had UDP packets drops when I run unicast or multicast traffic on an
isolated network (100 Mbps), the server and client in unicast case are
srv: iperf -s -u
clnt: iperf -c <ip> -u -l 1K -b 4.4M

I changed the source file PerfSocket_UDP.cpp:188 from 
delay_loop( delay ) 
to
Sleep(delay/1000); //win32
just to see the effect of getting rid of the CPU maxage*, and the packet
droppage** was much more less (or even 0 dropped packets). I know it is been
mentioned that sleep is not an accurate measure of time, but what's the
accuracy margin when sleep is used compared to the "delay for loop"
scenario? +/- 3% or similar? 

Thanx,
Yasir

* CPU utilization ~ 100%
** rate of dropped packets



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index