[IOS] Eden Beta 2 - 50% idle cpu consumption
#1
When using Eden Beta 2 on an iPad-1/IOS 5.0.1 during idling mode (at the home page) I noticed a regular cpu utilization of about 50% running "top". Is this normal?

I guess this could be one of the reasons why the menu navigation sometimes feels rather sluggish. This behaviour is similar to the TomTom Navigator for iPad which by the way is a real cpu-hog (>60% idling, 75-85% while driving)

Code:
# uname -a
Darwin iPad 11.0.0 Darwin Kernel Version 11.0.0: Tue Nov  1 20:33:58 PDT 2011;
root:xnu-1878.4.46~1/RELEASE_ARM_S5L8930X iPad1,1 arm K48AP Darwin

# top
Processes:  35 total, 2 running, 33 sleeping... 193 threads                                                                                  11:30:13
Load Avg:  2.32,  3.07,  3.30    CPU usage: 69.16% user,  0.00% sys, 30.84% idle
SharedLibs: num =    0, resident =     0 code,     0 data,     0 linkedit.
MemRegions: num =     0, resident =     0 +     0 private,     0 shared.
PhysMem:   67M wired,   13M active,   13M inactive,  212M used,   35M free.
VM: 10G + 0   188301(155) pageins, 10284(0) pageouts

  PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS  RPRVT  RSHRD  RSIZE  VSIZE
[b][color=red]1194 XBMC        50.8%[/color][/b]  0:39.21  12    95+     0      0      0    29M+  380M+
   28 SpringBoar   8.5% 13:40.03  15   506      0      0      0    19M+  408M
1161 top          1.9%  0:06.40   1    22      0      0      0   840K   267M
   20 UserEventA   1.1%  0:20.74   8   145+     0      0      0  1400K+  290M+
   30 CommCenter   1.1%  0:18.02   9   176-     0      0      0  1736K   2
   . . .
   . . .
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#2
This is normal and ios5.0.1 is adding its 10% in compare to 4.3 ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Memphiz Wrote:This is normal and ios5.0.1 is adding its 10% in compare to 4.3 ...

Rendering? btw, does the ios version of xbmc support dirty regions?
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#4
Anyone knows if it's possible to profile xbmc on a ios device?
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#5
flyingrat Wrote:Rendering? btw, does the ios version of xbmc support dirty regions?

yes.
Reply
#6
flyingrat Wrote:Anyone knows if it's possible to profile xbmc on a ios device?

yes.
Reply
#7
davilla Wrote:yes.
How? Xcode remote Instruments over Wi-Fi or USB?
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#8
davilla Wrote:yes.

yes on both? I.e the rendering sucking all cpu regardless of using dirty regions?
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#9
flyingrat Wrote:yes on both? I.e the rendering sucking all cpu regardless of using dirty regions?

question: "Rendering? btw, does the ios version of xbmc support dirty regions"
answer: yes.
Reply
#10
flyingrat Wrote:How? Xcode remote Instruments over Wi-Fi or USB?

USB. Your xcode must be patched to support unsigned. Google for how.
Reply
#11
davilla Wrote:yes.

Is dirty regions enabled by default and if so what mode?
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#12
flyingrat Wrote:Is dirty regions enabled by default and if so what mode?

dirty regions is not enabled by default on any xbmc platforms.

try mode 3
Reply
#13
davilla Wrote:USB. Your xcode must be patched to support unsigned. Google for how.

Ok, thanks!
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#14
davilla Wrote:dirty regions is not enabled by default on any xbmc platforms.

try mode 3

Ok, thanks!
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#15
To my surprise neither of the dirty regions modes seems to make any major difference but adding nofliptimeout made a huge improvement on the load.
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply

Logout Mark Read Team Forum Stats Members Help
[IOS] Eden Beta 2 - 50% idle cpu consumption0