[Spice-devel] Delay in Gimp when using qxl driver
Dominique Rodrigues
dominique.rodrigues at nanocloud.com
Wed Jan 18 13:21:06 PST 2012
Le 18/01/2012 18:42, Soeren Sandmann a écrit :
>> Yes, so here is another timing from ssh login on the VM :
>>
>> PerfTop: 686 irqs/sec kernel: 0.4% exact: 0.0% [1000Hz
>> cpu-clock], (all, 1 CPU)
>> --------------------------------------------------------------------------------------------------
>>
>> samples pcnt function DSO
>> _______ _____ _______________________
>> __________________________________________
>>
>> 5817.00 62.0% hashlittle
>> /usr/lib64/xorg/modules/drivers/qxl_drv.so
>> 2821.00 30.0% __memcpy_ssse3 /lib64/libc-2.12.so
>> 384.00 4.1% download_box
>> /usr/lib64/xorg/modules/drivers/qxl_drv.so
>> 207.00 2.2% fetch_scanline_x8r8g8b8
>> /usr/lib64/libpixman-1.so.0.18.4
>> 74.00 0.8% __memset_sse2 /lib64/libc-2.12.so
>> 17.00 0.2% qxl_allocnf
>> /usr/lib64/xorg/modules/drivers/qxl_drv.so
>> 16.00 0.2% finish_task_switch [kernel.kallsyms]
>> 11.00 0.1% retint_careful [kernel.kallsyms]
>> 9.00 0.1% _spin_unlock_irqrestore [kernel.kallsyms]
>> 8.00 0.1% hash_and_copy
>> /usr/lib64/xorg/modules/drivers/qxl_drv.so
> I'd be interested in seeing a sysprof profile, where the driver is
> compiled with
>
> -g -fno-omit-frame-pointer -O2
>
> Ie., yum install sysprof, then run sysprof, click "start", do the thing
> you want to do in the gimp, then save the profile and send it to the
> list.
>
>
> Søren
>
I have also done a test with the current git version of xf86-video-qxl.
Please find attached the sysprof profile from this test with Gimp.
Although not satisfactory, It appears that result is a lot better.
Hashlittle function "only" takes 33% of CPU, instead of 60% and drawing
in Gimp is less a pain (if you draw slowly).
Dominique
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysprof_gimp_qxl-git.xml
Type: text/xml
Size: 190702 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120118/fbf8c38f/attachment-0001.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dominique_rodrigues.vcf
Type: text/x-vcard
Size: 308 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120118/fbf8c38f/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3710 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120118/fbf8c38f/attachment-0001.bin>
More information about the Spice-devel
mailing list