Originariamente inviato da
bigtube
Allora per fare le cose per bene dopo aver installato rtirq
bisogna dare il comando per conoscere lo stato attuale degli irq
(nella situazione di Marco se xhci_hcd non deve ricevere la priorita' alta
sara estromessa dalla configurazione che sotto rappresento...come ? non
viene scritta nella riga RTIRQ_NAME_LIST= )
codice:
/etc/init.d/rtirq status
nel mio player ho questo
codice:
PID CLS RTPRIO NI PRI %CPU STAT COMMAND
96 FF 95 - 135 0.0 S irq/8-rtc0
84 FF 93 - 133 2.6 S irq/20-ehci_hcd
83 FF 92 - 132 0.0 S irq/22-ehci_hcd
2905 FF 91 - 131 0.0 S irq/29-enp0s25
38 FF 50 - 90 0.0 S irq/9-acpi
85 FF 50 - 90 1.1 S irq/20-uhci_hcd
86 FF 50 - 90 0.0 S irq/21-uhci_hcd
87 FF 50 - 90 0.0 S irq/22-uhci_hcd
88 FF 50 - 90 0.4 S irq/20-uhci_hcd
89 FF 50 - 90 0.0 S irq/21-uhci_hcd
90 FF 50 - 90 0.0 S irq/22-uhci_hcd
92 FF 50 - 90 0.0 S irq/12-i8042
93 FF 50 - 90 0.0 S irq/1-i8042
797 FF 50 - 90 0.0 S irq/28-ahci[000
2196 FF 50 - 90 0.0 S irq/6-floppy
2197 FF 50 - 90 0.0 S irq/18-ata_gene
2206 FF 50 - 90 0.0 S irq/30-snd_hda_
2210 FF 50 - 90 0.0 S irq/31-i915
3 TS - 0 19 0.0 S ksoftirqd/0
22 TS - 0 19 0.0 S ksoftirqd/1
questo stato è la risultante della modifica da me gia' fatta sul file /etc/conf.d/rtirq
in pratica per ottenerlo si procede cosi
aprire il file di configurazione del vostro player e dare
codice:
nano /etc/conf.d/rtirq
andiamo al testo che interessa ( dobbiamo modificare il testo fra "" come indicato sotto....dando il nostro ordine di priorita')
codice:
..............................................................
# IRQ thread service names
# (space separated list, from higher to lower priority).
# RTIRQ_NAME_LIST="rtc snd usb i8042" # old
RTIRQ_NAME_LIST="rtc ehci_hcd enp0s25"
# Highest priority.
RTIRQ_PRIO_HIGH=99
# Priority decrease step.
RTIRQ_PRIO_DECR=2
# Lowest priority.
RTIRQ_PRIO_LOW=51
# Whether to reset all IRQ threads to SCHED_OTHER.
RTIRQ_RESET_ALL=0
# On kernel configurations that support it,
# which services should be NOT threaded
# (space separated list).
RTIRQ_NON_THREADED=""
# Process names which will be forced to the
# highest realtime priority range (99-91)
# (space separated list, from highest to lower priority).
RTIRQ_HIGH_LIST="timer squeezelite-R2"
nella prima riga
RTIRQ_NAME_LIST="rtc ehci_hcd enp0s25"
rtc ha la massima priority seguita dalla USB-Hi-Speed e poi la rete
nell'ultima riga la alta priority a squeezelite-R2
(decommentare la riga...togliere # )
Tutte le righe in rosso devono essere riscritte come indicato
fatto tutto cio' nel file di configurazione si da'
codice:
/etc/init.d/rtirq restart
per ridefinire permanentemente le priorita'
.
Per assicurarsene si da' il comando
codice:
/etc/init.d/rtirq status
il nuovo e definitivo stato con le priorita' prescelte da noi .
Tutta questa storia si ripete aggiungendo gli altri player nell'ultima riga come aveva rappresentato Filippo in precedenza.
Inoltre rtirq puo' e deve essere installato anche sul PC Server .