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

--- Comment #11 from Eero Tamminen <eero.t.tammi...@intel.com> ---
Libc memcpy() obviously won't be optimized for PCI bus transfers, it's way too
rare use-case for it.

E.g. libpciaccess would seem more suitable place for PCI bus transfer optimized
memory copy function, but unfortunately it doesn't (currently) provide an API
for that.


(In reply to Emil Velikov from comment #10)
> If memcpy shows so prominently in perf, we should look why we're using it so
> often. Polishing the memcpy implementation is putting a band-aid instead of
> fixing the actual problem.

I.e. are the uploads triggered by something in driver, rather than application
itself directly doing it?

"valgrind --tool=callgrind <program>" would output callgraph info with call
counts etc, which can be viewed in kcachegrind.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to