Roken
Posts: 248
Joined: Sun Dec 31, 2017 4:35 pm

What's happening behind the scenes

Sat Mar 10, 2018 10:29 pm

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.
Headless PI. OMG, someone cut it's head off. Oh, hang on. it didn't have one to start with.

KnarfB
Posts: 194
Joined: Wed Dec 14, 2016 10:47 am
Location: Germany

Re: What's happening behind the scenes

Mon Mar 12, 2018 10:24 pm

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

Return to “Arch”