Performance regression, 2.2.3/recent?

NIIBE Yutaka gniibe at fsij.org
Mon Dec 4 10:20:21 CET 2017


Hello,

Phil Pennock <gnupg-users at spodhuis.org> wrote:
>   gpg --with-colons --with-fingerprint --with-subkey-fingerprint --with-secret --list-keys
[...]
> $ grep '^open(' strace.foo | sort | uniq -c
> [...]
>    3382 open("/home/pdp/.gnupg/pubring.kbx", O_RDONLY) = 10
>       1 open("/home/pdp/.gnupg/pubring.kbx", O_RDONLY) = 3
>       1 open("/home/pdp/.gnupg/pubring.kbx", O_RDONLY) = 4
>       1 open("/home/pdp/.gnupg/pubring.kbx", O_RDONLY) = 7

It seems that pubring.kbx is accessed recursively (something by depth 3,
by fd: 4, 7 and 10 (fd 3 is to check the file type, I guess)).

Could you please try with --no-expensive-trust-checks option, if it
changes the behavior?
-- 



More information about the Gnupg-users mailing list