[Gstreamer-bugs] [Bug 118582] Changed - Do not use mmap for filesrc plugin.

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Tue Jul 29 09:00:50 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=118582

Changed by rbultje at ronald.bitfreak.net.

--- shadow/118582	Tue Jul 29 11:35:50 2003
+++ shadow/118582.tmp.11917	Tue Jul 29 12:00:50 2003
@@ -21,6 +21,12 @@
 the mmap() is slow, because it invalidates the cache used by the processor
 for the translation of virtual addresses to physical ones. So mmap is a
 good thing if you call it once in the program, and the read many, many
 times. It is also good for sharing the memory overhead of reading a file
 between several processes. However, if one is creating and destroying mmaps
 all over the time, that is quite slow.
+
+------- Additional Comments From rbultje at ronald.bitfreak.net  2003-07-29 12:00 -------
+Linus is talking about multiple opens per second, whereas your average
+media file takes quite a bit longer than a second, I hope. ;).
+
+However, for media tag parsing, this makes sense, yes.




More information about the Gstreamer-bugs mailing list