MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
fstat
Search

[$] Why glibc's fstat() is slow

Thursday September 14, 2023. 06:29 PM , from LWN.net
The fstat()
system call retrieves some of the metadata — owner, size, protections,
timestamps, and so on — associated with an open file descriptor. One might
not think of it as a performance-critical system call, but there are
workloads that make a lot of fstat() calls; it is not something
that should be slowed unnecessarily. As it turns out, though, the GNU C
Library (glibc) has been doing exactly that, but a fix is in the works.
https://lwn.net/Articles/944214/
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Sat 27 - 21:00 CEST