[Wayland-bugs] [Bug 763350] drawing performance worse than X

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 15 01:08:57 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763350

--- Comment #20 from Matthias Clasen <mclasen at redhat.com> ---
(In reply to Christian Hergert from comment #9)
> I'm running weston under X to test this, and it looks like the number of
> frames rendered is about half that of the same code on Xorg.
> 
> I was curious about the raw memfd costs, so put together an informative test:
> 
>   - memfd_create()
>   - ftruncate(2*page_size)
>   - mmap()
>   - page fault all pages
>   - munmap()
>   - close()
> 
> The cost for all of the above is about .06 msec. So not really that bad.
> Interestingly, half of the time is spent on close()!

2 pages is pretty small - if you have a maximized window, say 1024x768 pixels,
that is ~1000 pages at 1k pixels/page

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160315/d8d62d74/attachment.html>


More information about the wayland-bugs mailing list