Ok, so I manually tweaked the code using the patch info below.  I think it 
worked, sorta....

I start iperf in server mode (-s) and have a Winblows PC running iperf in 
client mode (-c -r ...) .  When the client transmits data to the server 
(Winblows to RHEL), the CPU for iperf on the server is fine, < 10%.  However, 
when the server transmits to the client (iperf -r), CPU on the RHEL "server" 
(now acting as the "client") is again at 100%.  This is only with UDP, when 
using tcp CPU is always < 10%.

>From what I recall, when using UDP the CPU on the server (iperf -s) was at 
>100% regardless if it was Tx or Rx the data.  I'll double-check this though - 
>just need to compile the binary with the original source.

I'm finding some other bugs as well, but will review what's been posted to make 
sure I don't dupe anything.

I may try hacking some code myself, but that's scary....

G


________________________________
From: Gary Gatten
Sent: Wednesday, March 24, 2010 7:29 PM
To: '[email protected]'
Subject: patch for high CPU with UDP

Hi All, Long time Iperf user, new list member.

Following a number of archive threads I found this patch.  Is this still the 
correct / current patch for the High CPU load (100%) when using UDP?  I 
received errors when trying to go directly to the URL: but navigating to it 
through sourceforge works and I got the patch below:

http://sourceforge.net/tracker/?func=detail&aid=2006708&group_id=128336&atid=711373

Forgive the basic question, but is there an "easy" way to apply this patch vs. 
manually editing the source?  Some args to diff?

Thanks! - Gary


<snip>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Iperf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to