Skip to content

bug: ci: Tier 2 apt install spends minutes on dpkg fsync on Dell HDD storage #4973

Closed

Description

@zackees

The Tier 2 package installation in .github/workflows/build-project.yaml spends minutes syncing dpkg's database on the Dell runner's btrfs HDD mirror, while holding the shared .tier2-install.lock.

Measured by the maintainer: fsync is approximately 54 ms on the HDD mirror versus 0.1 ms on NVMe. Installing approximately 619 packages took 7m21s in merge-queue job 134092906547, versus 50–93 s previously. A controlled comparison in the same container image with the same dpkg settings took 468 s plain and 47 s under eatmydata. force-unsafe-io alone does not suppress per-package database fsync.

Install eatmydata in the existing early Install Git step, then run the large Tier 2 apt install through sudo eatmydata. Keep the retry, archive lock and hosted-runner behavior. Add regression coverage to the existing workflow apt-cache tests requiring the wrapper and earlier installation in the same job. Record local RED and GREEN, run lint, and push the pair together. No new workflow file.

Refs #4896.

Activity

  1. added
    bug
    infra
    ready
    on Nov 17, 2026
  2. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Claiming: eatmydata package-install fix on branch infra/4973-tier2-eatmydata. 1. Extend the existing Tier 2 apt workflow regression suite and record local RED. 2. Install eatmydata before Tier 2 and wrap its apt install. 3. Record GREEN, run the full lint, push both commits together and publish a PR this session; leave it draft if backpressure is closed.

  3. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Done by #4974 (merged as 61e2548): Tier 2 apt installs run under eatmydata. On the Dell, the RAM-backed job daemon (forge-ci/gh-runner#13) now also keeps dpkg off the HDD; the measured install is about 38 s.

  4. moved this from In progress to Done in obs-rust Multiviewon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buginfraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions