[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpg and trustdb very slow



On Tue, Sep 18, 2001 at 01:27:20AM -0400, Joey Hess uttered:
> It'd be nice if someone would look at optimizing it sometime; the
> behavior I see with strace is absurd, and could easily be done with no
> syscalls, at least, by just reading the whole trustdb into memory.
>
I doubt very strongly that would end up being implemented, as gnupg likes to
lock the memory it plays with, so it can be considered "secure", I doubt
upstream would consider what is described above as secure. :-/

> [FWIW, this is a strace of a single gpg verify operation. I didn't even
>  let it run all the way though, giving up when the strace log reached 700
>  MB:
>  joey@kite:~>grep llseek log |wc -l
>  5036905
> ]
> 
Whoa.

-- 
                                                    Steve
<StevenK> Nah, I'm allergic to python.
<StevenK> It makes me swear and break stuff.

Attachment: pgpNLZ8crlFA6.pgp
Description: PGP signature


Reply to: