Page 1 of 1

What's happening behind the scenes

Posted: Sat Mar 10, 2018 10:29 pm
by Roken
I have been using my Pi as a plex media server (and a couple of other bits that are not relevant).

As an Arch Linux user on my main desktop and laptop, for consistency, I tried ArchPi, which is working just fine. Plex installed on the Arch sdcard, and it's working.

My question is, on the default Debian Raspbian install, it takes a few seconds before media gets going when accessed either using a local connection or via app.plex.tv. On the other hand, it is noticeably snappier when running from ArchPi (and it's still updating libraries).

So what is the Debian distro doing behind the scenes that Arch isn't?

DISCLAIMER: I am NOT recommending ArchPi to anyone that doesn't already know their way around Linux.

Re: What's happening behind the scenes

Posted: Mon Mar 12, 2018 10:24 pm
by KnarfB
Hi,

try

Code: Select all

systemd-analyze critical-chain
which may give you a hint. (Advanced: use systemd-bootchart)

The answer also depends on how the media server is started.

hth

KnarfB