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

Ouverte
#1,300 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
42/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
c
Domaine
performance

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
C
Étoiles
10
Forks
8
Merge moyen
6 h 32 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de FriendsofECCE/ECCE

Toutes les issues de FriendsofECCE/ECCE

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.