Search found 194 matches

by skidoo
April 2nd, 2020, 5:11 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

Already 20% faster startup :)
by skidoo
March 31st, 2020, 5:23 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

Database is on its way.
by skidoo
March 31st, 2020, 3:53 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

64k buffer strace https://paste.ee/p/l3Gj0 $ systemd-analyze blame 13.399s mpd.service 7.004s systemd-logind.service 5.504s systemd-networkd-wait-online.service 5.471s systemd-journald.service 4.785s systemd-networkd.service 3.116s dev-sda1.device 2.990s systemd-resolved.service 2.690s systemd-times...
by skidoo
March 31st, 2020, 6:51 am
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

by skidoo
March 30th, 2020, 5:14 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

Code: Select all

$  systemd-analyze blame
13.394s mpd.service
 7.234s e2scrub_reap.service
 7.124s systemd-logind.service
 5.423s systemd-journald.service
 4.890s systemd-networkd.service
 3.797s systemd-networkd-wait-online.service
Better now. Thank you, Max!
by skidoo
March 30th, 2020, 4:00 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

Code: Select all

auto_update                     "yes"
#auto_update_depth "3"
by skidoo
March 30th, 2020, 3:19 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

database { plugin "simple" path "/var/lib/mpd/tag_cache" compress "yes" } $ ls -la /var/lib/mpd/ -rw-r--r-- 1 mpd audio 6285026 Mär 29 20:20 tag_cache Deleting and rebuilding database takes way longer than 30 seconds for its >180k tracks. Partition is mounted with ext4 fs and nosuid,noatime options.
by skidoo
March 29th, 2020, 6:45 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

About 35 M text output. Where to put?

Lots of stat eg

Code: Select all

stat("/C64Music/MUSICIANS/H/Hubbard_Rob/Thrust.sid", {st_mode=S_IFREG|0644, st_size=3710, ...}) = 0 <0.000045>
by skidoo
March 26th, 2020, 6:59 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

Re: MPD slow startup

MPD takes more than 9 seconds to write out its pid. /run is located on tmpfs less the 3 MB in use from 94 MB. # strace -r /usr/local/bin/mp (...) 0.000137 setgroups(1, [29]) = 0 0.000257 getuid() = 0 0.000186 setuid(109) = 0 0.000179 chdir("/") = 0 0.000213 openat(AT_FDCWD, "/run/mpd/pid", O_WRONLY|...
by skidoo
March 25th, 2020, 7:32 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 18
Views: 440

MPD slow startup

# systemd-analyze blame 26.866s mpd.service 7.026s systemd-logind.service 5.606s systemd-journald.service 5.216s systemd-networkd-wait-online.service 4.840s systemd-networkd.service (...) MPD from git, compiled with GCC 10 on Debian testing, x64, headless, Atom CPU, 1.66 GHz, > 180.000 tracks on lo...
by skidoo
March 9th, 2020, 12:01 pm
Forum: Help
Topic: httpd stream terminates after 25 mins
Replies: 10
Views: 304

Re: httpd stream terminates after 25 mins

robertdaly wrote:
March 5th, 2020, 3:51 pm
what would be a good choice for streaming format if i'm not constrained by bandwidth but would like to the keep resource utilisation low?
encoder "flac" wtih compresseion "0" or "1" should work well even on modest hardware.
by skidoo
February 29th, 2020, 12:27 am
Forum: Developers' Corner
Topic: MPD doesn't display titles correctly that contain an é
Replies: 6
Views: 1707

Re: MPD doesn't display titles correctly that contain an é

MPD doesn't display titles correctly that contain, for example, an acute accent. For example, if there is an é in the title, it will be displayed in mpc and in /var/lib/mpd/state file as a ?.
Could not reproduce with MPD and mpc on Debian testing x64. Perhaps Collin mixed up filename and metadata?
by skidoo
February 22nd, 2020, 8:55 pm
Forum: Help
Topic: Disable port 6600 from the "outside"
Replies: 13
Views: 1714

Re: Disable port 6600 from the "outside"

Oh joy of systemd :D

@Colin> Have a look at https://wiki.archlinux.org/index.php/Mu ... yer_Daemon - MPD acts different if started as root or user.
by skidoo
February 18th, 2020, 10:28 pm
Forum: Help
Topic: Disable port 6600 from the "outside"
Replies: 13
Views: 1714

Re: Disable port 6600 from the "outside"

Check for multiple bind_to_address entries in mpd.conf and restart daemon.
by skidoo
February 13th, 2020, 3:25 pm
Forum: Developers' Corner
Topic: Feature requst: test case for large database
Replies: 2
Views: 519

Re: Feature requst: test case for large database

Some MPD clients insist on downloading the whole MPD database when they connect, and some even maintain a shadow copy of the database. These clients are inherently broken
Yes. Adding a test case makes nasty client behaviour obvious to users.
by skidoo
February 12th, 2020, 10:46 pm
Forum: Developers' Corner
Topic: Feature requst: test case for large database
Replies: 2
Views: 519

Feature requst: test case for large database

Some MPD clients seem to have problems with large (here > 180k songs) MPD (from git, on Debian x64 testing) databases. Android clients take ages at startup or Windows clients hang on database update. How about a test case which simulates a large database to help developers to optimize clients?
by skidoo
January 28th, 2020, 1:19 pm
Forum: General Discussion
Topic: Audiophile Discussion of MPD
Replies: 4
Views: 1944

Re: Audiophile Discussion of MPD

Nobody ever does a listening test before a MPD release. I know this, I'm the release manager (and have been for 11 years), and I don't do it and I've never got any feedback from any group or any person about such a listening test. Thank you again for keeping MPD free from audiophool bullshit (and D...
by skidoo
January 28th, 2020, 12:48 pm
Forum: Help
Topic: How to accept forbidden Windows Characters "?" and ":"
Replies: 7
Views: 441

Re: How to accept forbidden Windows Characters "?" and ":"

Do not use illegal or special characters in filenames. Or use vfs_catia.
by skidoo
November 6th, 2019, 6:58 pm
Forum: Help
Topic: MPD serving up to 14 devices at a time
Replies: 17
Views: 3627

Re: MPD serving up to 14 devices at a time

FYI, we are planning to use Logitech powered speakers, of course that has nothing to do with LMS.
Again a toy. How big are the rooms? What volume is required?
by skidoo
November 4th, 2019, 2:08 pm
Forum: Help
Topic: MPD serving up to 14 devices at a time
Replies: 17
Views: 3627

Re: MPD serving up to 14 devices at a time

Powered speakers or passive? Cabeling? Raspberry Pis are wonderful toys but not suitable for productive environment. Search the Internet for flash card wear or power supply related issues and multiply by 14.

Better use PA equiment. Less trouble and costs in the long run.