Hello,

I discovered that the Android Wear app

       ( 
https://play.google.com/store/apps/details?id=com.google.android.wearable.app
       Version = 1.0.0.1261840)

 running on my Android development device LG / Android OS 4.4.4 
   was hogging resources on my LG development device and causing an 
incessant stream of GC messages.

top:

*User 51%, System 13%, IOW 0%, IRQ 0%*
*User 307 + Nice 0 + Sys 83 + Idle 209 + IOW 0 + IRQ 0 + SIRQ 0 = 599*

*  PID PR CPU% S  #THR     VSS     RSS PCY UID      Name*
* 1065  0  43% S    21 903800K  34212K  fg u0_a7   
 com.google.android.gms.wearable*
* 1013  0  15% S    39 903932K  38792K  fg u0_a111 
 com.google.android.wearable.app*
*  578  0   5% S    76 975848K  70004K  fg system   system_server*
*13377  0   1% R     1   1312K    488K     shell    top*



127|shell@mako:/ $ cat /proc/version

Linux version 3.4.0-perf-ga6edd5e ([email protected]) 
(gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Apr 16 09:33:17 PDT 2014



127|shell@mako:/ $ cat /proc/cpuinfo                                       
    

Processor : ARMv7 Processor rev 2 (v7l)
processor : 0
BogoMIPS : 13.53

processor : 1
BogoMIPS : 13.53

processor : 2
BogoMIPS : 13.53

processor : 3
BogoMIPS : 13.53

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 
CPU implementer : 0x51
CPU architecture: 7
CPU variant : 0x0
CPU part : 0x06f
CPU revision : 2

Hardware : QCT APQ8064 MAKO
Revision : 000b
Serial : 0000000000000000


adb logcat showed this constant, perpetual flood of GC_* messages, with   
pause times

*D/dalvikvm( 1065): GC_CONCURRENT freed 427K, 6% free 9304K/9896K, paused 
1ms+2ms, total 17ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 428K, 6% free 9306K/9896K, paused 
2ms+2ms, total 27ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 443K, 6% free 9308K/9896K, paused 
1ms+3ms, total 22ms*
*D/dalvikvm( 1013): GC_EXPLICIT freed 108K, 17% free 12960K/15532K, paused 
2ms+5ms, total 44ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 416K, 6% free 9304K/9896K, paused 
1ms+4ms, total 17ms*
*D/dalvikvm(  578): GC_FOR_ALLOC freed 1036K, 16% free 22510K/26540K, 
paused 97ms, total 97ms*
*I/dalvikvm-heap(  578): Grow heap (frag case) to 22.378MB for 380496-byte 
allocation*
*D/dalvikvm(  578): GC_FOR_ALLOC freed 9K, 16% free 22872K/26912K, paused 
94ms, total 94ms*
*D/dalvikvm(  578): GC_FOR_ALLOC freed 447K, 17% free 22425K/26912K, paused 
90ms, total 90ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 405K, 6% free 9307K/9896K, paused 
2ms+3ms, total 19ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 422K, 6% free 9306K/9896K, paused 
1ms+1ms, total 14ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 409K, 6% free 9310K/9896K, paused 
2ms+2ms, total 24ms*
*D/dalvikvm( 1013): GC_EXPLICIT freed 95K, 17% free 12969K/15532K, paused 
3ms+15ms, total 67ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 390K, 6% free 9305K/9896K, paused 
1ms+1ms, total 15ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 385K, 6% free 9305K/9896K, paused 
1ms+1ms, total 15ms*
*D/dalvikvm( 1065): GC_CONCURRENT freed 442K, 6% free 9307K/9896K, paused 
1ms+3ms, total 24ms*


After uninstalling the Android Wear App, top showed significant reduction 
of  resource consumption ( down to  2% User and System 3% ( from the 
earlier User 51%, System 13%, IOW 0%, IRQ 0% )  and the incessant stream of 
GC messages stopped.

top output,  after uninstalling Android Wear app from Google :

*User 2%, System 3%, IOW 0%, IRQ 0%*
*User 7 + Nice 0 + Sys 12 + Idle 288 + IOW 0 + IRQ 0 + SIRQ 0 = 307*

*  PID PR CPU% S  #THR     VSS     RSS PCY UID      Name*
*14675  0   2% R     1   1304K    488K     shell    top*
*  578  0   1% S    76 984412K  75472K  fg system   system_server*
*  200  0   0% S     9  10548K    772K     nobody   
/system/bin/sensors.qcom*
*  985  0   0% S    37 921636K  44632K  fg u0_a7   
 com.google.process.location *


Anyone  here who  has had  similar observations, or some explanation ?

Thank you

Sanjay Mishra



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to