Thread: Linux NATIVE
View Single Post
Old 05-17-2017, 04:16 AM   #1821
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by Jack Winter View Post
What IME is pretty important is changing the priority of the soundcard/usb hub to a high value. That is regardless of using a rt patched kernel or not. On my desktop i7-2600k it's the only thing I really care about. The Intel pstate driver seems to work flawlessly shifting the cpu in and out of power saving mode without causing any xruns. The only other source of hardware caused xruns I know is when I keep the audio media on the same hdd as my ~. Those occasional xruns went away when I started keeping audio files on another hdd used for nothing else.
I came across a script that sets the irq priorities and stops some services and the performance ended up about the same or very similar as a real time kernel.

irq priorities

"rtc" - realtime clock
"ehci_hcd:usb2" - USB port 2
"snd" - internal sound chip
"i8042" - keyboard/mouse/touchpad controller

RTIRQ_NAME_LIST="rtc usb2 snd i8042"
RTIRQ_PRIO_HIGH=90
RTIRQ_PRIO_DECR=10
RTIRQ_PRIO_LOW=51

possible services to stop

network-manager (optional)
resolvconf
pulseaudio
apport
cron
cups-browsed
grub-common
speech-dispatcher
whoopsie
osxmidi is offline