Search found 6 matches
- January 14th, 2021, 6:17 pm
- Forum: Help
- Topic: Speed up mpd start on rpi zero w
- Replies: 11
- Views: 442
Re: Speed up mpd start on rpi zero w
Great! I removed further encoder plugins, now I am at 1.7s at boot (from systemd, not considering the strace) I have not been entirely sure what encoders I need, therefore I was careful while removing. strace is now like: https://paste.ubuntu.com/p/MY2G544z33/ ldd is now: https://paste.ubuntu.com/p/...
- January 13th, 2021, 10:55 pm
- Forum: Help
- Topic: Speed up mpd start on rpi zero w
- Replies: 11
- Views: 442
Re: Speed up mpd start on rpi zero w
Thanks again for your hints, I figured out that the mpd runpath was messed up, so with (readelf -d ./mpd | grep runpath) patchelf --set-rpath '/lib/arm-linux-gnueabihf/' mpd now most shared libraries are found on the first try. (can be verifyd with $ LD_DEBUG=libs ldd mpd) the strace also looks much...
- January 13th, 2021, 6:12 am
- Forum: Help
- Topic: Speed up mpd start on rpi zero w
- Replies: 11
- Views: 442
Re: Speed up mpd start on rpi zero w
thank you very much for your help in interpretation of the strace and your recommendations. I disabled a lot of options which I think I don't need and recompiled, this already saved 2.3s (8s to 5.7 s) I am not familar with meson, so I changed the defaults in the meson_options.txt (is there a smarter...
- January 11th, 2021, 11:22 pm
- Forum: Help
- Topic: Speed up mpd start on rpi zero w
- Replies: 11
- Views: 442
Re: Speed up mpd start on rpi zero w
One Important notice: I just figured out that that the delay before the last clock_gettime is the time before I hit ctrl+c to stop the trace, so this one is not an issue. @max, -rT it is not redundant, T shows the time duration of a syscall, r shows the start between syscall, so r includes mpd code ...
- January 11th, 2021, 4:39 pm
- Forum: Help
- Topic: Speed up mpd start on rpi zero w
- Replies: 11
- Views: 442
Re: Speed up mpd sart on rpi zero w
it is strace -rT
-r Print a relative timestamp upon entry to each system call.
-T Show the time spent in system calls.
first column r, in <> at the end T
-r Print a relative timestamp upon entry to each system call.
-T Show the time spent in system calls.
first column r, in <> at the end T
- January 11th, 2021, 1:41 pm
- Forum: Help
- Topic: Speed up mpd start on rpi zero w
- Replies: 11
- Views: 442
Speed up mpd start on rpi zero w
Dear all, I am trying to speed up the mpd start on an phonibox installation using mpd on a rpi zero w. I searched around in the forum, and I already got some improvements: - disabled auto-update - compiled actual mpd version on the target (0.23) - starting network after mpd - avoid parallel starting...