[spook-l] Performance tips

Vladimir Lasky Vladimir.Lasky at eng.uts.edu.au
Sun Dec 11 08:22:11 EST 2005


Hi Everyone - here's some tips you may find useful:

If you have an MMX-enabled CPU (e.g. Pentium MMX, P2, P3, P4, some AMD
processors), make sure you have nasm or yasm installed on your system before
compiling xvidcore. This will ensure that xvidcore will utilise your CPU's MMX
instructions to accelerate MPEG4 encoding and your CPU usage will drop
dramatically. Remember to rebuild spook after you rebuild xvidcore.

Also just today, I discovered that there is an MMX-enabled version of libjpeg.
This would theoretically reduce CPU overhead in creating jpeg snapshots. For
people have configured spook to have a long delay between snapshots (e.g. 1
second or more), the difference probably wouldn't be too noticeable, but for
those have faster updates (e.g. multiple frames per second) or when spook has
support for proper MJPEG streaming (e.g. using HTTP mixed/replace headers like
camserv or palantir), it may be quite beneficial.

MMX JPEG (MMX-enabled version of libjpeg) can be downloaded from this page:

http://sourceforge.net/project/showfiles.php?group_id=5776

nasm is also required to build it.

Once you've built and installed libjpeg-mmx, edit spook's configure.ac and
configure files and replace "-ljpeg" with "-ljpeg-mmx" and then rebuild spook.

-- 
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender 
immediately and delete this message. Any views expressed in this message 
are those of the individual sender, except where the sender expressly, and 
with authority, states them to be the views the University of Technology, 
Sydney. Before opening any attachments, please check them for viruses and 
defects.



More information about the spook-l mailing list