Hi Gerrit,
Thanks a lot for your reply. I indeed tried out the patch but it did not
make any difference. I am still seeing 0% CPU Idle.
It looks to me as if the delay_loop() function in the file Client.cpp is
holding the processor in the kernel space while adjusting the thoughput
speeds, resulting in 0% CPU Idle. On trying out replacing delay_loop() by
usleep() function, Idle MIPS were seen to be available. Or perhaps is it the
case that iperf should be used only for throughput measurement and might not
be so appropriate for measuring the cpu utilization?
--
Regards,
Upakul Barkakaty
On 5/2/08, Gerrit Renker <[EMAIL PROTECTED]> wrote:
>
> Dear Upakul,
>
> if it is not too much of a bother, can you please check if the attached
> patch fixes the CPU usage problem?
>
> It is a port of Ingo Molnar's CPU usage fix - we have used that patch in
> iperf with great benefit (the CPU usage went down to very modest values).
>
> Regards
> Gerrit
>
>
> Quoting Upakul Barkakaty:
> | Hi Jon,
> |
> | I have upgraded to Iperf-v2.0.4. But unfortunately, even with this
> version
> | I observed that the Iperf client was consuming all the CPU MIPS even
> if it
> | was running at 1 Mbps.
> |
> | --
> | Regards,
> | Upakul Barkakaty
> |
> | On 4/23/08, Jon Dugan <[EMAIL PROTECTED]> wrote:
> |
> | Upakul,
> |
> | Which version of Iperf are you using? This should be resolved in
> Iperf
>
> | MailScanner warning: numerical links are often malicious: 2.0.4.
>
> |
> | Jon
> |
> | Upakul Barkakaty wrote:
> |
> | Hi all,
> |
> | I was using the Iperf UDP client to test the network bandwidth
> and CPU
> | Utilization. I observed that the Iperf client was consuming all
> the
> | CPU MIPS even if it was running at 1 Mbps.
> |
> | On investigation, It looks like the delay_loop() function in the
> file
> | Client.cpp is blocking in the kernel space while adjusting the
> | thoughput speeds. On trying out replacing delay_loop() by
> usleep()
> | function, Idle MIPS were available.
> |
> | Please can you let me know if this is an intended behaviour
> keeping in
> | mind some particular purpose?
> |
>
>
>
> The University of Aberdeen is a charity registered in Scotland, No
> SC013683.
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Iperf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iperf-users