Repository navigation
Open
Description
问题
Process PSS does not describe Go heap occupancy or host tmpfs pressure. Unlinked descriptor accounting also misses PostgreSQL named sort/materialization files. Large-model acceptance therefore needs additional observations and explicit coverage, rather than treating missing samples as zero.
按层修改
| 层 | 观察 |
|---|---|
| Go runtime | HeapAlloc/HeapInuse, peak goroutines and initial/final values |
| Host | Minimum MemAvailable and peak Shmem, with readable-field coverage |
| PostgreSQL | Selected postmaster PID/CWD validation, default-tablespace named temporary files, logical/allocated bytes and inode deduplication |
| Boundaries | Bounded traversal, no symlinks, unsupported custom tablespaces/read races recorded as incomplete coverage |
| Lifecycle | Synchronous initial sample, idempotent final sample, explicit observation cost and no summation into a claimed unique-memory total |
Architecture(局部)
flowchart LR
GO[Existing benchmark process] --> PROBE[Runtime / host / default PG temp observer]
HOST[Linux host memory] --> PROBE
PG[Selected dedicated postmaster] --> PROBE
PROBE --> COVER[Valid sample counts / read errors]
PROBE --> MAX[Independent maxima / minimum available / initial-final state]
classDef changed fill:#fff3e0,stroke:#b45309,stroke-width:3px,color:#111;
class PROBE,COVER,MAX changed;
Data flow(局部)
flowchart TB
INIT[Initial observation before timed work] --> RUN[Existing measured workload]
RUN --> SAMPLE[Sample runtime heap and host fields]
SAMPLE --> PID[Validate selected PG data directory]
PID --> WALK[Bounded default temp walk / no links / inode dedup]
WALK --> REPORT[Logical / allocated temp bytes with coverage]
RUN --> FINISH[Final observation after timed work]
FINISH --> REPORT
WALK -.Unavailable or unsupported.-> INCOMPLETE[Record incomplete coverage]
classDef changed fill:#fff3e0,stroke:#b45309,stroke-width:3px,color:#111;
class INIT,SAMPLE,PID,WALK,REPORT,FINISH,INCOMPLETE changed;
These are sampled observations, not memory/disk hard quotas. Host shared memory includes unrelated activity; independent peaks cannot be added into unique physical usage. Full custom-tablespace coverage and brief process/file peaks are not claimed.
Metadata
Metadata
Assignees
Labels
No labels
Activity