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

Abierto
#1,300 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
performance

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
C
Estrellas
10
Forks
8
Merge medio
6 h 32 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FriendsofECCE/ECCE

Todos los issues de FriendsofECCE/ECCE

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.