kernel

Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2012-05-09 12:11:34
Size: 2221
Editor: 90-230-166-102-no35
Comment:
Revision 8 as of 2012-05-14 16:06:55
Size: 2676
Editor: 90-230-166-102-no35
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
===== To enable low latency (needs to be expanded) ===== === To enable low latency (needs to be expanded) ===
Line 33: Line 33:
===== To enable the use of the rtirq script by making "threadirqs" a default boot parameter: ===== === To enable the use of the rtirq script to change rtprio for devices: ===
Line 35: Line 35:
this enables the use of ''threadirqs'' as a kernel boot parameter
 * '''[[http://cateee.net/lkddb/web-lkddb/IRQ_FORCED_THREADING.html | CONFIG_IRQ_FORCED_THREADING]]'''

optionally, to make ''threadirqs'' a default boot parameter
Line 37: Line 41:
  * ''needed by "threadirqs":'' '''[[http://cateee.net/lkddb/web-lkddb/IRQ_FORCED_THREADING.html | CONFIG_IRQ_FORCED_THREADING]]'''
Line 39: Line 42:
To enable this option edit the config file to have these line read: To enable these options edit the config file to have these line read:
Line 45: Line 48:

==== High resolution timer: ====

(Not exactly sure which of CONFIG_HZ=1000 and CONFIG_HZ_1000=y depend on which. )
 * '''[[http://cateee.net/lkddb/web-lkddb/HZ_1000.html | CONFIG_HZ_1000]]'''
 * '''[[http://cateee.net/lkddb/web-lkddb/HZ.html | CONFIG_HZ=1000 ]]'''
  * ''depends on:'' '''[[http://cateee.net/lkddb/web-lkddb/NO_HZ.html | CONFIG_NO_HZ]]'''


{{{
CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_NO_HZ is not set
}}}
Line 59: Line 76:
CONFIG_HZ_1000=y
CONFIG_HZ=1000
Line 63: Line 78:
# CONFIG_NO_HZ is not set

../UbuntuStudio/audio-settings

Discussion about kernels and kernel configurations here..

Kernel Testing

Building your own kernel

A short description of how to build a kernel for testing.

linux-lowlatency

Shipped with Ubuntu Studio since 12.04 Precise. Principally a standard Ubuntu kernel (no additional patches to the code, allthough the linux-lowlatency shipped with precise includes a minor patch).

Configurations of interest for linux-lowlatency

These configs need to be somewhat documented and tested

To enable low latency (needs to be expanded)

To enable this option edit the config file to have these line read:

CONFIG_PREEMPT=y
# CONFIG_PREEMPT_NONE
# CONFIG_PREEMPT_VOLUNTARY

To enable the use of the rtirq script to change rtprio for devices:

this enables the use of threadirqs as a kernel boot parameter

optionally, to make threadirqs a default boot parameter

To enable these options edit the config file to have these line read:

IRQ_FORCED_THREADING=y
CONFIG_CMDLINE="threadirqs"
CONFIG_CMDLINE_BOOL=y

High resolution timer:

(Not exactly sure which of CONFIG_HZ=1000 and CONFIG_HZ_1000=y depend on which. )

CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_NO_HZ is not set


TODO - do the same for the configs below:

# CONFIG_RCU_BOOST is not set
# CONFIG_NTP_PPS is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
# CONFIG_RCU_CPU_STALL_VERBOSE is not set
# CONFIG_PREEMPT_TRACER is not set
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_SLAB=y
# CONFIG_EXPERT is not set
# CONFIG_DEBUG_KERNEL is not set 

linux-rt

Not in Ubuntu repo since 9.10 Karmic.

UbuntuStudio/audio-settings/kernel (last edited 2012-07-23 10:58:24 by 90-230-166-102-no35)