Discussion:
[SlimDevices: Unix] Spotty on Rpi3 / Very slow
philosopher
2018-03-07 16:08:28 UTC
Permalink
So, I've set lms 7.9.1 on rpi3 (I've tried on raspbian, ubuntu mate,
osmc, no difference).
Added Spotty, which is ridiculously slow though.
I have to wait 10 seconds between the songs (connecting... buffering...
etc).
Once it starts playing, there are no dropouts/hicks.
Skipping to next song takes ages though.

Network is ethernet and super fast, so there must be something else I'm
missing.
Hardware on rpi3 should be enough to run this easily, any ideas?


------------------------------------------------------------------------
philosopher's Profile: http://forums.slimdevices.com/member.php?userid=67933
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-07 16:46:14 UTC
Permalink
Post by philosopher
Added Spotty, which is ridiculously slow though.
You simply installed the plugin, didn't build it yourself?
Post by philosopher
I have to wait 10 seconds between the songs (connecting... buffering...
etc).
This sounds like networking issues. I know, your connection is fast. But
is your connection to Spotify, fast, too? Do you have any means to
measure the data throughput to your Pi when it does buffer?
Post by philosopher
Hardware on rpi3 should be enough to run this easily, any ideas?
It's what I'm running myself. It definitely is fast enough.
--
--
Michael
Mnyb
2018-03-07 16:46:21 UTC
Permalink
And your internet connection?



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Grumpy Bob
2018-03-07 17:00:45 UTC
Permalink
I have Spotty running on a Raspberry Pi3 with piCorePlayer/LMS7.9.1 and
I find selecting albums, playlists, searching and so forth to be rather
too slow to be usable. The Pi has a wired connection to the router, and
download speed is generally pretty high. When playing, I don't see
buffering, the problems are in slow browsing speed.

Robert



*Home: *Raspberry Pi 3/piCoreplayer/LMS7.9.1 with files on QNAP TS-239
Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega
Planar 3 > Rega Fono Mini; Naim CD3)
PiCorePlayer(Pi2) with IQAudIO DAC+>Sennheisers
2 x Squeezebox Radios, 1 X Squeezebox 3 (retired), spare
Pi2/piCorePlayer
*Office:* LMS7.9 running on WiFi MyPassport drive >
piCorePlayer(PiB)/HiFiBerryDAC > Amptastic Amplifier
SqueezePad, iPeng as controllers

last.fm/user/GrumpyBob
------------------------------------------------------------------------
Grumpy Bob's Profile: http://forums.slimdevices.com/member.php?userid=41857
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-07 17:38:43 UTC
Permalink
Post by Grumpy Bob
I have Spotty running on a Raspberry Pi3 with piCorePlayer/LMS7.9.1 and
I find selecting albums, playlists, searching and so forth to be rather
too slow to be usable.
That would be a different problem. But anyway: what do you consider "too
slow"? How long does it take to eg. get Top Tracks, or New Releases?
--
Michael
DJanGo
2018-03-07 18:40:16 UTC
Permalink
Post by Grumpy Bob
running on a Raspberry Pi3 with piCorePlayer/LMS7.9.1
tbh - my old LMS was fitted with a better CPU and 2GB RAM running plain
Debian.
Picoreplayer run in the limited RAM so compare my old lms with your
setup is pretty ...

AFAIK ->You only get what you pay for..


------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Grumpy Bob
2018-03-07 19:15:12 UTC
Permalink
Post by DJanGo
tbh - my old LMS was fitted with a better CPU and 2GB RAM running plain
Debian.
Picoreplayer run in the limited RAM so compare my old lms with your
setup is pretty ...
AFAIK ->You only get what you pay for..
Very true, so I'm not to troubled. Actually, it's when browsing albums
and artists that it seems very slow. Playlists is a bit snappier.

Robert



*Home: *Raspberry Pi 3/piCoreplayer/LMS7.9.1 with files on QNAP TS-239
Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega
Planar 3 > Rega Fono Mini; Naim CD3)
PiCorePlayer(Pi2) with IQAudIO DAC+>Sennheisers
2 x Squeezebox Radios, 1 X Squeezebox 3 (retired), spare
Pi2/piCorePlayer
*Office:* LMS7.9 running on WiFi MyPassport drive >
piCorePlayer(PiB)/HiFiBerryDAC > Amptastic Amplifier
SqueezePad, iPeng as controllers

