From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 4B5543858D28 for ; Fri, 8 Apr 2022 21:31:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4B5543858D28 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-655-xOLPAPEAOHeBf7tpMZhLnQ-1; Fri, 08 Apr 2022 17:31:21 -0400 X-MC-Unique: xOLPAPEAOHeBf7tpMZhLnQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 74724802803; Fri, 8 Apr 2022 21:31:21 +0000 (UTC) Received: from redhat.com (unknown [10.2.16.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 609A840CFD06; Fri, 8 Apr 2022 21:31:21 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.94.2) (envelope-from ) id 1ncwCO-0001Ea-Hh; Fri, 08 Apr 2022 17:31:20 -0400 Date: Fri, 8 Apr 2022 17:31:20 -0400 From: "Frank Ch. Eigler" To: Milian Wolff Cc: elfutils-devel@sourceware.org Subject: Re: parallel downloads of multiple debuginfo files Message-ID: <20220408213120.GE23295@redhat.com> References: <6158828.BCo7LnDCpQ@milian-workstation> <20220408205435.GD23295@redhat.com> <10231549.TdVgQxHH2d@milian-workstation> MIME-Version: 1.0 In-Reply-To: <10231549.TdVgQxHH2d@milian-workstation> User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2022 21:31:26 -0000 Hi - > But once again - isn't this a problem that everyone using dwfl is going to > encounter? Should we not try to find a general solution to this problem and > fix it for all consumers of the API? I suspect not many apps are going to have a complete list of files they know they'll need a priori. A live profiler tends to find out about target files gradually. A debugger uses debuginfo to help enumerate other debuginfo. DWZ files can only be even known of when the base DWARF file is fetched. So yeah I'm not sure there exists a widespread general problem for which multithreading is not a workable solution. - FChE