azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

Tune kernel config for performance on aarch64

Open snambakam opened this issue 1 year ago • 0 comments

Remove following configs. CONFIG_TRACE_IRQFLAGS CONFIG_TRACE_IRQFLAGS_NMI CONFIG_TRACER_MAX_TRACE CONFIG_RING_BUFFER_ALLOW_SWAP CONFIG_PREEMPTIRQ_TRACEPOINTS CONFIG_TRACER_SNAPSHOT CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP CONFIG_NF_CONNTRACK_PROCFS CONFIG_IRQSOFF_TRACER CONFIG_SCHED_TRACER CONFIG_HWLAT_TRACER

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • [x] The toolchain has been rebuilt successfully (or no changes were made to it)
  • [x] The toolchain/worker package manifests are up-to-date
  • [x] Any updated packages successfully build (or no packages were changed)
  • [x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • [x] All package sources are available
  • [x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • [x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • [x] All source files have up-to-date hashes in the *.signatures.json files
  • [x] sudo make go-tidy-all and sudo make go-test-coverage pass
  • [x] Documentation has been updated to match any changes to the build system
  • [x] Ready to merge

Summary
Tune kernel config for performance on aarch64.
Change Log
Remove following configs related to tracing.

    CONFIG_TRACE_IRQFLAGS
    CONFIG_TRACE_IRQFLAGS_NMI
    CONFIG_TRACER_MAX_TRACE
    CONFIG_RING_BUFFER_ALLOW_SWAP
    CONFIG_PREEMPTIRQ_TRACEPOINTS
    CONFIG_TRACER_SNAPSHOT
    CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP
    CONFIG_NF_CONNTRACK_PROCFS
    CONFIG_IRQSOFF_TRACER
    CONFIG_SCHED_TRACER
    CONFIG_HWLAT_TRACER
Does this affect the toolchain?

YES Since kernel-headers version changed to match.

Associated issues

N/A

Links to CVEs

N/A

Test Methodology
  • Pipeline build id: TBD

snambakam avatar Apr 11 '24 22:04 snambakam