linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Performance issue - VoIP application on Linux 2.4.22
@ 2005-04-29 15:01 bobys
  0 siblings, 0 replies; 2+ messages in thread
From: bobys @ 2005-04-29 15:01 UTC (permalink / raw)
  To: linuxppc-embedded

Hello everybody,
I have a multithreaded VoIP application in user space and a kernel driver
module on MPC 8248 based board.
During media data transfer( Video Call) I have observed one strange behavior
that at specific interval, cpu utilization is reaching to 100 % and then
rolls back to 0 %.  This behavior repeats at regular intervals of time
during the call.
During this time, data rate and memory utilization is constant throughout
the Call. Also number of interrupts received and processed in the kernel
driver is constant.  We have checked the code many times, but couldn't find
any of the threads/driver hogging the processor time.
We are using Linux kernel 2.4.22  with kernel preemption enabled and low
latency patch added. Please let me know anybody have seen same behavior and
how to sort this out.
Thanks and Regards
Boby

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Performance issue - VoIP application on Linux 2.4.22
@ 2005-05-02  8:36 Fillod Stephane
  0 siblings, 0 replies; 2+ messages in thread
From: Fillod Stephane @ 2005-05-02  8:36 UTC (permalink / raw)
  To: bobys, linuxppc-embedded

bobys wrote:
>Hello everybody,
>I have a multithreaded VoIP application in user space and a kernel
driver
>module on MPC 8248 based board.
>During media data transfer( Video Call) I have observed one strange
>behavior
>that at specific interval, cpu utilization is reaching to 100 % and
then
>rolls back to 0 %.  This behavior repeats at regular intervals of time
>during the call.
>During this time, data rate and memory utilization is constant
throughout
>the Call. Also number of interrupts received and processed in the
kernel
>driver is constant.  We have checked the code many times, but couldn't
find
>any of the threads/driver hogging the processor time.
>We are using Linux kernel 2.4.22  with kernel preemption enabled and
low
>latency patch added. Please let me know anybody have seen same behavior
and
>how to sort this out.

I have no idea with 2.4.x. However, if you have OProfile[1] support
available in your kernel (look for custom module on 2.4), that's quite
easy=20
to spot the cpu utilization burst.

[1] http://oprofile.sf.net


Best Regards
--=20
Stephane

PS: OProfile is a neat tool. We won't thank enough the OProfile team.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-02  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-29 15:01 Performance issue - VoIP application on Linux 2.4.22 bobys
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02  8:36 Fillod Stephane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).