Old 09-03-2018, 01:40 AM   #1
Tobbe
Human being with feelings
 
Tobbe's Avatar
 
Join Date: Sep 2009
Location: Backe, Jämtland, Sweden
Posts: 388
Default Where do I set threadirq flag?

Hi,

I see this mention, but it ain't telling me where to set it. I have lowlatency kernel installed so I wanna try it.

The lowlatency kernel might need the threadirqs boot flag.
__________________
OS: Ubuntu Studio, Reaper For Linux (64Bit) and native linux-vst plugins (16GB RAM) LSP-Suite, Drumgizmo, TpL-Plugins, LinuxSampler/Fantasia, Behringer U-PHORIA UMC22.
Tobbe is offline   Reply With Quote
Old 09-03-2018, 02:47 AM   #2
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,804
Default

It's a kernel boot parameter, so would be set in the config file for your boot manager. Or if you have the possibility to change the boot parameters at boot time you can just add threadirqs when you boot.

If you have /proc/config.gz you can check how your kernel is configured. If zgrep CONFIG_IRQ_FORCED_THREADING /proc/config.gz is 'y' then you don't need it, and if 'n' then you do. Alternatively if ps aux | grep irq returns a lot of threads then you don't need it.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter is offline   Reply With Quote
Old 09-03-2018, 03:20 AM   #3
Tobbe
Human being with feelings
 
Tobbe's Avatar
 
Join Date: Sep 2009
Location: Backe, Jämtland, Sweden
Posts: 388
Default

Thank you
__________________
OS: Ubuntu Studio, Reaper For Linux (64Bit) and native linux-vst plugins (16GB RAM) LSP-Suite, Drumgizmo, TpL-Plugins, LinuxSampler/Fantasia, Behringer U-PHORIA UMC22.
Tobbe is offline   Reply With Quote
Old 09-03-2018, 01:04 PM   #4
Tobbe
Human being with feelings
 
Tobbe's Avatar
 
Join Date: Sep 2009
Location: Backe, Jämtland, Sweden
Posts: 388
Default

Quote:
Originally Posted by Jack Winter View Post
It's a kernel boot parameter, so would be set in the config file for your boot manager. Or if you have the possibility to change the boot parameters at boot time you can just add threadirqs when you boot.

If you have /proc/config.gz you can check how your kernel is configured. If zgrep CONFIG_IRQ_FORCED_THREADING /proc/config.gz is 'y' then you don't need it, and if 'n' then you do. Alternatively if ps aux | grep irq returns a lot of threads then you don't need it.
Is this OK? Couldn't find /proc/config.gz.

Code:
root@homestudio:/home/tobbe# ps aux | grep irq
root         1  0.1  0.0 204844  7088 ?        Ss   15:51   0:01 /sbin/init threadirqs
root         7  0.0  0.0      0     0 ?        S    15:51   0:00 [ksoftirqd/0]
root        24  0.0  0.0      0     0 ?        S    15:51   0:00 [ksoftirqd/1]
root        33  0.0  0.0      0     0 ?        S    15:51   0:00 [ksoftirqd/2]
root        42  0.0  0.0      0     0 ?        S    15:51   0:00 [ksoftirqd/3]
root        59  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/9-acpi]
root        80  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/120-aerdrv]
root        81  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/121-aerdrv]
root        82  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/1-i8042]
root        83  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/8-rtc0]
root       136  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/16-i801_smb]
root       139  1.3  0.0      0     0 ?        S    15:51   0:08 [irq/123-xhci_hc]
root       140  0.1  0.0      0     0 ?        S    15:51   0:00 [irq/124-ahci[00]
root       281  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/125-mei_me]
root       287  0.1  0.0      0     0 ?        S    15:51   0:01 [irq/126-i915]
root       297  0.3  0.0      0     0 ?        S    15:51   0:02 [irq/127-iwlwifi]
root       298  0.7  0.0      0     0 ?        S    15:51   0:04 [irq/127-s-iwlwi]
root       352  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/128-snd_hda]
root       902  0.0  0.0      0     0 ?        S    15:51   0:00 [irq/122-enp2s0]
root      5596  0.0  0.0  12788   952 pts/1    S+   16:02   0:00 grep irq
__________________
OS: Ubuntu Studio, Reaper For Linux (64Bit) and native linux-vst plugins (16GB RAM) LSP-Suite, Drumgizmo, TpL-Plugins, LinuxSampler/Fantasia, Behringer U-PHORIA UMC22.
Tobbe is offline   Reply With Quote
Old 09-03-2018, 01:11 PM   #5
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,804
Default

Yes, that's what you want to see. irq/128-snd_hda is your onboard soundcard, and irq/123-xhci_hc the usb root hub.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.