How to change length of time-slices used by the scheduler?

I am trying to develop a setup of Dietpi which can be used for different platforms for audio-playback (aka streamer for a DAC over USB/I2S) purposes.

Audio-Playback has a bit different requirement than studio recording:

Instead of Realtime, lowest latency we want Lowest jitter possible, lowest noise possible in all regards.

One component is how often the scheduler interrupts…the less it does this…the better.

There seem to be a couple of ways to influence that:

A. Setting CONFIG_HZ during Kernel creation to the lowest possible value (which is 100Hz most of the time I believe.

Here I realize that the XU4-setting is 100Hz while the C2 has 250Hz…is there a way that I can set them all to 100Hz ?

B. On current Linux kernels, CPU time slices are allocated to tasks by CFS, the Completely Fair Scheduler. CFS can be tuned using a few sysctl settings.

  • kernel.sched_min_granularity_ns
  • kernel.sched_latency_ns
  • kernel.sched_wakeup_granularity_ns

from tuning - How to change the length of time-slices used by the Linux CPU scheduler? - Unix & Linux Stack Exchange

…just found them for the C2…will play with them…
cat /proc/sys/kernel/sched_min_granularity_ns

C. any other ideas (besides isolcpus)?