Skip to content

Improving performance of shared locale parsing #9932

@ChrisDryden

Description

@ChrisDryden

In the SMACK feature implementation, a few locale lines were added and it reduced the performance of the benchmarks across many utilities by over 5%. This is because these utilities are so fast that the majority of their overhead is just in the locale parsing and they are very sensitive to changes in the amount of text in the locale files.

A fix for this would be to seperate the SELinux and SMACK locale information to be loaded only if the feature was enabled, or to investigate the bottlenecks related to loading the files to see if the impact on performance can be reduced

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions