On Sat, 29 Sep 2012 08:59:02 +0200 Tomas Cech <tc...@suse.cz> said:

try 77748. i can't reproduce fyi.

> Hi,
> 
> for some time I'm facing high load of E17 and X.
> 
> I attached ltrace to enlightenment and collected data for 3 seconds.
> Thise are some higher numbers of calls of functions:
> 
> 42907 ecore_x_screensaver_set
> 32809 free
> 32800 calloc
> 32792 eina_array_step_set
> 32792 eina_array_grow
> 32792 eina_array_flush
> 21453 ecore_x_dpms_enabled_set
> 10931 eet_clearcache
> 10931 edje_thaw
> 10931 edje_freeze
> 10931 ecore_x_flush
> 10930 evas_render_updates
> 1391 evas_render_updates_free
> 1391 ecore_x_window_cursor_set
> 1391 ecore_x_cursor_new
> 1391 ecore_x_cursor_free
> 1287 memcpy
> 679 ecore_file_mv
> 621 eina_hash_find
> 
> 
> Could someone explain me, why ecore_x_screensaver_set is called 14300
> times per second?
> 
> I attached GDB and set break point to this function, compared
> backtrace and it always looks similar:
> (gdb) bt
> #0  ecore_x_screensaver_set (timeout=10, interval=10,
> prefer_blanking=0, allow_exposures=0) at ecore_x_screensaver.c:69
> #1  0x00000000004da619 in e_screensaver_force_update () at
> e_screensaver.c:71
> #2  0x00000000004da705 in _e_screensaver_handler_screensaver_notify_cb
> (data=<optimized out>, type=<optimized out>, event=
>      0x288f670) at e_screensaver.c:231
> #3  0x00007fc4f656bb1c in _ecore_call_handler_cb (event=<optimized
> out>, type=<optimized out>, data=<optimized out>, 
>      func=<optimized out>) at ecore_private.h:319
> #4  _ecore_event_call () at ecore_events.c:559
> #5  0x00007fc4f65701a9 in _ecore_main_loop_iterate_internal
> (once_only=once_only@entry=0) at ecore_main.c:1900
> #6  0x00007fc4f6570737 in ecore_main_loop_begin () at ecore_main.c:934
> #7  0x0000000000439869 in main (argc=<optimized out>, argv=<optimized
> out>) at e_main.c:1060
> 
> 
> Also ecore_x_dpms_enabled_set is used heavily.
> 
> 
> So, WTF?
> 
> Best regards,
> 
> Sleep_Walker


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


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to