Start-up: about 15 s between ecce starting and the first ssh call to a remembered SSH folder; the SSH timing log cannot show it

Aperta
#1,300 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
c
Ambito
performance

Direzione di ricerca

Start with src/comm/rcommand/DirectTransport.C and the ecceSshTiming clock, then trace process startup through the main window and startup worker to the listing script and selection. Add the requested timing points, measure a real desktop start, identify what accounts for the interval, and fix it if ECCE is waiting. Done means the interval is directly measured and its cause addressed when it is ECCE's own wait.

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

Descrizione

On one start of ecce with a remembered SSH folder, about 15 s appear to pass between process start and the first ssh call of the start-up worker (#1272). Every SSH step after that took under 0.5 s.

How the 15 s was estimated:

  • The session's ssh control directory was created at 21:22:21.97, when ecce started.
  • The ECCE_SSH_TIMING log spans 11.1 s and its file was last written at 21:22:48.41.
  • If that mtime is the write of the last line, the first logged step came at about 21:22:37.3.

The figure therefore rests on an assumption and needs a direct measurement.

ecceSshTiming (src/comm/rcommand/DirectTransport.C) starts its clock at its first call, so neither the hand-run log nor the headless timings can show this interval. The headless "under 2 s" figures in #1220 share that blind spot.

To do:

  • Give the timing log a clock that starts at process start, or wall-clock stamps.
  • Add stamps for process start, main window shown, start-up worker started, listing script ended and selection applied.
  • Measure on a real desktop start, name whatever fills the interval, and fix it if it is ECCE's own wait.
Lingua principale
C
Stelle
10
Fork
8
Merge medio
6h 32m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 FriendsofECCE/ECCE

Tutte le issue di FriendsofECCE/ECCE

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.