Subject: pkg/30119: bittorrent file verification is uberslow
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Christian Biere <christianbiere@gmx.de>
List: pkgsrc-bugs
Date: 05/03/2005 13:56:01
>Number: 30119
>Category: pkg
>Synopsis: bittorrent file verification is uberslow
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue May 03 13:56:00 +0000 2005
>Originator: Christian Biere
>Release: NetBSD 2.99.11
>Environment:
System: NetBSD cyclonus 2.99.11 NetBSD 2.99.11 (STARSCREAM) #4: Fri Jan 7 14:02:19 CET 2005 bin@cyclonus:/usr/obj/sys/arch/i386/compile/STARSCREAM i386
Architecture: i386
Machine: i386
>Description:
I was shocked how slow the file verification proceeds after the update
to 4.0.1. However, this problem is known and there's an option to
enable a workaround (--enable_bad_libc_workaround 1). I suggest using
the patch to use this workaround by default. This makes file verification
fast again (est. 20x faster than without this option). The author claims
it's a bug in "BSD libc", so investigating that point would of course be
better.
>How-To-Repeat:
Update from bittorrent 3.x to 4.0.1 and launch it to seed a file.
>Fix:
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net/py-bittorrent-devel/files/patch-BitTorrent::defaultargs.py