udp measurement


Hello,

I have one question about UDP measurement.
If I use UDP the system load goes to 90%. The problem is on fast connections 
the whole system can't handle the high system load and the network 
connection.

I think this load comes from the function "void delay_loop(unsigned long 
usec)" in the file delay.cpp. If remove this function the load is normal.
Instead the Timestamp class I use the select function. And everything looks 
good. Is there a cause, why the select funtion isn't use.

My function looks like that:

void delay_loop (unsigned long usec)
{
	struct timeval tv;
	tv.tv_sec=0;
	tv.tv_usec=usec;
	select(NULL,NULL,NULL,NULL,&tv);
}

The select function waits until the interval of tv is expired.

Thank you.

Greetings
Ralf Lübben



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