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

未关闭
#1,300 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c
领域
performance

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
C
星标
10
派生
8
平均合并
6 小时 32 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FriendsofECCE/ECCE 的其他 Issue

查看 FriendsofECCE/ECCE 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。