Hypfer wrote: 
> Since I'm running LMS on an Intel Avoton Atom host, the single-core
> performance isn't particularly great.
> This sadly causes quite noticable performance issues (15s+ delays on DB
> Queries) with LMS due to it being single-threaded.
> 
> Is there something I can do about that?
> 

You can try to
- build a version of perl and LMS optimized for your platform
- upgrade the included SQLite DB to a newer version

It's hard to predict how much of a performance improvement (if any) this
is - you'll have to test it.

If you have other stuff running on the server, you can 
- increase LMS' scheduling priority 
- assign LMS to a specific core (with taskset), and everything else to
the other cores if you don't trust the scheduler

Going further down the rabbit hole, you could analyze the queries and
'add additional indices'
(https://medium.com/@JasonWyatt/squeezing-performance-from-sqlite-indexes-indexes-c4e175f3c346)
to the databases.



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111312

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

Reply via email to