[Bug 794173] filesink pointlessly uses write/writev
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 8 15:14:11 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=794173
--- Comment #4 from Georg Lippitsch <glippitsch at toolsonair.com> ---
Twice faster without the patch, are you sure?
I'm on kernel 4.15 and it's ~2.7 times faster *with* the patch.
Regarding fwrite(), a sane implementation would only copy if the input is
smaller than the internal buffer, but directly pass through anything large. I
also found one implementation which does it that way.
Didn't look into glibc though, but AFAIK it's also highly optimized. It will be
a huge task trying to write an own implementation which beats the one in glibc
(if possible at all).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list