Hello and welcome to the forum.
To set a static CPU frequency you can change the CPU Governor in dietpi-config -> Performance Options -> CPU Governor to userspace and set a fixed frequency.
To setting up CPU affinity you can use the command taskset.
E.g. to run nvim only on core 0 and 1 you do:
taskset -c 0,1 nvim
This setting will not survive a reboot, so you would need to setup a startup script or a systemd service or something similiar, to apply this at boot.
For bridging ethernet ports you would need to edit /etc/network/interfaces. In this example we bridge eth0 and eth1 to br0:
This is brilliant. Thank you for your quick and detailed reply. I will try this tonight.
I’m a bit of a newbie so sorry for being a pain but could you please let me know how to do this:
“This setting will not survive a reboot, so you would need to setup a startup script or a systemd service or something similiar, to apply this at boot.”
You can run dietpi-autostart and select the option 14: Custom script (background ...) and then edit the file /var/lib/dietpi/dietpi-autostart/custom.sh.
Add the following lines (in this example we set nvim to run just on core 0:
/usr/bin/taskset -c 0 nvim
Save the file and from now on at each reboot it will be executed.
I’m now facing another issue. I have a USB drive plugged in to the PC and have mounted it. However, I am unable to access it from within Roon. It says ‘unauthorised’. I cant figure out how to set permissions to allow all users access.