[mythtv] Building mythtv on iPhone?

Nigel Pearson nigel at ind.tansu.com.au
Tue Oct 30 22:33:44 UTC 2007


>>  Just some comparision. I have 4 active frontends running
>> svn with 128meg of ram each (not physically upgradeable)
>> with no swap.
>>
>
> Yep, 128M works fine on 720x576 here. My theme is Iulius.

As it does for me on Intel Linux. 800x600 "blue":

top - 09:09:04 up 75 days, 15:36,  3 users,  load average: 0.42,  
0.12, 0.03
Tasks:  85 total,   2 running,  82 sleeping,   0 stopped,   1 zombie
Cpu(s):  5.4%us,  3.3%sy,  0.0%ni, 91.0%id,  0.0%wa,  0.3%hi,  0.0% 
si,  0.0%st
Mem:    513276k total,   505312k used,     7964k free,   193388k buffers
Swap:   769096k total,    60016k used,   709080k free,   133224k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  8828 mythtv     0   0  120m  33m  16m S  0.3  6.6   0:02.15  
mythfrontend



But Max OS X uses:

Processes:  78 total, 3 running, 75 sleeping... 216 threads   
threads   09:17:36
Load Avg:  0.35, 0.30, 0.21     CPU usage:  11.8% user, 4.2% sys,  
84.0% idle
SharedLibs: num =    0, resident =    0B code,    0B data,    0B  
LinkEdit
MemRegions: num = 10185, resident =  436M + 27.5M private,  324M shared
PhysMem:   272M wired,  366M active, 1.09G inactive, 1.72G used,   
290M free
VM: 10.8G +    0B   96806(0) pageins, 0(0) pageouts

   PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD   
RSIZE  VSIZE
14198 MythFronte   5.0%  0:02.54   4    98   307  22.6M  59.9M-  
37.8M-  462M-
14270 MythBacken   0.0%  0:07.26  12    56   156  1.93M  41.8M   
12.4M   161M

or

% ps -axlll
   UID   PID  PPID CPU PRI NI      VSZ    RSS WCHAN  STAT  TT        
TIME COMMAND
...
   505 14198   290   0  46  0   473872  38668 -      S+    p3     
0:04.58 MythFro
   505 14270   290   0  31  0   165364  12664 -      S+    p3     
0:07.23 MythBac



Now, it could be:

1) the way that Mach, shared libraries, and the
BSD style kproc interfaces all slightly mismatch,

2) the overloaded Aqua windowing system,

3) the way that Qt/Mac and/or MythTV were badly ported
(I blame the hacker who did mythfrontend, myself :-)


but either way, that ain't gonna run on an iPhone.
Maybe in ten years, when they have a gig of RAM and
a terabyte of flash, but not currently.

--
Nigel Pearson, nigel at ind.tansu.com.au|"Beware - I am a carrier
Telstra Net. Eng., Sydney, Australia |          of surrealism"
Office: 9202 3900    Fax:  9261 3912 |       D  A
Mobile: 0408 664435  Home: 9792 6998 |       L  I


More information about the mythtv-dev mailing list