Slow wide-character stream flush in Red Hat Enterprise Linux 8 and 9
Issue
- A wide-character stream buffer with
fputws()and/orfwprintf()output is written in 16 bytes increments in Red Hat Enterprise Linux 8 and 9. - Due to 16bytes increments, flushing a wide-character stream performance is lower than Red Hat Enterprise Linux 7 in Red Hat Enterprise Linux 8 and 9.
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- glibc
- wide-character stream
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.