Your message dated Mon, 26 Nov 2012 00:07:13 -0800
with message-id <[email protected]>
and subject line Re: git is slow because of excessive unaligned accesses on
Alpha
has caused the Debian Bug report #681532,
regarding git is slow because of excessive unaligned accesses on Alpha
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
681532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681532
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git
Version: 1:1.7.10.4-1
Severity: minor
User: [email protected]
Usertags: alpha
Dear Maintainer,
git generates many (i.e. order of millions) of unaligned access traps
on the Alpha architecture. Misaligned accesses on the Alpha result
in a kernel trap which then completes the access and are thus extremely
inefficient. git runs noticeably slow because of this.
The misaligned accesses are in the SHA1 code. I see that NO_OPENSSL
is set in debian/rules which results in the use of the block_sha1 code
packaged with git as NO_OPENSSL also sets BLK_SHA1. The git
Makefile has this to say about setting BLK_SHA1:
# Define BLK_SHA1 environment variable if you want the C version
# of the SHA1 that assumes you can do unaligned 32-bit loads and
# have a fast htonl() function.
The Alpha architecture cannot do unaligned 32-bit loads without extra
support from the kernel.
Would it be possible to not set NO_OPENSSL on Alpha and add libssl
to the dependencies? Or is some reason that I am not aware of why the
git supplied code is preferred?
Regards,
Michael.
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: alpha
Kernel: Linux 3.2.23-titan-ap+ (SMP w/3 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages git depends on:
ii git-man 1:1.7.10.4-1
ii libc6.1 2.13-33
ii libcurl3-gnutls 7.26.0-1
ii liberror-perl 0.17-1
ii libexpat1 2.1.0-1
ii perl-modules 5.14.2-12
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages git recommends:
ii less 444-4
ii openssh-client [ssh-client] 1:6.0p1-2
ii patch 2.6.1-3
ii rsync 3.0.9-3
Versions of packages git suggests:
ii gettext-base 0.18.1.1-9
pn git-arch <none>
pn git-cvs <none>
pn git-daemon-run | git-daemon-sysvinit <none>
pn git-doc <none>
pn git-el <none>
pn git-email <none>
pn git-gui <none>
pn git-svn <none>
ii gitk 1:1.7.10.4-1
pn gitweb <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1:1.8.0-1
Fixed by v1.7.12-rc0~1^2~2 (block-sha1: avoid pointer conversion that
violates alignment constraints, 2012-07-22); thanks again for your
help on that. Closing. I'd like to backport that patch for wheezy
and sid (or if someone else wants to collect a batch of important
bugfixes, I won't mind reviewing...).
Ciao,
Jonathan
--- End Message ---