last.fm/user/GrumpyBob
------------------------------------------------------------------------
Grumpy Bob's Profile: http://forums.slimdevices.com/member.php?userid=41857
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
slartibartfast
2018-03-07 19:27:23 UTC
Permalink
Installed the plugin, did not build it.
Forgot to mention, when client is connected to Lms running on other
machines, same network/internet access, everything is perfect. So there
is something wrong with the pi. Maybe this double pcm/flac conversion is
causing issues. I did not find anything hungry in resources though. Pi
is running pretty much idle all the time.
Skipping track is painful though, almost unusable.
Too bad, the plugin is cool, nice work man.
I've used it in other machines, rocks big time. Something wrong with the
pi though, I'll keep searching.
Do you have a guide for Lms installation on pi? Maybe some library
missing/bad version?
I've basically followed this one
http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-stand-alone-squeezebox-server-and-player-for-bbq/
ThanksI would just use max2play or picoreplayer. Much easier and lots of users
in the forum.

Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Man in a van
2018-03-07 20:41:20 UTC
Permalink
Do you have a guide for Lms installation on pi? Maybe some library
missing/bad version?
I've basically followed this one
http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-stand-alone-squeezebox-server-and-player-for-bbq/
Thanks
In what way "basically followed"?


I have followed Gerrelt's blog for both LMS and Squeezelite installs on
rpi3b without any problems.

I have also, in the past, run the spotty app from LMS, trouble free. I
don't, however, now listen to Spotify so can'r comment on that.

You should be aware that there may be a minor hiccup to be encountered
when doing an update

http://forums.slimdevices.com/showthread.php?108744-Debian-packages-update-Possible-dpkg-failure

You might want to follow the Wiki instructions for Debian installs of
LMS (referenced in the above link).

Ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
philosopher
2018-03-08 06:11:48 UTC
Permalink
Post by Man in a van
In what way "basically followed"?
I have followed Gerrelt's blog for both LMS and Squeezelite installs on
rpi3b without any problems.
I have also, in the past, run the spotty app from LMS, trouble free. I
don't, however, now listen to Spotify so can't comment on that.
You should be aware that there may be a minor hiccup to be encountered
when doing an update
http://forums.slimdevices.com/showthread.php?108744-Debian-packages-update-Possible-dpkg-failure
You might want to follow the Wiki instructions for Debian installs of
LMS (referenced in the above link).
Ronnie
The guide assumes no missing dependencies, but socket::ssl was missing,
along with a bunch of dependencies, so I've resolved them with usual
update -f.
Thanks for the link for the deb pkgs, will check it.
Will also try max2play, as mentioned above.

General connection of rpi is good, I've ookled it with chromium.
Can't imagine it has trouble connecting only to Spotify, given other lms
installations in the network have no issues.
Get's weird, really.


------------------------------------------------------------------------
philosopher's Profile: http://forums.slimdevices.com/member.php?userid=67933
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Gobuleberbu
2018-05-16 05:01:48 UTC
Permalink
Hi! I just wanted to give my feedback as well with version 2.33.

Starting a new song will take:
- regular song in lms : instant
- web radio: less than 1 sec
- spotty from Spotify: 6 seconds (current playing song stops 2 seconds
after changing track followed by a 4 seconds gap)
- spotty from ipeng's interface: 6-10 seconds
-spotty from lms web interface : 4-12 seconds
Librespot from Spotify average 2-3 seconds but got as long as 12 seconds
delay (instant when rewinding the song-the files are not cached)

- Pausing from ipeng, Spotify or the web interface: instant
- Resuming from ipeng, Spotify or the web interface: 0-3 seconds
(variable)

Running on class 10 card on a raspberry pi 2. LMS 7.9.1 Increased
memory usage enabled. Also, I do not have particularly interesting logs
to communicate..

Thanks for your work!


