Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

bonnie reports that char i/o with glibc 2 is much slower than with libc5. What can be done?

0
Posted

bonnie reports that char i/o with glibc 2 is much slower than with libc5. What can be done?

0

{AJ} The GNU C library uses thread safe functions by default and libc5 used non thread safe versions. The non thread safe functions have in glibc the suffix `_unlocked’, for details check . Using `putc_unlocked’ etc. instead of `putc’ should give nearly the same speed with bonnie (bonnie is a benchmark program for measuring disk access).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.