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






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

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



Other Threads

1. Could someone tell me what differences between 1.5 cupcake and 2.0 donut?

I only got the information on offical site as only a line "Support for
WVGA and QVGA", is there any other new features on donut?

could someone tell me what changes will be between cupcake and 2.0
donut, thanks in advance.

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

2. Content Provider structure

Hi all,

I would like to know how I can find the structure of a specific
content provider...Internet have a lot information of contact for
example, but if I want know how is the structure of the email content
provider or SMS, when can I find the data structure?

Regards

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

3. Android Courses Scheduled in Europe

4. Can someone post a working example of how to use the new IME

5. Creating new Widget problem ?

6. GPS Tracker questions

7. Integrating application with the google Calendar