Coreutils sort performance degrades when LANG or LC_ALL is set to en_US.utf8 in Red Hat Enterprise Linux
Issue
- Coreutils sort performance degrades significantly when the system locale e.g.
LANG,LC_ALL, orLC_COLLATEis set toen_US.utf8(or other locales with full ISO 14651 sorting rules). When the locale is set toC, the performance of sort improves significantly.
Environment
- Red Hat Enterprise Linux (RHEL) all versions.
- Specifically visible for Coreutils commands.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.