From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dd14210.kasserver.com (dd14210.kasserver.com [85.13.138.83]) by sourceware.org (Postfix) with ESMTPS id BBC4E3858D28 for ; Fri, 8 Apr 2022 20:53:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBC4E3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=milianw.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=milianw.de Received: from milian-workstation.localnet (p54a1bbed.dip0.t-ipconnect.de [84.161.187.237]) by dd14210.kasserver.com (Postfix) with ESMTPSA id A108924036C for ; Fri, 8 Apr 2022 22:53:14 +0200 (CEST) From: Milian Wolff To: elfutils-devel@sourceware.org Subject: parallel downloads of multiple debuginfo files Date: Fri, 08 Apr 2022 22:53:14 +0200 Message-ID: <6158828.BCo7LnDCpQ@milian-workstation> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3290322.vFTBgJVzau"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 20:53:17 -0000 --nextPart3290322.vFTBgJVzau Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Milian Wolff To: elfutils-devel@sourceware.org Subject: parallel downloads of multiple debuginfo files Date: Fri, 08 Apr 2022 22:53:14 +0200 Message-ID: <6158828.BCo7LnDCpQ@milian-workstation> Hey all, one more debuginfod question: Would it be possible to extend the API to allow downloading of multiple debug info files in parallel? The `debuginfod_find_*` API currently only supports looking at multiple server urls in parallel. I would like to ask multiple files in parallel. The use case would be profiling tools like the ones I'm working on (perfparser, heaptrack, ...). There, you usually have a list of libraries that you know you'll hit sooner or later. Thus it would be more efficient to start downloading all debug information files in parallel directly. At least compared to the current status quo with dwfl where we would iteratively find individual debug information files, each time blocking the process. Parallel downloads from a single server would definitely increase the load there though, when done naively. Have you thought about adding support for something like HTTP/3's ability to download mutiple assets over a single connection (maybe even in parallel)? Thanks -- Milian Wolff mail@milianw.de http://milianw.de --nextPart3290322.vFTBgJVzau Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmJQoLoACgkQ8zYW/HGd OX8CqhAApnXl1pQEhBpZojoapvR9ZWvvizsciu/BS9N69PphrLKmwVpUMMDkpyL5 8bMT0B6K1mFc16DD+VDrLW4Q/MqVymQbBC3b6+cDBkqPdBH/4TvdJt9CX7b9LOEg Qe8KxsG+Jr+szHQY+Px/RXZR9A4INmJOdd2oMO9et/sMWhMkEYRPhsp4XT/JRP64 I/7l/4/Ueu/XvbZm4j91OsJZ40d9SM66z0ie+5GXU9F48s3p9NsHM0a1aIi1HPvy d8dnHUvkXtrKPuB4mHVX9DtYf/CXUkSDkc+AL0gB5KazWSiGpM9ipGcbYqHm31x4 fu3TyH6mF0JBz7eoiTd6z7gaYXlR6S2q+MKk5OpdJa/9aidL9mx0rS0fA24yKcXu ajBnbqSkstq53FfvAmszRnNDlEw69rnRJk+WU5TMH/H5d7pvg7bvzHUXVU/LYdD0 q+jjMOC1eWMZ2WfS04bx17rE+2ZEQCEv1OOd1SAIqwTkA/uayvAJA8ti9khanJcE SzkmonBfwoxej4cjsbNG8Bc2X+pbLkckxPTVpAfhqtx43RRkIlD63xKBgqqv7BIL vXrqdSf9rPfnsSDWxRezkteTeJwtVzsHZi1atSphAgT3wZzkMgRR7mbaBwT2/F7S xkhDLZO+zzLz9M68TmjodUefAgBuQv9A4aE9bYBNl0mpmP+zfgc= =nQlm -----END PGP SIGNATURE----- --nextPart3290322.vFTBgJVzau--