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

Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad
Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad
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 23rd May 2020, 09:02 AM   #441
Darjus is offline Darjus  Finland
diyAudio Member
 
Join Date: May 2017
Quote:
Originally Posted by Dynobot View Post
I have to agree with you, its not 100% yet, very close but things could get a bit clearer and a bit more dynamic.

Mike [Archphile] seems to like cpu affinity and some other settings in his archphile-optimize script. From my experience SBC's don't like to be pushed and need to be ever so slightly nudged with gentle settings. This is to say, the normal brute-force methods have a negative effect.

IMO, Arch Linux sounds better than Debian so these days I've actually been rolling my own Arch Linux. PiCore is pretty good but never seems to have the weight and body that I am looking for. Archphile gives me a pretty good base to work with, so I'm going to play around with the archphile-optimized settings and dig into it a bit more.

Software wise I have MPD, Squeeze and Roon to play with.
Hi mate,

looks like you have quite a good expertise on Arch Linux and audio, quite a rare combination maybe can you give me some hints into how to make faster booting Archphile on RPI3 without compromising the sound? The setup doesn't need to have any visual interface or any network connection, just MPD, MPC terminal commands. MPD will be controlled through Python Serial lib, via USB. So basically I just need to have USB ports for accessing storage, Serial, and Bluetooth dongle, and running MPD and Bluetooth commands.As setup will be in the car it will be really annoying to wait more than 10 seconds for bootup of RPI. For the first steps i could just disable all unneeded packages (MyMPD, Avahi, etc.), but what could be done next? Do you think its possible to reach 5 seconds boot time?
  Reply With Quote
Old 24th May 2020, 08:03 AM   #442
flexus is offline flexus  Austria
diyAudio Member
 
Join Date: May 2007
you can do some
Code:
 systemd-analyze blame
it shows you the time needed for the bootup tasks to complete
  Reply With Quote
Old 24th May 2020, 10:41 AM   #443
Darjus is offline Darjus  Finland
diyAudio Member
 
Join Date: May 2017
thanks man, that was a nice feature. I am getting these results. Red ones i understand i can disable in my case, green i can launch on demand after bootup. But it doesn't cut that much now loading of all system time around 17s. Is there any other services i could disable? and other tricks to make boot faster?
1.039s dev-mmcblk0p2.device
822ms netctl@archphile\x2dnetwork.service
778ms mpd.service
418ms avahi-daemon.service
408ms bluetooth.service
320ms systemd-logind.service
226ms ldconfig.service
200ms systemd-udev-trigger.service
170ms systemd-remount-fs.service
166ms user@0.service
148ms systemd-sysusers.service
119ms systemd-modules-load.service
114ms systemd-journal-catalog-update.service
112ms kmod-static-nodes.service
104ms sys-kernel-debug.mount
102ms systemd-udevd.service
96ms systemd-tmpfiles-setup.service
76ms tmp.mount
75ms systemd-journal-flush.service
67ms systemd-sysctl.service
57ms systemd-journald.service
47ms boot.mount
47ms dev-mqueue.mount
46ms systemd-random-seed.service
44ms systemd-user-sessions.service
42ms systemd-tmpfiles-setup-dev.service
35ms systemd-rfkill.service
32ms systemd-update-utmp.service
18ms sys-kernel-config.mount
16ms var-log.mount
16ms systemd-update-done.service
  Reply With Quote
Old 25th May 2020, 10:31 AM   #444
flexus is offline flexus  Austria
diyAudio Member
 
Join Date: May 2007
Most of these services are important. I would not stop them, maybe move the start process to a later point where its possible. You'd have to alter the systemd unit for that.
You can further do some
Code:
systemd-analyze critical-chain
There you see the "dependencies" and reasons why the System startup takes that long. On my System for example dhcp takes way too long.
My suggestion is, take a look at the socket activation topic.
  Reply With Quote
Old 26th May 2020, 07:21 PM   #445
Darjus is offline Darjus  Finland
diyAudio Member
 
Join Date: May 2017
then i will stick to your advice and won't experiment with those processes
I borrowed some knowledge from here Himesh's Blog: Fast boot with Raspberry Pi
these tricks:
HTML Code:
boot_delay=0
HTML Code:
 quiet
and now it loads in 9 secs. I guess after i disconnect from network it will be around 8 and will become tolerable.
What about overclocking? can in theory it harm sound quality?
  Reply With Quote
Old 21st June 2020, 11:16 AM   #446
JoseM is offline JoseM  Australia
diyAudio Member
 
Join Date: Jul 2009
Location: Sydney
Default all working nicely on an updated rpi4

A few posts ago, there were a lot of users, myself included, who had problems with some additional scripts for archphile...

GIven my recent experience with a rpi4, I thought I could give some updates to this and I could share some happy news that since i started to use a rpi4, updated with the latest eeprom firmware, all is once again well in the world of archphile!

Cut a long story short, I was able to buy a rpi4 2nd hand. I had all sorts of problems with network instability etc, until I decided to see if it had been updated to the latest eeprom. i stumbled my way through an update and was able to update the eeprom and reinstalled archphile with all the previous tweaks that brought all sorts of troubles before.

Then I realised that tuxx had already included the means to updating the rpi4 eeprom firmware on page 39 of the manual! d'oh!

I've let it run for a week now, 24/7, and all has been well.

I have all the tweaks from p38? of this thread, plus all the lights disabled, wifi power management off and it is running beautifully with my oldish pi2design 502DAC HAT.

Message is - if you had problems with rpi4, please check you have latest eeprom firmware - that may be it. I am a happy camper. I also think the rpi4 with a HDD sounds discernably better than a rpi3b+.

On another note, I have tried using a flash drive as well as my HDD and I think the flash drive sounded better than the HDD, and I now hypothesize may be a reasonably competetive alternative SQ wise to a SDD.

How much power does a USB flash drive consume?

I might try one of these in the next few months - SanDisk 512GB Ultra Fit USB 3.0 Flash Drive - and will see how I go.

But wait, I've just had a glance and the 1Tb Samsung SSDs are offered at a good price so might go that way anyway.

Hope this helps anyone interested in archphile. If you ask me archphile+rp4 is the bees knees!
 

Reply


Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo QuadHide 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Line Level 156 29th April 2017 11:10 PM
DSP for the Raspberry Pi usul27 Digital Line Level 39 30th August 2016 07:29 AM
To Raspberry Pi/BeagleBone Black/CuBox/UDOO owners: RuneAudio is looking for testers ACX PC Based 173 10th November 2015 06:44 PM
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player mikelangeloz PC Based 295 14th June 2014 05:32 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM


New To Site? Need Help?

All times are GMT. The time now is 08:49 PM.


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