Hi Rui, I was looking for any changelog or what's new to check what have been changed from the last version. Do you have any pointer for me ?
Thanks for your work.
Olivier
What is the reason behind the removal or rtc from default config list?
I am using the linux-rt kernel 3.18.9-rt5-1-rt from archlinux aur.
Without rtc as first item usb priority could be higher than rtc0 priority
main reason is that rtc is seldom used if at all on modern kernels and applications.
check /proc/interrupts for IRQ line 8 (rtc0) ... how many times does a cpu, any cpu core, is being interrupted by rtc ? probably only once on just a single core due on system boot, so making the rtc irq service thread on highest priority has been a pure waste of scheduler real-time priority queue range. whatever.
RTPRIO PRI COMMAND
90 130 irq/8-rtc0
85 125 irq/25-xhci_hcd
80 120 irq/28-eno1
50 90 irq/9-acpi
50 90 irq/12-i8042
50 90 irq/1-i8042
50 90 irq/16-ehci_hcd
50 90 irq/26-0000:00:
50 90 irq/23-ehci_hcd
50 90 irq/27-mei_me
50 90 irq/29-i915
This is strange, since in the first case xhci_hcd should be at 85 priority, if RTIRQ_PRIO_DECR=5
The second case is correct.
Yes, there is not usb2 in /proc/interrupts but a
cat "/proc/asound/card"$i"/usbbus" | rev | cut -b5
with the right value in $i
is giving 2
The same searching /sys directory with
find /sys/devices -type d -name "usb2"
Since rtirq is using /proc/interrupts, it cannot connect usb2 to the right device.
Probably this is correct, but it seems to me that the usb(x) method is not generally applicable.
The default configuration file puts snd before usb. At least on my laptop, this results my onboard sound card getting higher priority than my USB sound card. I'm presuming the most common use of this script is to raise the priority of USB sound cards, so would it be better to have the default config put usb before snd?
Comments
Changelog
Hi Rui, I was looking for any changelog or what's new to check what have been changed from the last version. Do you have any pointer for me ?
Thanks for your work.
Olivier
re. Changelog
not much of a changelog but the rpm spec file has something of the sort: lines from it are literally pasted here as follows:
...
hth.
cheers
Changelog
Awesome. Thanks for the answer and the software Rui.
Cheers.
Removal of rtc from default config list
What is the reason behind the removal or rtc from default config list?
I am using the linux-rt kernel 3.18.9-rt5-1-rt from archlinux aur.
Without rtc as first item usb priority could be higher than rtc0 priority
re. Removal of rtc from default config list
main reason is that rtc is seldom used if at all on modern kernels and applications.
check
/proc/interrupts
for IRQ line 8 (rtc0) ... how many times does a cpu, any cpu core, is being interrupted by rtc ? probably only once on just a single core due on system boot, so making the rtc irq service thread on highest priority has been a pure waste of scheduler real-time priority queue range. whatever.hth.
cheers
Assign priority only to single USB port
How to assign priority only to single USB port? Do you confirm that this is working with last version? Example:
RTIRQ_NAME_LIST="usb6"
I have some reports about problems.
re. Assign priority only to single USB port
yes, i believe that's still the way to go.
what problems are you having to report?
Thi is the report
Thi is the report
1) with RTIRQ_NAME_LIST="rtc usb2 eno1"
RTPRIO PRI COMMAND
93 133 irq/25-xhci_hcd
90 130 irq/8-rtc0
80 120 irq/28-eno1
50 90 irq/9-acpi
50 90 irq/12-i8042
50 90 irq/1-i8042
50 90 irq/16-ehci_hcd
50 90 irq/26-0000:00:
50 90 irq/23-ehci_hcd
50 90 irq/27-mei_me
50 90 irq/29-i915
2) with RTIRQ_NAME_LIST="rtc xhci_hcd eno1"
RTPRIO PRI COMMAND
90 130 irq/8-rtc0
85 125 irq/25-xhci_hcd
80 120 irq/28-eno1
50 90 irq/9-acpi
50 90 irq/12-i8042
50 90 irq/1-i8042
50 90 irq/16-ehci_hcd
50 90 irq/26-0000:00:
50 90 irq/23-ehci_hcd
50 90 irq/27-mei_me
50 90 irq/29-i915
This is strange, since in the first case xhci_hcd should be at 85 priority, if RTIRQ_PRIO_DECR=5
The second case is correct.
re. Thi is the report
weird that something is ever getting an rtprio higher than 90 if not listed in RTIRQ_HIGH_LIST :S
show us your `
cat /proc/interrupts
`, please?This is the output
This is the output
Re. This is the output
where's "usb2" up there ?
is it something that haven't plugged in yet?
byee
Yes, there is not usb2 in
Yes, there is not usb2 in /proc/interrupts but a
cat "/proc/asound/card"$i"/usbbus" | rev | cut -b5
with the right value in $i
is giving 2
The same searching /sys directory with
find /sys/devices -type d -name "usb2"
Since rtirq is using /proc/interrupts, it cannot connect usb2 to the right device.
Probably this is correct, but it seems to me that the usb(x) method is not generally applicable.
usb before snd for default?
The default configuration file puts snd before usb. At least on my laptop, this results my onboard sound card getting higher priority than my USB sound card. I'm presuming the most common use of this script is to raise the priority of USB sound cards, so would it be better to have the default config put usb before snd?
sysvinit-tools dependency for RPM
I tried to install the RPM from your site on Fedora 22 but it won't install because it requires sysvinit-tools, which is not available on Fedora.
I have filed a bug on Fedora's bug tracker noting the rtirq package is out of date: https://bugzilla.redhat.com/show_bug.cgi?id=1234062
Add new comment