Hi, On 2023-09-29 21:52, Fabio Pedretti wrote: > Package: glibc > Version: 2.36-9+deb12u1 > Severity: normal > X-Debbugs-Cc: pedretti.fa...@gmail.com > > Dear Maintainer, > > glibc uses a slow version of fstat. Details are documented > here: https://lwn.net/Articles/944214/ > > A patch to fix this was merged in glibc: > https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=551101e8240b7514fc646d1722f8b79c90362b8f > > The patch applies cleanly and builds fine also on bookworm glibc. > Please consider apply it to fix slow fstat.
This patch changes the syscall used by binaries, so it has to be considered with a lot of care in a stable release, it could break existing seccomp filters. In any case it has to live a few months in testing/unstable first. Note that the kernel patch that improves the performance of fstatat, has not been merge to the upstream stable tree, nor to bookworm. In order to better understand the need for this patch in bookworm, could you please give some details about your workload and the performance impact it has? Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net