[Openchrome-devel] [Bug 65272] New: xf86-video-openchrome-0.3.3: speed up memcpy on NetBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 2 14:00:17 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65272

          Priority: medium
            Bug ID: 65272
          Assignee: openchrome-devel at lists.freedesktop.org
           Summary: xf86-video-openchrome-0.3.3: speed up memcpy on NetBSD
          Severity: normal
    Classification: Unclassified
                OS: NetBSD
          Reporter: tk at giga.or.at
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Driver/openchrome
           Product: xorg

Created attachment 80166
  --> https://bugs.freedesktop.org/attachment.cgi?id=80166&action=edit
Patch for the issue described above.

>From NetBSD's xsrc:

Remove a couple '#ifdef linux's to let the driver use optimized memcpy
functions on NetBSD for video copy. Gives nearly 2x performance on my
test system (previously "kernel" memcpy was always used):

CHROME(0): Benchmarking video copy.  Less time is better.
CHROME(0): Timed   libc YUV420 copy... 3000272. Throughput: 315.6 MiB/s.
CHROME(0): Timed kernel YUV420 copy... 3024946. Throughput: 313.0 MiB/s.
CHROME(0): Timed    SSE YUV420 copy... 1591352. Throughput: 595.0 MiB/s.
CHROME(0): Timed    MMX YUV420 copy... 2566279. Throughput: 369.0 MiB/s.
CHROME(0): Ditching 3DNow! YUV420 copy. Not supported by CPU.
CHROME(0): Timed   MMX2 YUV420 copy... 1696662. Throughput: 558.1 MiB/s.
CHROME(0): Using SSE YUV42X copy for video.

Originally from Jared McNeill <jmcneill at NetBSD.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20130602/721eac15/attachment.html>


More information about the Openchrome-devel mailing list