Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


System optimizations?
#36
Mine, as a combination from different sources. Please note, I isolated one core for MPD, but didn't try more.
I would say now the power quality is more important.

1.
sudo nano /boot/cmdline.txt

net.ifnames=0 console=serial0,115200 console=tty1 root=PARTUUID=4d3ee428-02 rootfstype=ext4 fsck.repair=yes rootwait dwc_otg.microframe_schedule=0 dwc_otg.nak_holdoff_enable=1 dwc_otg.fiq_fix_enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 elevator=noop isolcpus=3

2.
sudo nano /boot/config.txt

disable_splash=1
hdmi_drive=2
dtparam=i2c_arm=off
dtparam=i2s=off
dtparam=audio=on
#dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt
start_x=0

max_usb_current=1

# memory options
gpu_mem=16

# Overclocking options
force_turbo=1
initial_turbo=60

avoid_pwm_pll=1
arm_freq=666
over_voltage=-6
gpu_freq=333

# sdram overclock
sdram_freq=333

sdram_schmoo=0x02000020
over_voltage_sdram_p=-5
over_voltage_sdram_i=-14
over_voltage_sdram_c=-6

disable_pvt=1

# HDMI disable
hdmi_blanking=2

3.
sudo nano /lib/systemd/system/mpd.service

[Service]
# Real-time / Low latency params
# ps -e -o class,rtprio,pri,nice,cmd
# for real-time scheduling policies the "nice" param is ignored and the pri column is not relevant
ExecStart=/usr/bin/taskset -c 3 /usr/local/bin/mpd --no-daemon $MPDCONF
Restart=always


-------------- (note) At the very end of original script add # once at ExecStart:
# Launch params
EnvironmentFile=/etc/default/mpd
#ExecStart=/usr/local/bin/mpd --no-daemon $MPDCONF

#CPUSchedulingPolicy=other
CPUSchedulingPolicy=fifo
#CPUSchedulingPriority=43
CPUSchedulingPriority=70
Nice=-18


Updated: forgot core isolation line here, just added. Sorry.
Reply


Messages In This Thread
System optimizations? - by Mullet - 04-19-2018, 02:16 PM
RE: System optimizations? - by swizzle - 04-20-2018, 08:49 PM
RE: System optimizations? - by moodenigo - 06-06-2018, 12:53 PM
RE: System optimizations? - by TheOldPresbyope - 06-06-2018, 01:49 PM
RE: System optimizations? - by Bento - 08-14-2018, 09:09 PM
RE: System optimizations? - by moodenigo - 08-20-2018, 09:15 AM
RE: System optimizations? - by hifix - 08-20-2018, 02:45 PM
RE: System optimizations? - by Mullet - 04-24-2018, 11:37 PM
RE: System optimizations? - by Skip Pack - 04-25-2018, 05:21 PM
RE: System optimizations? - by rhizomusicosmos - 04-25-2018, 11:23 PM
RE: System optimizations? - by Skip Pack - 04-26-2018, 02:52 AM
RE: System optimizations? - by hifix - 05-01-2018, 08:08 AM
RE: System optimizations? - by Mullet - 05-01-2018, 02:12 AM
RE: System optimizations? - by rhizomusicosmos - 05-01-2018, 05:48 AM
RE: System optimizations? - by yannig - 04-28-2018, 02:38 AM
RE: System optimizations? - by moodenigo - 06-07-2018, 08:37 AM
RE: System optimizations? - by barryso - 08-05-2018, 11:48 PM
RE: System optimizations? - by hifix - 08-18-2018, 05:25 PM
RE: System optimizations? - by JST1963 - 08-18-2018, 09:19 PM
RE: System optimizations? - by hifix - 08-18-2018, 11:18 PM
RE: System optimizations? - by kvik2 - 08-20-2018, 12:39 PM
RE: System optimizations? - by swizzle - 08-25-2018, 12:18 AM
RE: System optimizations? - by jayce996 - 09-04-2018, 08:49 AM
RE: System optimizations? - by Deenoo - 09-06-2018, 03:51 PM
RE: System optimizations? - by jayce996 - 09-05-2018, 04:22 PM
RE: System optimizations? - by Tim Curtis - 09-05-2018, 09:56 PM
RE: System optimizations? - by swizzle - 09-06-2018, 02:35 AM
RE: System optimizations? - by jayce996 - 09-07-2018, 06:59 PM
RE: System optimizations? - by Tim Curtis - 09-07-2018, 07:16 PM
RE: System optimizations? - by Vhond - 09-24-2018, 12:54 PM
RE: System optimizations? - by hifix - 09-25-2018, 05:23 PM
RE: System optimizations? - by Vhond - 10-28-2018, 12:00 PM
RE: System optimizations? - by mactolinux - 10-08-2018, 10:37 AM
RE: System optimizations? - by rikardo1979 - 10-08-2018, 12:31 PM
RE: System optimizations? - by jonners - 10-08-2018, 12:50 PM
RE: System optimizations? - by rikardo1979 - 10-08-2018, 01:47 PM
RE: System optimizations? - by mactolinux - 10-08-2018, 04:46 PM
RE: System optimizations? - by Strider - 11-15-2018, 03:12 PM
RE: System optimizations? - by jonners - 10-09-2018, 06:59 PM
RE: System optimizations? - by mactolinux - 10-10-2018, 07:24 AM
RE: System optimizations? - by rikardo1979 - 10-10-2018, 08:33 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 09:28 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 09:31 AM
RE: System optimizations? - by rikardo1979 - 10-10-2018, 10:17 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 10:08 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 10:49 AM
RE: System optimizations? - by rikardo1979 - 10-10-2018, 10:56 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 11:03 AM
RE: System optimizations? - by Gervasutti - 10-14-2018, 12:27 PM
RE: System optimizations? - by mactolinux - 10-15-2018, 08:10 AM
RE: System optimizations? - by Gervasutti - 10-15-2018, 01:14 PM
RE: System optimizations? - by mactolinux - 10-15-2018, 01:17 PM
RE: System optimizations? - by Gervasutti - 10-15-2018, 02:49 PM
RE: System optimizations? - by Tim Curtis - 11-04-2018, 11:36 PM
RE: System optimizations? - by TheOldPresbyope - 11-07-2018, 02:10 PM
RE: System optimizations? - by mactolinux - 11-06-2018, 03:31 PM
RE: System optimizations? - by Vhond - 11-07-2018, 01:51 PM
RE: System optimizations? - by swizzle - 11-09-2018, 10:00 PM
RE: System optimizations? - by Tim Curtis - 11-10-2018, 02:07 AM
RE: System optimizations? - by mactolinux - 11-15-2018, 03:13 PM
RE: System optimizations? - by Strider - 11-15-2018, 03:17 PM
RE: System optimizations? - by 4mayday - 11-16-2018, 09:16 AM
RE: System optimizations? - by DRONE7 - 11-16-2018, 10:06 AM
RE: System optimizations? - by 4mayday - 11-16-2018, 10:12 AM
RE: System optimizations? - by energyi - 09-14-2021, 02:51 AM
RE: System optimizations? - by the_bertrum - 09-14-2021, 08:23 AM
RE: System optimizations? - by vinnn - 09-20-2021, 02:50 PM
RE: System optimizations? - by Gekel - 09-29-2021, 07:42 AM
RE: System optimizations? - by Tim Curtis - 01-31-2022, 11:53 PM
RE: System optimizations? - by Tim Curtis - 02-01-2022, 04:18 AM
RE: System optimizations? - by cryptout - 02-15-2022, 05:51 AM

Forum Jump: