Devuan bug report logs - #406
daptup makes apt 2.0 very slow

Package: daptup; Maintainer for daptup is (unknown); Source for daptup is src:daptup.

Reported by: Klaus Ethgen <Klaus@Ethgen.ch>

Date: Mon, 9 Mar 2020 18:33:01 UTC

Severity: normal

Tags: debian, moreinfo

Full log


Message #34 received at 406@bugs.devuan.org (full text, mbox, reply):

Received: (at 406) by bugs.devuan.org; 3 May 2020 19:50:06 +0000
Return-Path: <Klaus@Ethgen.de>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 03 May 2020 19:50:06 +0000 (UTC)
Received: from tschil.ethgen.ch (tschil.ethgen.ch [5.9.7.51])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id AEB3FF60BB4
	for <406@bugs.devuan.org>; Sun,  3 May 2020 21:37:22 +0200 (CEST)
Received: from [192.168.17.4] (helo=ikki.ket)
	by tschil.ethgen.ch with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <klaus@ethgen.ch>)
	id 1jVKQS-0006jD-4G; Sun, 03 May 2020 21:37:20 +0200
Received: from klaus by ikki.ket with local (Exim 4.93)
	(envelope-from <klaus@ethgen.ch>)
	id 1jVKQR-0000wH-O3; Sun, 03 May 2020 21:37:19 +0200
Date: Sun, 3 May 2020 20:37:19 +0100
From: Klaus Ethgen <Klaus@Ethgen.ch>
To: Andreas Messer <andi@bastelmap.de>
Cc: 406@bugs.devuan.org
Subject: Re: bug#406: apt-2.0.0: Runs very, very slow after update to version
 2.0
Message-ID: <20200503193719.GA15118@ikki.ethgen.ch>
References: <20200407174843.GA5826@zeus.ad.home.arpa>
 <20200309181647.GA23948@ikki.ethgen.ch>
 <20200416201205.GC28224@ikki.ethgen.ch>
 <20200503172029.GA19683@zeus.ad.home.arpa>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR"
Content-Disposition: inline
In-Reply-To: <20200503172029.GA19683@zeus.ad.home.arpa>
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,
	RCVD_IN_DNSWL_MED,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
[Message part 1 (text/plain, inline)]
Hi Andreas,

Am So den  3. Mai 2020 um 18:20 schrieb Andreas Messer:
> I had to remove some of your local repos for testing, so my test result
> is probably not of much use. Running the command took about 6 seconds
> on my machine.

Strange..

> As far as I understand daptup is another tool not part of apt package. 
> So maybe it is at the moment not apt to blame. We should figure out were 
> the delay occurs. Did you check that you local file repos are available 
> (e.g. mounted properly before running the tool?)

Yes, they are. Sure they are. And the speed change came exactly with the
new apt release.

> Could you please install libdevel-dprof-perl and then run daptup as
> follows within /tmp:
> 
>     $ sudo perl -d:DProf /usr/bin/daptup --hook --post
> 
> Then please invoke:
> 
>     $ dprofpp
> 
> And mail the output.

No sudo here and I did it in root $HOME:
```
~> dprofpp
Total Elapsed Time = 669.6876 Seconds
  User+System Time = 1.747609 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c  Name
 44.6   0.780  0.780      1   0.7800 0.7800  Daptup::Backend::AptOrCupt::get_updates
 35.4   0.620  1.689      1   0.6196 1.6892  main::do_post
 15.4   0.270  0.270  80346   0.0000 0.0000  Term::ANSIColor::color
 1.72   0.030  0.069     11   0.0027 0.0062  main::BEGIN
 0.57   0.010  0.010      3   0.0033 0.0033  main::diff_cmd
 0.57   0.010  0.010      1   0.0100 0.0100  main::find_old_packages
 0.57   0.010  0.010      4   0.0025 0.0025  Daptup::Backend::Aptitude::BEGIN
 0.57   0.010  0.010      7   0.0014 0.0014  IO::Handle::BEGIN
 0.57   0.010  0.010      8   0.0012 0.0012  File::Spec::Unix::BEGIN
 0.57   0.010  0.010      7   0.0014 0.0014  Log::Agent::BEGIN
 0.57   0.010  0.029     21   0.0005 0.0014  File::Temp::BEGIN
 0.00   0.000  0.000      1   0.0000 0.0000  Exporter::Heavy::heavy_export_ok_tags
 0.00   0.000  0.000      1   0.0000 0.0000  Getopt::Long::GetOptionsFromArray
 0.00        - -0.000      1         -       -  main::get_watch_regex
 0.00        - -0.000      1         -       -  IO::Handle::__ANON__
```

Gruß
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Mar 28 10:57:42 2024;