On Tue, 2009-12-29 at 19:41 -0600, Chris wrote:
> On Tue, 2009-12-29 at 23:54 +0000, Patrick O'Callaghan wrote:
> > On Tue, 2009-12-29 at 17:21 -0600, Chris wrote:
> > > I started a thread back on Dec 2nd on this but there were never any
> > > replies. For instance, I just sent out message with a 7.2mb attachment.
> > > It took 3 minutes before Evo started sending the message. If I uncheck
> > > PGP Sign it goes out immediately. I've found that this 'lag time'
> > > happens on any message with an attachment of approximately 500k. This is
> > > on Mandriva 2010, Gnome 2.28, Evolution 2.28.1.
> > > 
> > > Anything to check or any ideas anyone?
> > 
> > I guess the obvious thing to check would be how long it takes gpg to
> > sign the attached file when called directly from the Shell. If it's fast
> > then you could also run Evo under strace to get an idea of what it's
> > doing. More extensive investigations would mean running under a
> > debugger.
> > 
> > Have you reported this to Bugzilla?
> > 
> > poc
> > 
> To sign the 4.5mb file I sent with gpg from the shell it took about a
> second from the time I entered my passphrase. I submitted this bug
> report:
> 
> https://bugzilla.gnome.org/show_bug.cgi?id=604236
> 
> on 10 December, nothing was ever done with it that I can see.

That's nothing. I have bug reports from over 5 years ago that never went
anywhere :-) The dev's priorities are hard to predict.

That said, I did a quick test and a 3.7MB file took over 2 minutes to
sign on my Atom-based netbook, while running gpg from the Shell was as
you say about a second. Running strace on the gpg process called from
Evo shows it reading 4kb at a time into an 8kb buffer, which could well
be a pipe between Evo and gpg. I note that the system constant PIPE_BUF
is 4kb, even though modern Linux pipe buffers are 64kb (see man
pipe(7)). However this is speculation.

poc

_______________________________________________
Evolution-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to