Why glibc's fstat() is slow
Why glibc's fstat() is slow
Posted Sep 14, 2023 19:07 UTC (Thu) by brenns10 (subscriber, #112114)In reply to: Why glibc's fstat() is slow by wsy
Parent article: Why glibc's fstat() is slow
It's wild how many places that pops up! I fixed that in procps-ng where it would do a stat(/etc/local time) multiple times *per process* because of the printf formats being used. I'm sure tons of software, especially multithreaded apps, are experiencing this and slowdowns associated with it.
