Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

LMS on Pi vs NAS
LMS on Pi vs NAS
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 11th March 2018, 02:48 PM   #1
BillTheCat is offline BillTheCat
diyAudio Member
 
Join Date: Dec 2016
Default LMS on Pi vs NAS

I have a Pi-based DAC and also a Qnap NAS which has a native LMS package. I'm wondering if any of you have opinions on the pros/cons of running the server on one or the other.

Thanks!
  Reply With Quote
Old 11th March 2018, 06:24 PM   #2
Man in a van is offline Man in a van  United Kingdom
diyAudio Member
 
Join Date: Jan 2017
Location: Staffordshire
Depends on the NAS model.

Lots of LMS'ers run it on a pi these days, keeping the music files on the NAS, much simpler.

Ronnie
  Reply With Quote
Old 11th March 2018, 08:11 PM   #3
BillTheCat is offline BillTheCat
diyAudio Member
 
Join Date: Dec 2016
What sort of performance impact might that have on the Pi? Yes, I do have my FLAC files on the NAS, but wouldn't there be advantage to also running LMS on the NAS also, rather than overburdening the Pi?
  Reply With Quote
Old 11th March 2018, 09:04 PM   #4
Man in a van is offline Man in a van  United Kingdom
diyAudio Member
 
Join Date: Jan 2017
Location: Staffordshire
It really is no burden at all. It really depends on which NAS you have and which version of LMS on the NAS. The place to look for even more opinion, is on the SlimDevices forum. But why not install LMS on your pi and trial it for a while.

Which OS do you use?

Ronnie
  Reply With Quote
Old 21st March 2018, 08:22 AM   #5
soundcheck is offline soundcheck  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: DUS
Using a PI as a server has several disadvantages:

* connectivity

1. network interface
2. data storage interface

both use the same USB2.0 bus - a single lane towards the CPU!.
Running a server you'll face quite some two-way traffic on that server.

Now consider you got more then one client plus DSP work to handle!?!?


And. Don't let you fool by most current 3B+ claims of 300MBit/s!
This won't make things better!
This just floods that USB2 bottleneck even more.


* performance

A PI server. Too slow. Because of above. Because of other factors.
It works on small collections, small networks, no DSP.
On large collections things get annoying

You better don't consider demanding DSP applications or several clients
being served at the same time.

The overall HW is just too flimsy and lowQ for bigger tasks.

The first thing you'll notice is that your remote apps perform pretty slow and sluggish.

A database rescan on a large collection takes ages.

######

Bottom line.

LMS will work on a PI.
If you can live with a sluggish system, it'll do. IMO still better then any of these MPD based systems.

The PI OSes usually provide up2date LMS packages. That's a "pro".

A high performance NAS is made for handling lots of network traffic and data
storage access.
That alone speaks for choosing NAS over PI as a server.

The problem with NAS is the SW support - over time. You might not get the
newest SW. Or SW support fades out after a certain timeframe.
Customization is not a term I'd connect to a black-box NAS. Using your own SW or setup might become quite challenging on a NAS.

I see pro and cons on both sides. It depends on what you're expecting.


IMO the best of all solutions is a DIY server (I use my desktop NUC). I tried NAS and I tried PI.
Flexibility, performance and administration beat all above - IMO by a large margin.



Good luck.
  Reply With Quote
Old 21st March 2018, 12:17 PM   #6
BillTheCat is offline BillTheCat
diyAudio Member
 
Join Date: Dec 2016
Quote:
Originally Posted by soundcheck View Post
Using a PI as a server has several disadvantages...IMO the best of all s olutions is a DIY server (I use my desktop NUC). I tried NAS and I tried PI.
Great feedback. What NUCs would you recommend?
  Reply With Quote
Old 21st March 2018, 01:16 PM   #7
sangram is offline sangram  India
diyAudio Member
 
Join Date: Sep 2002
Location: India
I'm running two severs, one is Daphile running on an x86 atom (though it only serves to its own local client) and the other on an Asus Tinkerboard running Armbian.

I really can't say that one is better than the other, given the same library (it's a USB drive connected to the Tinkerboard and shared over the network, as well as being the library for LMS in that setup).

Typically a NAS will have similar hardware to the pi, often poorer. Though storage and network access would be much better you'd have no improvement in terms of processing capability, and for even large files the Tinkerboard is sufficient (up to DSD128, I don't have larger) - though it does have a 'proper' GbE implementation. The drive is still limited to USB 2.0, but I get over 30MB/s out of it, which is sufficient for my needs.

I agree with a dedicated server, but till I'm able to get a dedicated x86 setup working properly, I'm happy with the Asus. My only issue is an occasional disconnect that I can only resolve by seeking forward or restarting playback (there's some reports of the issue but no solution).

The next step is a little J1800 based board powered by a Pico PSU - which will have Samba, P2P and LMS as well as provide network routing for the home network. Don't yet have the Linux chops to put together the entire solution but I'm getting there. Hardware is all in place though.
  Reply With Quote
Old 21st March 2018, 02:04 PM   #8
BillTheCat is offline BillTheCat
diyAudio Member
 
Join Date: Dec 2016
Quote:
Originally Posted by sangram View Post
I agree with a dedicated server, but till I'm able to get a dedicated x86 setup working properly, I'm happy with the Asus.
I might be "off the reservation" with this, but if you're talking about an x86 NAS, I'm pretty sure that both Synology and Qnap have native packages implemented for LMS which automatically update themselves with the nightlies.
  Reply With Quote
Old 21st March 2018, 02:48 PM   #9
soundcheck is offline soundcheck  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: DUS
Quote:
Originally Posted by BillTheCat View Post
Great feedback. What NUCs would you recommend?
Depends what you're up2.


I'm running a

* i5 Broadwell NUC with
* 128GB M.2 system SDD and
* 2TB data HDD and
* 16GB RAM


You can set fans and HDD this way that they pretty much keep quiet all
the time.

It also still serves very well as every-day desktop PC since years.

As base OS I run Ubuntu and its low latency kernel.
I also have a Windows installed on Virtualbox - just in case.

Beside LMS - I have Serviio as UpnP server installed.

****

Would I recommend such a setup!?!? I guess I did already.
I'm more then happy with it. Never had a single issue.

I also had weaker Atom and Arm (Cubitruck) "toys" for a while.
They do the job. Non of them survived for long though.


Would I recommend a setup like that for the media server task only!?!?
Hmmh. It's quite an investment if you can't share different tasks.
I'd have to think twice what to do.


As usual. There'll be as many options as opinions about this or that choice.




Good luck with your choices!
  Reply With Quote

Reply


LMS on Pi vs NASHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 07:50 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki