Here are some random perf profiling results of e20 while running glxgears,
firefox, e20, and xorg.
As you can see, CPU usage is very high among the first 3 processes, while
glxgears uses the least.


 PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 2029 toan      23   3  916008 455784  82304 R  26.5 15.6   2:30.99 firefox
 1407 toan      20   0  274796  72460  42608 S  25.2  2.5   5:27.64
enlightenment
 1160 root      20   0   74944  22396  12252 S  19.2  0.8   1:47.58 Xorg
 1753 toan      23   3   34652  15332   8204 S   2.0  0.5   0:26.72 glxgears



# Here:  execution of Eanimator-vsync, which occurs in kernel space,
accounted for 33% of the total latency.
# e20 + efl accounted for the remaining 60%.
Samples: 102  of event 'cycles', Event count (approx.): 599054751145
Overhead  Command          Shared Object          Symbol
  18.72%  enlightenment    module.so              [.] 0x0000d480
  15.62%  enlightenment    libevas.so.1.17.0      [.]
evas_common_tilebuf_add_redraw
  15.25%  enlightenment    libeo.so.1.17.0        [.] eo_data_scope_get
  13.38%  Eanimator-vsync  [kernel.kallsyms]      [k] rb_erase
  12.57%  Eanimator-vsync  [kernel.kallsyms]      [k] fsnotify
  12.04%  Eanimator-vsync  [kernel.kallsyms]      [k] dequeue_task_fair
   5.20%  Eanimator-vsync  libeina.so.1.17.0      [.] 0x0004dfb5
   4.58%  enlightenment    module.so              [.] 0x0001522c
   0.09%  enlightenment    libeo.so.1.17.0        [.]
eo_data_xunref_internal
   0.09%  enlightenment    libeo.so.1.17.0        [.] eo_data_xref_internal
   0.08%  enlightenment    [kernel.kallsyms]      [k]
__gen6_gt_force_wake_get
   0.06%  enlightenment    libevas.so.1.17.0      [.] 0x000c8050


# This random sample shows that most of the latency occurred at the device
driver level.
# However, 22% was accounted from e20's module.
Samples: 80  of event 'cycles', Event count (approx.): 518514944228
Overhead  Command          Shared Object            Symbol
  21.89%  enlightenment    module.so                [.] 0x00006e03
  20.84%  enlightenment    i965_dri.so              [.] 0x000d4fe6
  15.20%  enlightenment    i965_dri.so              [.] 0x000ef281
  14.17%  Eanimator-vsync  [kernel.kallsyms]        [k] update_sd_lb_stats
   9.74%  Eanimator-vsync  [kernel.kallsyms]        [k] __sched_text_start
   5.98%  Eanimator-vsync  [kernel.kallsyms]        [k]
__copy_from_user_ll_nozero
   5.74%  enlightenment    [kernel.kallsyms]        [k] drm_ioctl
   4.35%  Eanimator-vsync  [kernel.kallsyms]        [k] atomic64_read_cx8
   0.10%  enlightenment    libevas.so.1.17.0        [.] 0x00034b0f
   0.07%  enlightenment    [kernel.kallsyms]        [k] x86_pmu_disable
   0.07%  enlightenment    libeina.so.1.17.0        [.]
eina_hash_find_by_hash


# Similar to the above sample; however efl seems to be the offender this
time.
# Question: is there anyway we can minimize the frequency of vsync?
Samples: 96  of event 'cycles', Event count (approx.): 694200573028
Overhead  Command          Shared Object          Symbol
  17.54%  enlightenment    i965_dri.so            [.] 0x003eb52c
  16.72%  enlightenment    libevas.so.1.17.0      [.]
evas_common_font_draw_cb
  16.43%  Eanimator-vsync  [kernel.kallsyms]      [k] __calc_delta
  12.79%  enlightenment    libevas.so.1.17.0      [.] 0x000c5080
  11.09%  enlightenment    libeo.so.1.17.0        [.] eo_data_scope_get
  10.52%  Eanimator-vsync  [kernel.kallsyms]      [k] __sched_text_start
  10.03%  Eanimator-vsync  [kernel.kallsyms]      [k] idle_cpu
   2.81%  Eanimator-vsync  libecore.so.1.17.0     [.] ecore_thread_feedback
   0.11%  enlightenment    libevas.so.1.17.0      [.] 0x000c17f6
   0.11%  enlightenment    libc-2.21.so           [.] _int_free



# High cpu usage from compositing, ie) copying and freeing of evas objects
Samples: 75  of event 'cycles', Event count (approx.): 510537695627
Overhead  Command          Shared Object         Symbol
  21.39%  enlightenment    libevas.so.1.17.0     [.] evas_obj_image_data_get
  20.04%  Eanimator-vsync  [kernel.kallsyms]     [k]
copy_page_from_iter_iovec
  19.46%  enlightenment    i965_dri.so           [.] 0x003ec85c
  15.33%  enlightenment    libeo.so.1.17.0       [.] eo_data_xunref_internal
  10.35%  Eanimator-vsync  libecore_x.so.1.17.0  [.] 0x00016013
   8.36%  Eanimator-vsync  [kernel.kallsyms]     [k] update_curr
   2.88%  enlightenment    [kernel.kallsyms]     [k] del_timer
   0.09%  enlightenment    i965_dri.so           [.] 0x00317d55
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to