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

Offen
#1,300 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
performance

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
C
Sterne
10
Forks
8
Ø Merge
6 Std. 32 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus FriendsofECCE/ECCE

Alle Issues in FriendsofECCE/ECCE

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.