On Wed, 17 Feb 2016 23:42:36 +0100 (CET) Pavel Reznicek <rezni...@ipnp.troja.mff.cuni.cz> said:
nothing is going to change here until we have object auto-buffering (and partial updates of auto-buffered content). this has been explained before as to how the compositor canvas works - it is NOT like other compositors. our compositor canvas has everything broken down into primitives. every letter you see in a titlebar or on your shelf is 2 triangles. as opposed to elsewhere where it's one big buffer for the window including titlebar. every little primitive in the shelf is groken down. we're generating 100's and 1000's of triangles per frame. > Hi, > > I have a similar problem (intel graphics). I consider the arguments > above about the way how compositor work. However, would't then such a > behaviour appear also in other environments with compositing ? I am also > running xfce4 with compositing effects (xfwm4) enabled, but I don't see > anyhthing similar to what in e20 - there it is just the particular > application that eats CPU, not the window manager. > > One thing I have noticed is that there isn't any noticable change in e20 > performance when I switch the compositor from OpenGL to Software > rendering. > > In case it may help understand the problem, here is top (most two CPU > consuming processes) and perf comparison for e20 and xfce when running > glxgears. > > top in xfce: CPU MEM > 7281 root 20 0 274892 47584 34592 S 4.0 0.6 0:01.82 Xorg > 7756 user 20 0 118408 15956 10296 S 2.0 0.2 0:00.43 glxgears > > top in e20: CPU MEM > 4569 user 20 0 1087992 140764 58476 R 21.5 1.8 1:55.95 enlightenment > 4455 root 20 0 317724 53852 38384 S 3.6 0.7 0:31.28 Xorg > > perf in xfce (shortened): > 28.25% swapper [kernel.kallsyms] [k] intel_idle > 1.10% gkrellm libc-2.21.so [.] _IO_vfscanf > 1.05% Xorg [kernel.kallsyms] [k] _raw_spin_lock_irqsave > 0.99% Xorg [kernel.kallsyms] [k] sock_poll > 0.99% Xorg [kernel.kallsyms] [k] __fget > 0.70% Xorg [kernel.kallsyms] [k] unix_poll > 0.62% Xorg [kernel.kallsyms] [k] fput > 0.62% gkrellm [kernel.kallsyms] [k] do_task_stat > 0.60% Xorg [kernel.kallsyms] [k] do_select > 0.58% Xorg Xorg [.] ResourceClientBits > 0.49% swapper [kernel.kallsyms] [k] menu_select > 0.46% Xorg Xorg [.] WaitForSomething > 0.45% Xorg Xorg [.] dixLookupResourceByType > 0.41% Xorg [kernel.kallsyms] [k] _raw_spin_unlock_irqrestore > 0.39% glxgears [kernel.kallsyms] [k] i915_parse_cmds > > perf in e20: > 16.61% swapper [kernel.kallsyms] [k] intel_idle > 2.43% enlightenment libevas.so.1.17.0 [.] > _evas_render_phase1_object_process > 1.78% enlightenment libpthread-2.21.so [.] __pthread_mutex_unlock_usercnt > 1.71% enlightenment libpthread-2.21.so [.] pthread_mutex_lock > 1.41% enlightenment libc-2.21.so [.] _int_malloc > 0.92% enlightenment libevas.so.1.17.0 [.] > evas_render_updates_internal_loop > 0.84% enlightenment libc-2.21.so [.] _int_free > 0.77% enlightenment libevas.so.1.17.0 [.] evas_render_updates_internal > 0.64% enlightenment module.so [.] evas_gl_common_context_image_push > 0.63% enlightenment libeo.so.1.17.0 [.] eo_data_scope_get > 0.52% enlightenment module.so [.] evas_gl_common_context_font_push > 0.42% enlightenment [kernel.kallsyms] [k] i915_parse_cmds > 0.41% enlightenment [kernel.kallsyms] [k] i915_gem_pwrite_ioctl > 0.38% skype libglib-2.0.so.0.4600.2 [.] g_mutex_lock > 0.37% skype libglib-2.0.so.0.4600.2 [.] g_mutex_unlock > 0.36% enlightenment libeo.so.1.17.0 [.] eo_data_xunref_internal > 0.35% enlightenment [kernel.kallsyms] [k] copy_user_enhanced_fast_string > 0.33% enlightenment [kernel.kallsyms] [k] drm_gem_object_lookup > 0.33% enlightenment module.so [.] _evas_gl_common_context_push > 0.33% enlightenment libc-2.21.so [.] __memcpy_sse2_unaligned > 0.33% enlightenment [kernel.kallsyms] [k] i915_gem_madvise_ioctl > 0.31% Xorg [kernel.kallsyms] [k] __fget > 0.30% enlightenment libevas.so.1.17.0 [.] _evas_object_clip_prev_reset > 0.30% enlightenment libc-2.21.so [.] __libc_calloc > 0.30% Xorg [kernel.kallsyms] [k] _raw_spin_lock_irqsave > 0.30% enlightenment libevas.so.1.17.0 [.] _evas_image_render > 0.29% enlightenment libevas.so.1.17.0 [.] evas_render_mapped > 0.29% Xorg [kernel.kallsyms] [k] sock_poll > 0.28% gkrellm libc-2.21.so [.] _IO_vfscanf > 0.27% enlightenment [kernel.kallsyms] [k] drm_ioctl > 0.27% enlightenment module.so [.] _evas_gl_common_image_push > 0.27% enlightenment libc-2.21.so [.] __memcmp_sse4_1 > 0.26% enlightenment libeo.so.1.17.0 [.] eo_isa > 0.26% enlightenment libevas.so.1.17.0 [.] evas_object_smart_changed_get > 0.25% enlightenment libevas.so.1.17.0 [.] evas_common_font_rgba_draw > 0.24% enlightenment libeo.so.1.17.0 [.] eo_data_xref_internal > 0.23% Xorg [kernel.kallsyms] [k] unix_poll > 0.23% enlightenment module.so [.] evas_gl_common_shader_program_get > 0.22% enlightenment libc-2.21.so [.] malloc_consolidate > 0.21% skype [kernel.kallsyms] [k] __fget > 0.21% enlightenment libdrm_intel.so.1.0.0 [.] 0x000000000000633e > > Pavel > > ------------------------------------------------------------------------------ > 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 > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users