------------------------------------------------------------------------
Gobuleberbu's Profile: http://forums.slimdevices.com/member.php?userid=68135
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
edwin2006
2018-03-08 06:57:32 UTC
Permalink
Spotty on rp3 with pcp, running fine



*SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x
Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden)
1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, D-Link Smart Switch 24p, 3x Ubiquity
------------------------------------------------------------------------
edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
philosopher
2018-03-08 21:32:16 UTC
Permalink
Sooooo, tried Max2play, works noticeably better, around 5 seconds
between skips.
Max2play does not seem to be my thing (how can I boot to console? lxde
is awful), but anyway, I'll see if I can live with it.

So, max2play performs better, why is that?
Can anyone tell us what does the max2play automated installation run
when installing squeezeboxserver?
It obviously does something that standard .deb deployment procedure
misses.


------------------------------------------------------------------------
philosopher's Profile: http://forums.slimdevices.com/member.php?userid=67933
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
slartibartfast
2018-03-08 21:40:57 UTC
Permalink
Post by philosopher
Sooooo, tried Max2play, works noticeably better, around 5 seconds
between skips.
Max2play does not seem to be my thing (how can I boot to console? lxde
is awful), but anyway, I'll see if I can live with it.
So, max2play performs better, why is that?
Can anyone tell us what does the max2play automated installation run
when installing squeezeboxserver?
It obviously does something that standard .deb deployment procedure
misses.Are you saying that skipping to the next song takes 5 seconds? I use
max2play and skipping has no delay.

Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
philosopher
2018-03-09 07:49:46 UTC
Permalink
Post by philosopher
Are you saying that skipping to the next song takes 5 seconds? I use
max2play and skipping has no delay.
Sent from my SM-G900F using Tapatalk
Yeap, that's what I'm saying.
Happens with both squeezebox touch & squeezelite.
Was 10 seconds with raspbian, so I should be happy now :/

It will play a playlist just fine, when a song ends the next one loads
immediately.
But if you try to skip by hand, or choose a different
playlist/song/whatever, you get the 5-6 second delay.

Dunno really what's going on, with all you people claiming it works
fine.
Maybe a defect rpi? Though network is good, and other lms on local
machines work perfect.


------------------------------------------------------------------------
philosopher's Profile: http://forums.slimdevices.com/member.php?userid=67933
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Mnyb
2018-03-09 07:56:17 UTC
Permalink
Try PiCore player its even faster than max2play much less overhead.



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-09 08:42:43 UTC
Permalink
Post by philosopher
Happens with both squeezebox touch & squeezelite.
Was 10 seconds with raspbian, so I should be happy now :/
Running on pCP behind a slowish 10Mbps connection a skip usually takes a
bit more than one second here.
Post by philosopher
It will play a playlist just fine, when a song ends the next one loads
immediately.
In this case LMS will start buffering about 10s before the playing track
ends. Therefore you don't see the buffering.
Post by philosopher
But if you try to skip by hand, or choose a different
playlist/song/whatever, you get the 5-6 second delay.
Yeah, that's too slow. You could disable the PCM -> FLAC transcoding to
see whether this improves the situation?
--
Michael
d6jg
2018-03-09 16:07:49 UTC
Permalink
I am running piCorePlayer on a wired Pi3 as a dedicated LMS with FLACs
on a NAS via NFS.
No issue with Spotty but I think I have found a limitation of the
hardware.
If I ask LMS (via the web interface) to display "Albums with small
artwork" it kills playback until the search has completed.
This is whether I am playing local FLACs or Spotify tracks.
No big issue though as its a rare thing to do.



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Mnyb
2018-03-09 16:42:09 UTC
Permalink
Post by d6jg
I am running piCorePlayer on a wired Pi3 as a dedicated LMS with FLACs
on a NAS via NFS.
No issue with Spotty but I think I have found a limitation of the
hardware.
If I ask LMS (via the web interface) to display "Albums with small
artwork" it kills playback until the search has completed.
This is whether I am playing local FLACs or Spotify tracks.
No big issue though as its a rare thing to do.
Make sure that items per page for the web-UI is the default 50 . Having
200 or so so that you can scroll a bit before selecting next page does
have a performance impact .



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-09 17:00:16 UTC
Permalink
Post by Mnyb
Make sure that items per page for the web-UI is the default 50 . Having
200 or so so that you can scroll a bit before selecting next page does
have a performance impact .
And make sure you have decent storage media for your cache: when you're
browsing albums LMS will have to read all the images from the cache. If
you've got a cheap SD card, then this can be quite a bit of a bottleneck.

