Hi,I just took a look into those functions that are not seem to be involved in performance issues. Until today I stopped at the gdk_window_update_idle() as this call is suggestive of being innocent. I thought it may sleep.
However this calling thread seem to create the performance issue on OSX.Attached you´ll find the time analysis of the spicy client (as png as text exports of this software are not really clear).
Deep inside the gdk_window_update_idle() the drawing function spicex_draw_event() is called that actually consumes 65% of the whole execution time.
Inside cairo_fill() the CGContextDrawImage() is called for the quartz backend and this seem to be the root of all evil. ;-)
Is there any other approach to display the spice-widget content to the screen?
Thanks in advance, Mario Am 07.10.2013 11:55, schrieb Mario Lombardo: Hi, I just compiled the spice-gtk client (spicy) on OSX (http://www.spice-space.org/page/OSX_Client/Build). I am able to connect to the spice server using this client but it is more slow than any VNC client I know. I looked into the code and found two different places where this client seems to be different than the x11 or GDI versions: 1.) It uses sw_canvas.c 2.) It uses spice-widget-cairo.c Is it possible that the slow rendering results in the execution time one of those two files? Which investigation would make more sense: Would it be better to provide a SDL cairo version or should it accelerate the client when there is a canvas option optimized for OSX (quarz I guess)? Is it possible to test the gl canvas on OSX? I didn´t found anything about the gl implementation in the configure script. Thank you. Mario _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
exp_call_tree_spicy.jpg
Description: JPEG image
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel