gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] [BUG] tla cat-archive-log downloads .listing files unne


From: Matthieu Moy
Subject: [Gnu-arch-users] [BUG] tla cat-archive-log downloads .listing files unnecessarily
Date: Wed, 08 Sep 2004 01:44:24 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

It seems that tla downloads unnecessary .listing files when running
cat-archive-log:

$ strace tla cat-archive-log
address@hidden/xtla--jet--0.2--patch-100 | & grep GET
fcntl64(3, F_GETFD)                     = 0
write(3, "GET /arch/xtla/.listing HTTP/1.1"..., 134) = 134
write(3, "GET /arch/xtla/.listing HTTP/1.1"..., 134) = 134
write(3, "GET /arch/xtla/=meta-info/mirror"..., 143) = 143
write(3, "GET /arch/xtla/=meta-info/name H"..., 141) = 141
write(3, "GET /arch/xtla/=meta-info/http-b"..., 147) = 147
write(3, "GET /arch/xtla/=meta-info/signed"..., 151) = 151
write(3, "GET /arch/xtla/.listing HTTP/1.1"..., 134) = 134
write(3, "GET /arch/xtla/.listing HTTP/1.1"..., 134) = 134
write(3, "GET /arch/xtla/xtla/.listing HTT"..., 139) = 139
write(3, "GET /arch/xtla/xtla/xtla--jet/.l"..., 149) = 149
write(3, "GET /arch/xtla/.listing HTTP/1.1"..., 134) = 134
write(3, "GET /arch/xtla/xtla/xtla--jet/xt"..., 174) = 174
write(3, "GET /arch/xtla/xtla/xtla--jet/xt"..., 174) = 174
write(3, "GET /arch/xtla/xtla/xtla--jet/xt"..., 183) = 183
write(3, "GET /arch/xtla/xtla/xtla--jet/xt"..., 169) = 169

tla knows exactly the location of the file.  One single GET should be
sufficient here. (possibly followed by others in case of failure, to
get the diagnosis)

Since tla has no (yet) HTTP pipelining, this results in a considerable
performance loss: tla cat-archive-log takes 5 seconds to execute where
a wget on the right URL takes only 0.60 seconds!

--
Matthieu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]