Oh... this could actually be a bottleneck for Spotty, too. I think the
helper is always storing the audio data temporarily to disk. By default
this would be /tmp, but on some systems it's LMS' cache folder, as /tmp
can be rather small.

What kind of SD card are you using?

Also make sure you enabled "high memory usage" for the database
(unrelated to spotty).
--
Michael
d6jg
2018-03-11 21:34:56 UTC
Permalink
Class 10 card. Items per page is 50.
Cache is here
[image:
Loading Image...]


Sent from my iPhone using Tapatalk



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
philosopher
2018-03-14 12:05:06 UTC
Permalink
So, no solution found.
Flac/PCM setting on filetypes makes no difference.
Card is Samsung Evo 32GB.

System seems quite idle while streaming from Spotify (check image).
Connection is good (other local LMS works fine with spotty).
So, no clue, really.

24703


+-------------------------------------------------------------------+
|Filename: Screen Shot 2018-03-13 at 20.11.33.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24703|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
philosopher's Profile: http://forums.slimdevices.com/member.php?userid=67933
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
d6jg
2018-03-16 15:02:42 UTC
Permalink
Post by d6jg
Class 10 card. Items per page is 50.
Cache is here
https://uploads.tapatalk-cdn.com/20180311/03c7cb6d98ae0615c9c8bcbb05e26eeb.jpg]
Sent from my iPhone using Tapatalk
@Pippin

iPeng is misreporting the location of the Cache etc - LMS is on
piCorePlayer based Pi3 but the Cache & Prefs are on my NAS !!

See post above.



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
d6jg
2018-03-16 15:04:58 UTC
Permalink
Post by d6jg
@Pippin
iPeng is misreporting the location of the Cache etc - LMS is on
piCorePlayer based Pi3 but the Cache & Prefs are on my NAS !!
See post above.
Actually I have realised that the piCorePlayer move Cache etc probably
creates a symlink in which case iPeng is correct but it is misleading.



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-16 16:44:18 UTC
Permalink
Post by d6jg
Actually I have realised that the piCorePlayer move Cache etc probably
creates a symlink in which case iPeng is correct but it is misleading.
Can you confirm that Settings/Information would report the same as iPeng?

And could you move the cache back to on-device, just to be sure the pCP
<-> NAS communication isn't the bottleneck you've been looking for?
--
Michael
d6jg
2018-03-16 16:59:46 UTC
Permalink
Post by d6jg
Post by d6jg
Actually I have realised that the piCorePlayer move Cache etc
probably
Post by d6jg
creates a symlink in which case iPeng is correct but it is
misleading.
Can you confirm that Settings/Information would report the same as iPeng?
And could you move the cache back to on-device, just to be sure the pCP
<-> NAS communication isn't the bottleneck you've been looking for?
--
Michael
LMS does report the same as iPeng

I will move the cache and advise but pretty sure it is the cause of the
bottleneck. The Pi’s LAN is of course it’s weak point being only 100mb
and the bus is shared with the USB. I can’t do the cache move today
unfortunately.



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
d6jg
2018-03-20 16:22:26 UTC
Permalink
I built LMS onto some new (secondhand) hardware today.
An HP Microserver, AMD Turion(tm) II Neo N40L Dual-Core Processor, 2
cores with 8GB RAM and a 32GB SSD i.e. a very capable machine
OS is Vortexbox 2.4 hacked about a bit and with Logitech Media Server
Version: 7.9.1 - 1521043527
Music is still on my NAS (NFS mount) but Cache & Prefs are now on the
SSD
Ran the "Find albums with small artwork" thingy and it still borked the
playback but not for anywhere near as long as on the Pi.

