Philip Meyer wrote: 
> 
> What about the SBS/LMS cache folder? My current LMS cache is 271MB. Are
> there parts of this that would be best suited to keep on SSD, whilst
> relocating other parts back on HDD? e.g. there is an Artwork folder that
> might have a lot of small files, but also an artwork.db? Is the artwork
> cache folder frequently changing?
> 
I thought the Artwork folder had been completely replaced with the
artwork.db file, maybe you just have an old Artwork folder which haven't
been deleted automatically when upgrading ? 
(I think the upgrade process was supposed to delete it when they
switched to artwork.db because the amount of files cased some issue on
Windows if I remember correctly)

I think the FileCache has been replaced with cache.db also, so if you
have a FileCache folder you can probably remove that also if you are
using a recent LMS release.

If you want to avoid frequent writing, you probably want to at least put
cache.db on the HDD and possibly the complete cache folder. However, I
would also expect the biggest speed benefit of the SSD to be that the
cache files are on the SSD because you want reads from the cache to be
fast. Since I don't have any personal experience with SSD, I would just
recommend you to try with having the Cache folder on the SSD and having
it on the HDD and compare the performance, if you can't see any
performance difference just put it on the HDD. From a performance
perspective, I would expect that having the database files (library.db
and persist.db) on the SSD would give a performance boost, by default
these are stored in the cache folder but you can manually edit the
dbsource preference and specify it with a path, like:
"dbi:SQLite:dbname=/var/lib/squeezecenter/Cache77Small/library.db"

Philip Meyer wrote: 
> 
> Lastly, in my LMS cache root folder, I seem to have a proliferation of
> file*.db and plug*.db files.  I think something has gone wrong - why are
> these getting created?  Does LMS create these as temporary DBs, and I
> should expect them to be deleted when closing LMS?  Is it safe to wipe
> them?
> 
I think all plug*.db probably is from my plugins, in that case it's safe
to delete them, the only consequence is that the startup will take a bit
longer next time as the cache needs to be re-created. The plugins are
caching the parsed configuration data in these files as parsing can take
a bit of time on slow hardware so I don't want to repeat it every time
the server is restarted.

If I remember correctly the filenames of the *.db files are shorten to 8
characters on Windows, due to some limitation in some perl library,
which result in that the names aren't as descriptive as I would like, on
a Linux machine you would get the full names, the full names have the
syntax:
PluginCache-*.db (where the * is replaced with the full plugin name, for
example "CustomBrowse").


------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=95917

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to