Message ID | cover.1721773977.git.osandov@fb.com |
---|---|
Headers |
Return-Path: <elfutils-devel-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 43BB33858289 for <patchwork@sourceware.org>; Tue, 23 Jul 2024 22:36:08 +0000 (GMT) X-Original-To: elfutils-devel@sourceware.org Delivered-To: elfutils-devel@sourceware.org Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by sourceware.org (Postfix) with ESMTPS id 528233858D29 for <elfutils-devel@sourceware.org>; Tue, 23 Jul 2024 22:35:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 528233858D29 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=osandov.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=osandov.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 528233858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::236 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721774156; cv=none; b=Qh1OOpN7IbjbuEnnQVJz5OY57byh67pC4P1mNO7swiyQBfEI+QVzcRpqlaJRVDAXqGIyDABocEBO+w28DHLODmCnm3HR/geV530+NpQ9ncq3pbaCp2znFee0g7PuwKN5Iazwpe/G9yY2qnzVbgJfe94lYxzZOUwFP828JuVaxdA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721774156; c=relaxed/simple; bh=8UPAleTFcMdsMb6OXqqO2E7X4FkXEySrWVL3vWa/Fiw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=WIbj0FmIykMY4fAtCeNysPSoF26labmA5es688wm/aUV5d8NcykV8xt0VmOBP/0SRdfONerMW3BMHKwt7ShLphawIqiEPZ2ZWPCPszYHB1Dsr4p9UR5YVaoX9y3ZCAxySXio6YS2momdOo1J7F22c2QryTN72PR/0DWHf3uG3X4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3d9dd7e5f6eso2714703b6e.2 for <elfutils-devel@sourceware.org>; Tue, 23 Jul 2024 15:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20230601.gappssmtp.com; s=20230601; t=1721774153; x=1722378953; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VeGfVUIaeh7T1Ayb6yMWL6Gx3NufEz7e20uvTW2Ot3E=; b=AtW/VrfQSVN0gtzAg8y5pvu10efxm2D7M7Zs7ZxxBp0qud6oniqylfAy2j8EUnAu/c Aql/KFtzPOFahug8mAnRmFzBKNbn6vv822UlpF5qbx3rfAEvO4UU7kZq86aUWGcNdDDh c3OD8IPvdBhdPZoAyoqedkU1Gy8Fn+XOiWbOGFQYsE+QVihPAZZtL5nhfTCuqxabyH+2 roziPuqnNDEAKvMDPcQFZS5gq7KG7lmrMYjIEMVpQOg+H3aWsloq7EwkilvKpZUQIoBf gVZDkj6z+Y+oLdxyfJHPJ5qLCEgJwv/IZw+G+/Toy6SjVH3uc4M74pS856NK/7XgPcsm IBiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721774153; x=1722378953; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VeGfVUIaeh7T1Ayb6yMWL6Gx3NufEz7e20uvTW2Ot3E=; b=aK71el67FEbXE/GRLU2dTnGRAtudPZD3ecLp/dyUEJYTS0pQimpmx6sa1ocC8nqlgU 5YTVL9usA8mPMa5iOgQUVKbFfes0TFAjZt1BbiCuKAxr/KTh9CZqL2/bMqzcrgoZocXQ cb28SHkf78fOFJ8XAMNJfHTxEhNMhik+OeahQUGYdLurZrLh4pS5aDVd3xmHXYljxO6y ociRBlQdRIx6pGHhwAfQJlpyXlUXmUoVtBnZxIwBl5YlYOcXObjL3k3rgX07GdDXUPUv YdHxedpLhg9Slk8owENLwnqD8rF6L0V7NSEBQFYDzTaINHJHcnuyTEANQauwi4+HHF/q AazA== X-Gm-Message-State: AOJu0Yx4VuumXfwMzZNAt1nCphWzrJfi9FfRafPRcDAEHMVbpCwQadKt 0+kFb7BwLU145sFF5wLipqRcX0V+JfePpq4LY+hpH/C+31p734SQxX6pH8jMUGZUepCr/rXzf78 d X-Google-Smtp-Source: AGHT+IEfCOv4BMOYoXpEm7JW2SAcaWPQv665DfVsOq0b5ri4nl48LueVVIR92sm2WxO45z3r+thI+A== X-Received: by 2002:a05:6870:c152:b0:261:1a17:c817 with SMTP id 586e51a60fabf-2648764c612mr1263178fac.7.1721774153166; Tue, 23 Jul 2024 15:35:53 -0700 (PDT) Received: from telecaster.thefacebook.com ([2620:10d:c090:500::5:b6d3]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70d241803fdsm4308079b3a.220.2024.07.23.15.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 15:35:52 -0700 (PDT) From: Omar Sandoval <osandov@osandov.com> To: elfutils-devel@sourceware.org Cc: "Frank Ch . Eigler" <fche@redhat.com>, Aaron Merey <amerey@redhat.com>, linux-debuggers@vger.kernel.org Subject: [PATCH v5 0/7] debuginfod: speed up extraction from kernel debuginfo packages by 200x Date: Tue, 23 Jul 2024 15:35:36 -0700 Message-ID: <cover.1721773977.git.osandov@fb.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Elfutils-devel mailing list <elfutils-devel.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/elfutils-devel>, <mailto:elfutils-devel-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/elfutils-devel/> List-Post: <mailto:elfutils-devel@sourceware.org> List-Help: <mailto:elfutils-devel-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/elfutils-devel>, <mailto:elfutils-devel-request@sourceware.org?subject=subscribe> Errors-To: elfutils-devel-bounces~patchwork=sourceware.org@sourceware.org |
Series |
debuginfod: speed up extraction from kernel debuginfo packages by 200x
|
|
Message
Omar Sandoval
July 23, 2024, 10:35 p.m. UTC
From: Omar Sandoval <osandov@fb.com>
This is v4 of my patch series optimizing debuginfod for kernel
debuginfo. v1 is here [1], v2 is here [2], v3 is here [3], v4 is here
[4]. The only change from v4 in this version is adding --fdcache-mbs
and --fdcache-mintmp to the new test to fix some sporadic test failures.
Hopefully this version finally gets a clean test run.
Thanks,
Omar
1: https://sourceware.org/pipermail/elfutils-devel/2024q3/007191.html
2: https://sourceware.org/pipermail/elfutils-devel/2024q3/007208.html
3: https://sourceware.org/pipermail/elfutils-devel/2024q3/007243.html
4: https://sourceware.org/pipermail/elfutils-devel/2024q3/007255.html
Omar Sandoval (7):
debuginfod: fix skipping <built-in> source file
tests/run-debuginfod-fd-prefetch-caches.sh: disable fdcache limit
check
debuginfod: factor out common code for responding from an archive
debugifod: add new table and views for seekable archives
debuginfod: optimize extraction from seekable xz archives
debuginfod: populate _r_seekable on scan
debuginfod: populate _r_seekable on request
configure.ac | 5 +
debuginfod/Makefile.am | 2 +-
debuginfod/debuginfod.cxx | 923 +++++++++++++++---
tests/Makefile.am | 13 +-
...pressme-seekable-xz-dbgsym_1.0-1_amd64.deb | Bin 0 -> 6288 bytes
...compressme-seekable-xz_1.0-1.debian.tar.xz | Bin 0 -> 1440 bytes
.../compressme-seekable-xz_1.0-1.dsc | 19 +
.../compressme-seekable-xz_1.0-1_amd64.deb | Bin 0 -> 6208 bytes
.../compressme-seekable-xz_1.0.orig.tar.xz | Bin 0 -> 7160 bytes
.../compressme-seekable-xz-1.0-1.src.rpm | Bin 0 -> 15880 bytes
.../compressme-seekable-xz-1.0-1.x86_64.rpm | Bin 0 -> 31873 bytes
...sme-seekable-xz-debuginfo-1.0-1.x86_64.rpm | Bin 0 -> 21917 bytes
...e-seekable-xz-debugsource-1.0-1.x86_64.rpm | Bin 0 -> 7961 bytes
tests/run-debuginfod-archive-groom.sh | 2 +-
tests/run-debuginfod-extraction.sh | 2 +-
tests/run-debuginfod-fd-prefetch-caches.sh | 4 +
tests/run-debuginfod-seekable.sh | 192 ++++
17 files changed, 1017 insertions(+), 145 deletions(-)
create mode 100644 tests/debuginfod-debs/seekable-xz/compressme-seekable-xz-dbgsym_1.0-1_amd64.deb
create mode 100644 tests/debuginfod-debs/seekable-xz/compressme-seekable-xz_1.0-1.debian.tar.xz
create mode 100644 tests/debuginfod-debs/seekable-xz/compressme-seekable-xz_1.0-1.dsc
create mode 100644 tests/debuginfod-debs/seekable-xz/compressme-seekable-xz_1.0-1_amd64.deb
create mode 100644 tests/debuginfod-debs/seekable-xz/compressme-seekable-xz_1.0.orig.tar.xz
create mode 100644 tests/debuginfod-rpms/seekable-xz/compressme-seekable-xz-1.0-1.src.rpm
create mode 100644 tests/debuginfod-rpms/seekable-xz/compressme-seekable-xz-1.0-1.x86_64.rpm
create mode 100644 tests/debuginfod-rpms/seekable-xz/compressme-seekable-xz-debuginfo-1.0-1.x86_64.rpm
create mode 100644 tests/debuginfod-rpms/seekable-xz/compressme-seekable-xz-debugsource-1.0-1.x86_64.rpm
create mode 100755 tests/run-debuginfod-seekable.sh
Comments
On Tue, Jul 23, 2024 at 6:40 PM Omar Sandoval <osandov@osandov.com> wrote: > > From: Omar Sandoval <osandov@fb.com> > > This is v4 of my patch series optimizing debuginfod for kernel > debuginfo. v1 is here [1], v2 is here [2], v3 is here [3], v4 is here > [4]. The only change from v4 in this version is adding --fdcache-mbs > and --fdcache-mintmp to the new test to fix some sporadic test failures. > Hopefully this version finally gets a clean test run. Thanks Omar. I've gone ahead and merged these patches. Aaron
On Wed, Jul 24, 2024 at 06:20:21PM -0400, Aaron Merey wrote: > On Tue, Jul 23, 2024 at 6:40 PM Omar Sandoval <osandov@osandov.com> wrote: > > > > From: Omar Sandoval <osandov@fb.com> > > > > This is v4 of my patch series optimizing debuginfod for kernel > > debuginfo. v1 is here [1], v2 is here [2], v3 is here [3], v4 is here > > [4]. The only change from v4 in this version is adding --fdcache-mbs > > and --fdcache-mintmp to the new test to fix some sporadic test failures. > > Hopefully this version finally gets a clean test run. > > Thanks Omar. I've gone ahead and merged these patches. Thanks so much! Omar