@Michael.
Does the small artwork search read the music files or just the database
/ Cache ?



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-20 16:47:04 UTC
Permalink
Post by d6jg
I built LMS onto some new (secondhand) hardware today.
An HP Microserver, AMD Turion(tm) II Neo N40L Dual-Core Processor, 2
cores with 8GB RAM and a 32GB SSD i.e. a very capable machine
OS is Vortexbox 2.4 hacked about a bit and with Logitech Media Server
Version: 7.9.1 - 1521043527
Music is still on my NAS (NFS mount) but Cache & Prefs are now on the
SSD
Ran the "Find albums with small artwork" thingy and it still borked the
playback but not for anywhere near as long as on the Pi.
This is becoming rather off topic... neither Spotty nor Pi involved?
Post by d6jg
Does the small artwork search read the music files or just the database
/ Cache ?
That process is super slow, as it first would query all tracks to find
the corresponding albums, then go read all artwork files for all those
albums to figure out the size. Then go query the album information for
that album if the size was as requested.

It could probably be better implemented. But it's nothing you'd run
regularly, therefore not representative for general LMS use. Or even
less so Spotty :-).
--
Michael
d6jg
2018-03-20 16:53:13 UTC
Permalink
Post by Michael Herger
Post by d6jg
I built LMS onto some new (secondhand) hardware today.
An HP Microserver, AMD Turion(tm) II Neo N40L Dual-Core Processor, 2
cores with 8GB RAM and a 32GB SSD i.e. a very capable machine
OS is Vortexbox 2.4 hacked about a bit and with Logitech Media Server
Version: 7.9.1 - 1521043527
Music is still on my NAS (NFS mount) but Cache & Prefs are now on the
SSD
Ran the "Find albums with small artwork" thingy and it still borked
the
Post by d6jg
playback but not for anywhere near as long as on the Pi.
This is becoming rather off topic... neither Spotty nor Pi involved?
Post by d6jg
Does the small artwork search read the music files or just the
database
Post by d6jg
/ Cache ?
That process is super slow, as it first would query all tracks to find
the corresponding albums, then go read all artwork files for all those
albums to figure out the size. Then go query the album information for
that album if the size was as requested.
It could probably be better implemented. But it's nothing you'd run
regularly, therefore not representative for general LMS use. Or even
less so Spotty :-).
--
Michael
Apologies for the threadjack



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Michael Herger
2018-03-20 17:06:37 UTC
Permalink
Post by d6jg
Apologies for the threadjack
FWIW: that query is poorly implemented in that it doesn't give the
server time to "breath". LMS is basically cooperative multi-tasking: a
long running task can tell LMS to do some streaming every now and then.
I don't do this in that particular case. I probably should. But as I
said it shouldn't be considered a benchmark for overall LMS performance.
--
Michael
d6jg
2018-03-16 14:54:05 UTC
Permalink
Post by Mnyb
Post by Mnyb
Make sure that items per page for the web-UI is the default 50 .
Having
Post by Mnyb
200 or so so that you can scroll a bit before selecting next page
does
Post by Mnyb
have a performance impact .
And make sure you have decent storage media for your cache: when you're
browsing albums LMS will have to read all the images from the cache. If
you've got a cheap SD card, then this can be quite a bit of a
bottleneck.
Oh... this could actually be a bottleneck for Spotty, too. I think the
helper is always storing the audio data temporarily to disk. By default
this would be /tmp, but on some systems it's LMS' cache folder, as /tmp
can be rather small.
What kind of SD card are you using?
Also make sure you enabled "high memory usage" for the database
(unrelated to spotty).
--
Michael
An update on this issue.

I didn't realise at the time but I had moved the Cache etc to my NAS
within the piCorePlayer setup.
24722
This obviously has the benefit of making sure that all your Prefs are
saved to the NAS and allows you to easily recover from an SD card
corruption but there is this trade off which I have tripped over.
Something for other users to be aware thats all.


+-------------------------------------------------------------------+
|Filename: 2018-03-16 14_52_26-pCP - LMS Main Page.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24722|
+-------------------------------------------------------------------+


PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108789
Loading...