in combination with courier-imap: severe performance problems

Bug #1268193 reported by Lorenz Weber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnutls26 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I compiled courier-mta (using the apt-get source/fakeroot method with --with-gnutls as additional config flag) against gnutls and experienced severe performance problems.

Testing shows that downloading a 10MB-attachment with the openssl library takes ~1.6 seconds, but ~60 seconds using the gnutls library.
More details and test methods are described in this mailing list thread: http://sourceforge.net/mailarchive/forum.php?thread_name=52CFECFC.5070300%40lenzw.de&forum_name=courier-imap

More investigation has shown that this bug does not apply with newer versions of gnutls, namely 2.12.16 fixes the issue. (From 60s down to 1.5s)
I am attaching a patch which resolves the problem when applied to gnutls26_2.12.14-5ubuntu3.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgnutls26 2.12.14-5ubuntu3.5
Uname: Linux 3.10.13-x86_64-jb1 x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Sat Jan 11 21:01:25 2014
MarkForUpload: True
SourcePackage: gnutls26
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lorenz Weber (phry) wrote :
Revision history for this message
Lorenz Weber (phry) wrote :

PS: I did no testing to confirm this, but I suspect that other software compiled against libgnutls26 will show similar performance issues.

Revision history for this message
Lorenz Weber (phry) wrote :

seems the attachment was lost on bug submission

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch extracted from 2.12.16" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.