![]() |
System optimizations? - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: Audiophile (https://moodeaudio.org/forum/forumdisplay.php?fid=32) +--- Forum: Sound quality (https://moodeaudio.org/forum/forumdisplay.php?fid=34) +--- Thread: System optimizations? (/showthread.php?tid=102) |
RE: System optimizations? - moodenigo - 06-06-2018 (04-20-2018, 08:49 PM)swizzle Wrote: These are system level modifications, you can break your install, and ymmv on any perceived improvements, etc. The only tweaks I have applied are the following: - added in /boot/cmdline.txt: isolcpus=2,3 - changed options in /lib/systemd/system/mpd.service CPUSchedulingPolicy=fifo CPUSchedulingPriority=70 Nice=-15 ExecStart=/usr/bin/taskset -c 2,3 /usr/local/bin/mpd --no-daemon $MPDCONF I did not change anything else. This made some difference! In fact, because of the fact that mpd and its subprocesses run on two reserved cores, and nothing else runs on those cores, you should get all the advantages of LL and RT kernels. Roberto RE: System optimizations? - TheOldPresbyope - 06-06-2018 (06-06-2018, 12:53 PM)moodenigo Wrote:(04-20-2018, 08:49 PM)swizzle Wrote: These are system level modifications, you can break your install, and ymmv on any perceived improvements, etc. Hi, Roberto What difference did you hear? Regards, Kent PS - running userspace processes on isolated cores is probably more like running with a low-latency kernel than a so-called real-time kernel, but it's definitely worthwhile for latency-sensitive tasks. RE: System optimizations? - moodenigo - 06-07-2018 (06-06-2018, 01:49 PM)TheOldPresbyope Wrote:(06-06-2018, 12:53 PM)moodenigo Wrote: The only tweaks I have applied are the following: Differences: subtle, but clear improvement in imaging, and perhaps some clarity (you know, when audiophiles say "like a veil being removed" which means all and nothing). I suppose the better timing did something then. Thanks for the low-latency remark. Roberto RE: System optimizations? - barryso - 08-05-2018 A couple of observations. Take them for what they are worth. I added the CRAAP settings to /boot/config.txt and then listened for a bit. Then added the following: - added in /boot/cmdline.txt: isolcpus=2,3 - changed options in /lib/systemd/system/mpd.service CPUSchedulingPolicy=fifo CPUSchedulingPriority=70 Nice=-15 ExecStart=/usr/bin/taskset -c 2,3 /usr/local/bin/mpd --no-daemon $MPDCONF There are definitely sonic changes that happen with these updated settings. It sounds like the imaging is a bit better and there was a bit of midrange to high frequency grunge that went away. Things seem more three dimensional. It'll take a while to listen and decide if these changes are better or just different but it's worth trying if you feel comfortable editing Linux config files. Just copy off the original files so you can go back to the original settings if this isn't to your liking. Nice tweaks. Thanks. RE: System optimizations? - Bento - 08-14-2018 (06-06-2018, 12:53 PM)moodenigo Wrote:(04-20-2018, 08:49 PM)swizzle Wrote: These are system level modifications, you can break your install, and ymmv on any perceived improvements, etc. Hi Roberto, how did you go about editing: - changed options in /lib/systemd/system/mpd.service CPUSchedulingPolicy=fifo CPUSchedulingPriority=70 Nice=-15 ExecStart=/usr/bin/taskset -c 2,3 /usr/local/bin/mpd --no-daemon $MPDCONF Could you help a dummy like me? ![]() RE: System optimizations? - hifix - 08-18-2018 I've had a look and cannot find: /boot /lib etc. This is the directory for a 3.81 install. Are the tweaks for V4 and beyond ? ![]() RE: System optimizations? - JST1963 - 08-18-2018 Hi moOde fans, RE: System optimizations? - hifix - 08-18-2018 (08-18-2018, 09:19 PM)JST1963 Wrote:(08-18-2018, 05:25 PM)hifix Wrote: I've had a look and cannot find: Thanks Johan! I'll be giving it another go. RE: System optimizations? - moodenigo - 08-20-2018 I logged into the raspberry pi running mode (with SSH from my comouter) and used the little editor called "pico" from the terminal. To change system files you have to use "sudo pico" where "sudo" means "super-user do" in other words editing can only be done as an entity working with privileges similar to root. Probably you can edit directly the files from your computer if you have some drivers installed that support the ext file systems. I can do it on my Mac, but it required additional commercial software installed. Or from a linux computer. Roberto (08-14-2018, 09:09 PM)Bento Wrote:(06-06-2018, 12:53 PM)moodenigo Wrote:(04-20-2018, 08:49 PM)swizzle Wrote: These are system level modifications, you can break your install, and ymmv on any perceived improvements, etc. RE: System optimizations? - kvik2 - 08-20-2018 ^ As mentioned above.. Open Terminal ssh pi@IP-address (password: moodeaudio) sudo pico /lib/systemd/system/mpd.service Use arrows to move around. Change values. Ctrl + X to exit. |