PERF: Measure scratch and runtime for large pointwise image transfers

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

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
cpp
领域
performance

调研方向

Start with the batch sizing and buffer allocation section of src/simplnx/Utilities/ImageProcessing/PointwiseEngine.hpp linked in the issue. Compare whole-plane transfers with batches of complete tuples on the same machine, data, storage layout, and cache settings, including a wide single-plane image and a control whose plane fits the target. Record transfer-buffer size, peak memory, runtime, and output equality; use the results to judge whether smaller batches and a batch size are worthwhile.

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

描述

enhancement

Summary

Measure memory and runtime for type-changing pointwise image operations on large disk-backed inputs. The pointwise engine targets 64 MiB of combined transfer scratch by default and uses at least one whole storage slab. For a single 4096 × 4096 UInt8 plane processed by Exp, the Float64 output makes the two transfer buffers total 144 MiB. The input accounts for 16 MiB and the output for 128 MiB. This figure comes from the allocation sizes. Peak process memory and runtime remain to be measured. simplnx #1888 · Batch sizing and buffer allocation

Compare the current whole-plane transfers with smaller batches of complete tuples. Use the same machine, data, storage layout, and cache settings. Include a wide single-plane image and a control whose plane fits within the target. Record the largest combined transfer buffer, peak process memory, elapsed time, and output equality. Use those results to decide whether smaller batches are worth the additional I/O calls and how to choose their size.

主要语言
C++
星标
18
派生
15
平均合并
4 天 23 小时
30 天内合并 PR
42

环境准备

从这里开始

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

BlueQuartzSoftware/simplnx 的其他 Issue

查看 BlueQuartzSoftware/simplnx 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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