Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-22 Thread Joel Newkirk
On Mon, 22 Dec 2008 12:52:09 +0900, W.Kenworthy bi...@iinet.net.au
wrote:
 On Mon, 2008-12-22 at 10:04 +1100, Carsten Haitzler wrote:
 On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
 bernd.pruens...@gmail.com babbled:
 
  Dylan Reilly schrieb:
   FWIW, I have been able to reduce the CPU usage of Enlightenment on
 my
   OM testing build device by disabling drop shadows. After recent
   updates from testing (which should be more or less the 2008.12
 image)
   Enlightenment was constantly grabbing 20% CPU and who knows how much
   IO. After I obliterated the drop shadow module,
   (/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
   used.
  
   Moreover, I remembered some recent post(s) tentatively linking the
   Software-16 crashes (when using the illume theme) to drop shadows.
 On
   a whim I re-enabled that engine and am not seeing any problems. So,
   now I get a snappier UI to boot.
  
 
  WOOHOO!!! you made my day
 
 dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff
 has been
 done to the theme:
 
 
 Running the illume theme: Not sure about the cpu - but removing
 drop-shadow does stop the segfaults when running software_16 engine.
 Also the Settings app now runs, and for a short while at least I had a
 gsm signal level (maybe too low where I am at the moment).
 
 Billk

I've seen Enlightenment running between 18% and 30% most of the time
lately, with SHR.  And I just discovered I am able to drop it to 3%-5% and
bring it back through a single change:  I've been tweaking some Oxygen
icons and using them under SHR -  256x256 png versions.  (Why?  Well, I
like my icons big, but I hate them pixellated)  Anyway, changing from the
256x256 Oxygen icons to the 86x86 SHR icons dropped me from 30% to 5%,
restoring the big Oxy's brought me right back to 30%.

j


-- 
Joel Newkirk
http://jthinks.com  (blog)
http://newkirk.us/om (FR stuff)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-22 Thread The Rasterman
On Mon, 22 Dec 2008 03:07:45 -0500 Joel Newkirk freerun...@newkirk.us babbled:

 On Mon, 22 Dec 2008 12:52:09 +0900, W.Kenworthy bi...@iinet.net.au
 wrote:
  On Mon, 2008-12-22 at 10:04 +1100, Carsten Haitzler wrote:
  On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
  bernd.pruens...@gmail.com babbled:
  
   Dylan Reilly schrieb:
FWIW, I have been able to reduce the CPU usage of Enlightenment on
  my
OM testing build device by disabling drop shadows. After recent
updates from testing (which should be more or less the 2008.12
  image)
Enlightenment was constantly grabbing 20% CPU and who knows how much
IO. After I obliterated the drop shadow module,
(/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
used.
   
Moreover, I remembered some recent post(s) tentatively linking the
Software-16 crashes (when using the illume theme) to drop shadows.
  On
a whim I re-enabled that engine and am not seeing any problems. So,
now I get a snappier UI to boot.
   
  
   WOOHOO!!! you made my day
  
  dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff
  has been
  done to the theme:
  
  
  Running the illume theme: Not sure about the cpu - but removing
  drop-shadow does stop the segfaults when running software_16 engine.
  Also the Settings app now runs, and for a short while at least I had a
  gsm signal level (maybe too low where I am at the moment).
  
  Billk
 
 I've seen Enlightenment running between 18% and 30% most of the time
 lately, with SHR.  And I just discovered I am able to drop it to 3%-5% and
 bring it back through a single change:  I've been tweaking some Oxygen
 icons and using them under SHR -  256x256 png versions.  (Why?  Well, I
 like my icons big, but I hate them pixellated)  Anyway, changing from the
 256x256 Oxygen icons to the 86x86 SHR icons dropped me from 30% to 5%,
 restoring the big Oxy's brought me right back to 30%.

icons include battery too?

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-22 Thread DJDAS
Carsten Haitzler (The Rasterman) ha scritto:
 Billk
   
 I've seen Enlightenment running between 18% and 30% most of the time
 lately, with SHR.  And I just discovered I am able to drop it to 3%-5% and
 bring it back through a single change:  I've been tweaking some Oxygen
 icons and using them under SHR -  256x256 png versions.  (Why?  Well, I
 like my icons big, but I hate them pixellated)  Anyway, changing from the
 256x256 Oxygen icons to the 86x86 SHR icons dropped me from 30% to 5%,
 restoring the big Oxy's brought me right back to 30%.
 

 icons include battery too?
   

Hi! Same problem here with a fresh installed (onto SD card) SHR 
(snapshot of 16 December w/ kernel of 14 December).
Enlightenment takes 40-60% CPU but I was not able to find a solutions, 
will try this icon trick and let you know.
Bye!


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-22 Thread Joel Newkirk
On Mon, 22 Dec 2008 20:23:42 +1100, Carsten Haitzler (The Rasterman)
ras...@rasterman.com wrote:
 On Mon, 22 Dec 2008 03:07:45 -0500 Joel Newkirk freerun...@newkirk.us
 babbled:
 
 On Mon, 22 Dec 2008 12:52:09 +0900, W.Kenworthy bi...@iinet.net.au
 wrote:
  On Mon, 2008-12-22 at 10:04 +1100, Carsten Haitzler wrote:
  On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
  bernd.pruens...@gmail.com babbled:
  
   Dylan Reilly schrieb:
FWIW, I have been able to reduce the CPU usage of Enlightenment
 on
  my
OM testing build device by disabling drop shadows. After recent
updates from testing (which should be more or less the 2008.12
  image)
Enlightenment was constantly grabbing 20% CPU and who knows how
 much
IO. After I obliterated the drop shadow module,
(/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is
 being
used.
   
Moreover, I remembered some recent post(s) tentatively linking
 the
Software-16 crashes (when using the illume theme) to drop
 shadows.
  On
a whim I re-enabled that engine and am not seeing any problems.
 So,
now I get a snappier UI to boot.
   
  
   WOOHOO!!! you made my day
  
  dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff
  has been
  done to the theme:
  
  
  Running the illume theme: Not sure about the cpu - but removing
  drop-shadow does stop the segfaults when running software_16 engine.
  Also the Settings app now runs, and for a short while at least I had a
  gsm signal level (maybe too low where I am at the moment).
  
  Billk
 
 I've seen Enlightenment running between 18% and 30% most of the time
 lately, with SHR.  And I just discovered I am able to drop it to 3%-5%
 and
 bring it back through a single change:  I've been tweaking some Oxygen
 icons and using them under SHR -  256x256 png versions.  (Why?  Well, I
 like my icons big, but I hate them pixellated)  Anyway, changing from
 the
 256x256 Oxygen icons to the 86x86 SHR icons dropped me from 30% to 5%,
 restoring the big Oxy's brought me right back to 30%.
 
 icons include battery too?

I'm just replacing the 'desktop' icons in the launcher, using
Settings-Look-IconTheme.  I had expected that it would take longer to
initially display the launcher, with much larger png images to load and
scale, but thought that once they were loaded and scaled it would perform
essentially the same as smaller icons enlarged - literally the ONLY thing I
do is select Oxygen vis SHR in Icon Theme and HUP enlightenment, and with
the Oxys it sits there idling at an average about 27% CPU...

j

-- 
Joel Newkirk
http://jthinks.com  (blog)
http://newkirk.us/om (FR stuff)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-22 Thread The Rasterman
On Mon, 22 Dec 2008 10:54:42 -0500 Joel Newkirk freerun...@newkirk.us babbled:

 On Mon, 22 Dec 2008 20:23:42 +1100, Carsten Haitzler (The Rasterman)
 ras...@rasterman.com wrote:
  On Mon, 22 Dec 2008 03:07:45 -0500 Joel Newkirk freerun...@newkirk.us
  babbled:
  
  On Mon, 22 Dec 2008 12:52:09 +0900, W.Kenworthy bi...@iinet.net.au
  wrote:
   On Mon, 2008-12-22 at 10:04 +1100, Carsten Haitzler wrote:
   On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
   bernd.pruens...@gmail.com babbled:
   
Dylan Reilly schrieb:
 FWIW, I have been able to reduce the CPU usage of Enlightenment
  on
   my
 OM testing build device by disabling drop shadows. After recent
 updates from testing (which should be more or less the 2008.12
   image)
 Enlightenment was constantly grabbing 20% CPU and who knows how
  much
 IO. After I obliterated the drop shadow module,
 (/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is
  being
 used.

 Moreover, I remembered some recent post(s) tentatively linking
  the
 Software-16 crashes (when using the illume theme) to drop
  shadows.
   On
 a whim I re-enabled that engine and am not seeing any problems.
  So,
 now I get a snappier UI to boot.

   
WOOHOO!!! you made my day
   
   dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff
   has been
   done to the theme:
   
   
   Running the illume theme: Not sure about the cpu - but removing
   drop-shadow does stop the segfaults when running software_16 engine.
   Also the Settings app now runs, and for a short while at least I had a
   gsm signal level (maybe too low where I am at the moment).
   
   Billk
  
  I've seen Enlightenment running between 18% and 30% most of the time
  lately, with SHR.  And I just discovered I am able to drop it to 3%-5%
  and
  bring it back through a single change:  I've been tweaking some Oxygen
  icons and using them under SHR -  256x256 png versions.  (Why?  Well, I
  like my icons big, but I hate them pixellated)  Anyway, changing from
  the
  256x256 Oxygen icons to the 86x86 SHR icons dropped me from 30% to 5%,
  restoring the big Oxy's brought me right back to 30%.
  
  icons include battery too?
 
 I'm just replacing the 'desktop' icons in the launcher, using
 Settings-Look-IconTheme.  I had expected that it would take longer to
 initially display the launcher, with much larger png images to load and
 scale, but thought that once they were loaded and scaled it would perform
 essentially the same as smaller icons enlarged - literally the ONLY thing I
 do is select Oxygen vis SHR in Icon Theme and HUP enlightenment, and with
 the Oxys it sits there idling at an average about 27% CPU...

that's bizarre as that would imply its redrawing the icons too (evas scales on
the fly - as images are not loaded and then fixed at a size - they can resize
anytime anywhere just based on object properties so the scale is done as it
draws. for things like GL or when things are accelerated - this is fast and
what you want. in software it's a cost. i have an experimental scale cache
patch here that puts in a cache of alreadys-caled data if used often enough...
but the problem is.. it shouldnt make a difference unless its updating the area
where the icons are... and that shouldnt be happening... unless something
totally bizarre has gone on... and thats what i'm concerned about - the bit i
dont know about (the redraws)).


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-21 Thread Dylan Reilly
FWIW, I have been able to reduce the CPU usage of Enlightenment on my
OM testing build device by disabling drop shadows. After recent
updates from testing (which should be more or less the 2008.12 image)
Enlightenment was constantly grabbing 20% CPU and who knows how much
IO. After I obliterated the drop shadow module,
(/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
used.

Moreover, I remembered some recent post(s) tentatively linking the
Software-16 crashes (when using the illume theme) to drop shadows. On
a whim I re-enabled that engine and am not seeing any problems. So,
now I get a snappier UI to boot.

-- 
Dylan Maxwell Reilly

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-21 Thread Bernd (Jesus McCloud) Prünster
Dylan Reilly schrieb:
 FWIW, I have been able to reduce the CPU usage of Enlightenment on my
 OM testing build device by disabling drop shadows. After recent
 updates from testing (which should be more or less the 2008.12 image)
 Enlightenment was constantly grabbing 20% CPU and who knows how much
 IO. After I obliterated the drop shadow module,
 (/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
 used.

 Moreover, I remembered some recent post(s) tentatively linking the
 Software-16 crashes (when using the illume theme) to drop shadows. On
 a whim I re-enabled that engine and am not seeing any problems. So,
 now I get a snappier UI to boot.

   
WOOHOO!!! you made my day

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-21 Thread The Rasterman
On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
bernd.pruens...@gmail.com babbled:

 Dylan Reilly schrieb:
  FWIW, I have been able to reduce the CPU usage of Enlightenment on my
  OM testing build device by disabling drop shadows. After recent
  updates from testing (which should be more or less the 2008.12 image)
  Enlightenment was constantly grabbing 20% CPU and who knows how much
  IO. After I obliterated the drop shadow module,
  (/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
  used.
 
  Moreover, I remembered some recent post(s) tentatively linking the
  Software-16 crashes (when using the illume theme) to drop shadows. On
  a whim I re-enabled that engine and am not seeing any problems. So,
  now I get a snappier UI to boot.
 

 WOOHOO!!! you made my day

dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff has been
done to the theme:


  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND   
 1261 root  20   0 23892  15m 6312 S  4.3 12.6  18:58.82 python 
 1336 root  17  -3 22388  14m 6064 S  0.7 11.4  16:39.74 python 
 1338 root  10 -10 22596  11m 7388 S  0.0  9.4   7:43.75 enlightenment  
 1381 root  21   1 11020 2860 2080 S  0.0  2.3   0:01.33 enlightenment_f
 1317 root  19  -1  9968 2852 1564 S  0.0  2.3   1:05.34 Xglamo 
 1387 root  21   1  4724 1516 1084 S  0.0  1.2   0:01.12 batget 

0% cpu. it will consume a little cpu while charging (2-3%) (redrawing the
blinking + on the battery). this is out-of-the-box theme with dropshadows on
etc. (illume+e without shr/fdom/asu changes).

e-wm - 0.16.999.050+svnr37919-r4 - 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-21 Thread Dylan Reilly
I definitely believe that it shouldn't be doing that and it was not
always the case. I am certainly willing to accept there is something
screwy with my upgrade path, but I did not do anything intentionally
to the theme or defendant components. (The only thing that comes to
mind that *might* be related is that I renice qpe to -5).

Even if the 20% CPU utilization went away, removing drop shadows so
the Software-16 engine can work seems worthwhile to me.

angstrom-version - 1:-20081222-r1
e-wm - 0.16.999.043+svnr36882-r14.01
illume - 0.0+svnr36882-r14.06
illume-theme-illume - 0.0+svnr36882-r1.01


On Sun, Dec 21, 2008 at 6:04 PM, The Rasterman Carsten Haitzler
ras...@rasterman.com wrote:
 On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
 bernd.pruens...@gmail.com babbled:

 Dylan Reilly schrieb:
  FWIW, I have been able to reduce the CPU usage of Enlightenment on my
  OM testing build device by disabling drop shadows. After recent
  updates from testing (which should be more or less the 2008.12 image)
  Enlightenment was constantly grabbing 20% CPU and who knows how much
  IO. After I obliterated the drop shadow module,
  (/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
  used.
 
  Moreover, I remembered some recent post(s) tentatively linking the
  Software-16 crashes (when using the illume theme) to drop shadows. On
  a whim I re-enabled that engine and am not seeing any problems. So,
  now I get a snappier UI to boot.
 
 
 WOOHOO!!! you made my day

 dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff has been
 done to the theme:


  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  1261 root  20   0 23892  15m 6312 S  4.3 12.6  18:58.82 python
  1336 root  17  -3 22388  14m 6064 S  0.7 11.4  16:39.74 python
  1338 root  10 -10 22596  11m 7388 S  0.0  9.4   7:43.75 enlightenment
  1381 root  21   1 11020 2860 2080 S  0.0  2.3   0:01.33 enlightenment_f
  1317 root  19  -1  9968 2852 1564 S  0.0  2.3   1:05.34 Xglamo
  1387 root  21   1  4724 1516 1084 S  0.0  1.2   0:01.12 batget

 0% cpu. it will consume a little cpu while charging (2-3%) (redrawing the
 blinking + on the battery). this is out-of-the-box theme with dropshadows on
 etc. (illume+e without shr/fdom/asu changes).

 e-wm - 0.16.999.050+svnr37919-r4 -


 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community




-- 
Dylan Maxwell Reilly

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM 2008.12] Enlightenment Drop Shadow Performance

2008-12-21 Thread W.Kenworthy
On Mon, 2008-12-22 at 10:04 +1100, Carsten Haitzler wrote:
 On Sun, 21 Dec 2008 21:13:59 +0100 Bernd (Jesus McCloud) Prünster
 bernd.pruens...@gmail.com babbled:
 
  Dylan Reilly schrieb:
   FWIW, I have been able to reduce the CPU usage of Enlightenment on my
   OM testing build device by disabling drop shadows. After recent
   updates from testing (which should be more or less the 2008.12 image)
   Enlightenment was constantly grabbing 20% CPU and who knows how much
   IO. After I obliterated the drop shadow module,
   (/usr/lib/enlightenment/modules/dropshadow) only 1-2% CPU is being
   used.
  
   Moreover, I remembered some recent post(s) tentatively linking the
   Software-16 crashes (when using the illume theme) to drop shadows. On
   a whim I re-enabled that engine and am not seeing any problems. So,
   now I get a snappier UI to boot.
  
 
  WOOHOO!!! you made my day
 
 dropshadow shouldnt cause 20% cpu - unless some totally bizarre stuff has been
 done to the theme:
 
 
Running the illume theme: Not sure about the cpu - but removing
drop-shadow does stop the segfaults when running software_16 engine.
Also the Settings app now runs, and for a short while at least I had a
gsm signal level (maybe too low where I am at the moment).

Billk



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community