bluetooth cpu utilization

by henry.lon...@gmail.com » Tue, 17 Feb 2009 22:57:28 GMT


Sponsored Links
 When using bluetooth (bluez) to play audio mp3 file on G1, i observed
that cpu utilization(from top command) is very high. The mediaserver
process takes 30% of cpu. Bluez should also consume significant amount
of cpu since the l2cap is in the kernel.

The cpu frequency is 384Mhz, powerful enough. I'm wondering if this
30% is accurate or not. Is it too high?

Also can anybody clarify any better tool to test cpu utilization? and
how to measure the cpu utilization for l2cap kernel socket?

Thanks!
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



bluetooth cpu utilization

by Nick Pelly » Tue, 17 Feb 2009 23:39:23 GMT


 Yes we have CPU usage of around 30-40% by mediaserver when playing back MP3
over Bluetooth. Note that we do SBC encoding in the mediaserver. What kind
of numbers were you expecting?
The cpu usage in the kernel side shouldn't be too bad. It just slaps on some
L2CAP headers, and the uart transfer uses DMA.

Nick




On Tue, Feb 17, 2009 at 2:57 PM, henry.lon...@gmail.com <




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


bluetooth cpu utilization

by henry.lon...@gmail.com » Wed, 18 Feb 2009 00:59:48 GMT


 Just wondering if the 30~40% cpu utilization was considered in the
android design. This is a large number if other applications could run
simultaneously.

Do you have tools(more accurate than top) that could be used to test
cpu utilization?

Thanks!




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



bluetooth cpu utilization

by Nick Pelly » Wed, 18 Feb 2009 01:24:34 GMT


 On Tue, Feb 17, 2009 at 4:59 PM, henry.lon...@gmail.com



schedtop




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



bluetooth cpu utilization

by Sidharth Malhotra » Fri, 06 Mar 2009 04:49:36 GMT


 Hi Nick,

You may remember I had some difficulty in bringing up the Bluetooth UI
on Android. I have passed that stage now! I am able to connect to
headset/handsfree devices.

But, I am still looking for a procedure to check A2DP from the UI. Can
you list down that procedure? By the way, do I really need a song file
in a sdcard to do all this. Because, I get this message that "No song
in sdcard"!!

I think I am almost there..and dying to listen to a nice song on my
stereo headset!

Thanks,
Sidharth






--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---