[systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

Lennart Poettering lennart at poettering.net
Tue Jul 11 14:10:38 UTC 2017


On Tue, 11.07.17 16:07, Lennart Poettering (lennart at poettering.net) wrote:
> Hmm, so I run a slightly older glibc, as I haven#t updated my system
> in a while:
> 
> $ strace -c journalctl --since -1hour 2>&1 >/dev/null | head -10
> % time     seconds  usecs/call     calls    errors syscall
> ------ ----------- ----------- --------- --------- ----------------
>  25.95    0.001276           7       195           mmap
>  23.21    0.001141           7       164        30 open
>  22.29    0.001096           9       119           munmap
>   6.53    0.000321           2       134           close
>   6.10    0.000300           2       135           fstat
>   5.15    0.000253           5        56           mprotect
>   4.88    0.000240           2       102           fstatfs
>   2.30    0.000113           4        32           read
> 
> getpid() is nowhere to be seen in this... Seems Fedora regressed on
> this too recently. Meh.

Forgot to mention:

$ rpm -qa glibc
glibc-2.24-4.fc25.x86_64

Apparently, this regressed between this version and
glibc-2.24-9.fc25.x86_64 hence.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list