Hi,

I spend some time in making Freevo faster. To see the difference, you
need current cvs of freevo _and_ mmpython. Than set OVERLAY_DIR to a
nice directory with _much_ free space. Also set
FREEVO_DIR_STORE_THUMBNAILS and FREEVO_DIR_STORE_MMPYTHON_DATA to 1. 
After that, run 'freevo cache'.

What happens than: Freevo stores all metadata inside the
OVERLAY_DIR. This is faster than calculating the md5 sum to get a
cache file (not only because of md5 itself, also because of the
function to generate the name).

Inside the OVERLAY_DIR Freevo will store thumbnails of all images and
the mmpython data. While using Freevo, Freevo will also cache all data
which may be needed later again. This are fxd files, large images for
the skin background and the parsed skin file.

But: a fully cached dir with 700 images needs 45 MB free space, my
complete OVERLAY_DIR is now at 250 MB. Since we prev. stored the data
in /var/cache/freevo, there should be no real difference.

Please test it, because sooner or later I want:

o activate OVERLAY_DIR as default. A good default value could be
  ~/.freevo/vfs. There will be no code to turn it off. By that I could
  remove some 'if's.
o Remove OVERLAY_DIR_STORE_THUMBNAILS and OVERLAY_DIR_STORE_MMPYTHON_DATA
  and make this the default.


RFC


Dischi

-- 
"Software is like sex: it's better when it's free.", Linus Torvalds



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to