Skip to content

Commit

Permalink
Merge pull request #34 from leograba/xenomai-tune
Browse files Browse the repository at this point in the history
xenomai: tune kernel config for low latency
  • Loading branch information
microhobby authored Mar 23, 2024
2 parents fba9426 + d59a43e commit 5c04232
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions recipes-kernel/linux/files/xenomai.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,38 @@
#
CONFIG_IRQ_PIPELINE=y

#
# Timers subsystem
#
CONFIG_CONTEXT_TRACKING=y
# CONFIG_CONTEXT_TRACKING_FORCE is not set
CONFIG_NO_HZ=n

#
# CPU/Task time and stats accounting
#
CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not set
CONFIG_VIRT_CPU_ACCOUNTING_GEN=y

#
# RCU Subsystem
#
CONFIG_RCU_EXPERT=y
CONFIG_RCU_FANOUT=64
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_RCU_BOOST is not set
CONFIG_RCU_NOCB_CPU=y
# CONFIG_TASKS_TRACE_RCU_READ_MB is not set

#
# Processor type and features
#
CONFIG_EVL=y
# CONFIG_EVL_SCHED_QUOTA is not set
# CONFIG_EVL_SCHED_TP is not set
CONFIG_EVL_SCHED_QUOTA=y
CONFIG_EVL_SCHED_TP=y
CONFIG_EVL_SCHED_TP_NR_PART=4
# CONFIG_EVL_HIGH_PERCPU_CONCURRENCY is not set
CONFIG_EVL_RUNSTATS=y
# CONFIG_EVL_NET is not set
Expand Down Expand Up @@ -37,6 +63,12 @@ CONFIG_EVL_LATENCY_IRQ=0
CONFIG_DOVETAIL=y
CONFIG_DOVETAIL_LEGACY_SYSCALL_RANGE=y

#
# Power management and ACPI options
#
CONFIG_SUSPEND=n
CONFIG_PM=n

#
# CPU Frequency scaling
#
Expand All @@ -51,3 +83,8 @@ CONFIG_CPU_FREQ_GOV_ONDEMAND=n
CONFIG_EVL_LATMUS=y
CONFIG_EVL_HECTIC=y
# end of Out-of-band device drivers

CONFIG_DEBUG_IRQ_PIPELINE=y
# CONFIG_IRQ_PIPELINE_TORTURE_TEST is not set
CONFIG_DEBUG_DOVETAIL=y
CONFIG_RAW_PRINTK=y

0 comments on commit 5c04232

Please sign in to comment.