[gstreamer-bugs] [Bug 500150] Set buffering option to filesink element

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 30 04:27:39 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=500150

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Laurent Glayal changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #3 from Laurent Glayal  2007-11-30 12:27 UTC -------
Yes, we use record over NFS for a large number of files (over 100
simultaneously) and for buffers of 20 milliseconds duration. To avoid too many
system call, context switching and so on we use this patch. 

Some comparisons :
[root at testg5 /tmp]$strace -f -v gst-launch audiotestsrc num-buffers=10000 !
filesink location=/tmp/t.dat buffer-size=10 2>&1 | grep write | wc -l
525
[root at testg5 /tmp]$strace -f -v gst-launch audiotestsrc num-buffers=10000 !
filesink location=/tmp/t.dat 2>&1 | grep write | wc -l
5023

For us reducing the number of writes reduces overhead on the nfs client and on
the nfs server. We also reduce side effect of context switch on the system.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=500150.




More information about the Gstreamer-bugs mailing list