[Bug 795828] New: Drop use of GSlice in GStreamer?
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat May 5 10:31:57 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795828
Bug ID: 795828
Summary: Drop use of GSlice in GStreamer?
Classification: Platform
Product: GStreamer
Version: git master
URL: https://bugzilla.gnome.org/show_bug.cgi?id=754687
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: t.i.m at zen.co.uk
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 371701
--> https://bugzilla.gnome.org/attachment.cgi?id=371701&action=edit
Drop use of GSlice allocator in favour of plain g_malloc()/g_free()
Just gonna put this here. Enjoy.
The "Benchmarks show" bit could probably need more verification, but in the few
tests I have run I have found either positive performance impact or no
discernable performance impact. It's hard to do proper measurements for our
purposes, we need to test alloc from one thread and free in another thread for
realistic usage, while at the same time having a test case where
allocation/free takes up most of the cycles. I have run some tests on a
low-powered windows ec2 machine, that showed GSLice being ridiculously slow
compared to the system allocator there (windows server 2006 =~ win10).
IIRC main reason to use GSlice was because the sys allocator on ~Windows XP was
horrendous, but that doesn't seem to be the case any longer, and on Linux the
glibc allocator seems superior nowadays.
--
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