v3.9.0: parallel uploadblock (PR #869) shows no speedup in practice — large uploads still ~0.37–0.46 MiB/s

Aperta
#894 1 commento 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
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by tracing the parallel uploadblock path added in PR #869 and the multiphase safe C2C route used for files above about 25 MiB. Check whether that route invokes parallel uploads and where its phases could serialize; the issue provides measured timings but names no source files or tests. Done means explaining the route’s behavior and, if the path is meant to be parallel, demonstrating the expected speedup with large-file measurements.

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

Descrizione

question

Hi, following up on #868 — thanks for the clarification there and for merging PR #869 (parallel uploadblock) in v3.9.0. We've upgraded to v3.9.0 (stock build, no local patches) and re-measured real file uploads. Unfortunately we can't observe the expected speedup.

Measured on v3.9.0 (file sends; every job completed with upload readback verified):

  • 20.5 MiB (21,495,808 bytes): 203.0 s → ~103 KB/s
  • 25.5 MiB (26,738,688 bytes): 68.7 s → ~380 KB/s (0.371 MiB/s)
  • 30.5 MiB (31,457,280 bytes): 65.4 s → ~470 KB/s (0.458 MiB/s)

For comparison, the pre-3.9.0 serial baseline from #868 was ~0.36 MiB/s (32 MiB ≈ 88 s; 105 MiB ≈ 310 s). So uploads above 25 MiB are essentially unchanged (about 1.0–1.3×), far from the ~4× we'd expect if 4 parallel connections were active. The 20.5 MiB sample is a single measurement and may have hit a transient network dip, but the two samples above 25 MiB are consistent with the old serial rate.

Questions:

  1. Is the parallel uploadblock path expected to apply to the multiphase (safe C2C) upload route used for files above ~25 MiB? Our numbers suggest it either isn't engaged on this route or is being serialized somewhere.
  2. Is there any condition (build flag, config, route selection) that decides whether the parallel upload is used, which we could check on our side?
  3. If the parallelization doesn't cover this route yet, is extending it planned? This is currently the main bottleneck for large-file sends.

Happy to provide per-phase timing logs or test other sizes/builds if useful. Thanks again for the project.

Lingua principale
Rust
Stelle
319
Fork
131
Merge medio
3h 14m
PR unite (30g)
349

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 thisnick/agent-wechat

Tutte le issue di thisnick/agent-wechat

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.