Tempo: first build is still loading the workspace after 19 min at 41 GB RSS

Aperta
#27 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust, ubuntu
Ambito
compilers

Direzione di ricerca

Reproduce with the given cargo rustd build commands on the Tempo checkout and watch cargo rustd status show the worker loading for >1000s. Inspect the worker log at ~/.cache/rustd/spares/0/log to see where progress stops. The issue names no source file, so the workspace-loading code in rustd must be found by reading the repo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Environment: bare-metal x86-64, 48 cores, 377 GB RAM, Ubuntu 24.04, Rust 1.99.0 with rust-src, rustd nightly release 4530fb8 from install.sh (RUSTD_VERSION=nightly).

git clone https://github.com/tempoxyz/tempo && cd tempo && git checkout 60c3923
echo 1.99.0 > rust-toolchain
cargo build --bin tempo              # plain cargo: 130 s
cargo rustd build --bin tempo

Expected: the daemon loads the workspace and builds. ra-jit loads this same workspace in ~40 s.

Actual: after 18 min 50 s the build was still waiting, and I stopped it:

$ cargo rustd status
daemon: pid 95109, version 0.0.0-4530fb8-18e1a8ab3799c1bb, exits after 1800s idle
  worker: pid 95110, /home/ubuntu/w-rustd-tempo/, log ~/.cache/rustd/spares/0/log
    /home/ubuntu/w-rustd-tempo: loading for 1126s
$ ps -o rss,args
41270388 rustd --spare ~/.cache/rustd/spares/0/package

cargo's half finished (Finished dev profile … in 4.41s in the build log). Only the worker's load never finished, and the status line gives no sign of progress. Tempo is about 30 workspace crates on top of reth (git dependencies).

Context: https://github.com/tempoxyz/tempo/issues/8650

Lingua principale
Rust
Stelle
248
Fork
13
Merge medio
7h 52m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DioxusLabs/rustd

Tutte le issue di DioxusLabs/rustd

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.