Hi,
when I use Iperf run as daemon in ubuntu system, I find that the iperf keep
cpu usage at 99% after one connection test, and I find if I add below to
compat/Thread.c
void thread_rest ( void ) {
#if defined( HAVE_THREAD )
#if defined( HAVE_POSIX_THREAD )
+ sleep(1);
#else // Win32
SwitchToThread( );
#endif
#endif
then the cpu usage is reasonable, can any one comments on this?
Regards,
Hake
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users