Disabling AUDIT in the kernel?

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

User avatar
bluebell
Established Member
Posts: 1119
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Disabling AUDIT in the kernel?

Postby bluebell » Sun Jul 28, 2019 8:36 am

On the jack-devel mailing list I posted my switched off spectre mitigations and got a hint:

Code: Select all

>"nohz=off threadirqs noibrs noibpb nopti
>nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable
>no_stf_barrier mds=off mitigations=off quiet splash"

With those spectre mitigations turned off, it still might be of value
to disable audit, see
https://lists.archlinux.org/pipermail/arch-general/2018-September/045580.html


I use the AVLinux RT kernel and found out:

Code: Select all

hm@bubu:~$ zgrep -i audit /boot/config-4.16.12-rt5-avl1
CONFIG_AUDIT_ARCH=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y
CONFIG_NETFILTER_XT_TARGET_AUDIT=m
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024
CONFIG_INTEGRITY_AUDIT=y
# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set


Would it be advisable to disable those features in the kernel?

EDIT:
On https://www.kernel.org/doc/html/v4.14/a ... eters.html I found a kernel command line parm "audit" than can be set to 0.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

User avatar
bluebell
Established Member
Posts: 1119
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Disabling AUDIT in the kernel?

Postby bluebell » Sun Jul 28, 2019 9:28 am

With audit=0 I can down to a jackd buffer size of 12 without xruns when playing a mixcloud song in Firefox vie Pulseaudio via jack.

So my /etc/default/grub contains now:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="nohz=off threadirqs audit=0 noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off quiet splash"
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 3 guests