Commit ·
d97941f
0
Parent(s):
Duplicate from subsetchen/RevealTelemetryDatasetforMLInfraProfilingAnomalyDetection
Browse files- .gitattributes +59 -0
- MetricsDescription.md +391 -0
- README.md +143 -0
- Reveal_CPU.zip +3 -0
- Reveal_GPU.zip +3 -0
- estimate_network_size_example.ipynb +934 -0
- meta_cpu.csv +0 -0
- meta_gpu.csv +0 -0
- read_memory_example.ipynb +0 -0
- read_network_example.ipynb +0 -0
- summary_powerconsumption.ipynb +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
MetricsDescription.md
ADDED
|
@@ -0,0 +1,391 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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| 4 |
+
|
| 5 |
+
### Perf
|
| 6 |
+
|
| 7 |
+
Perf:Branches.*[count] — Number of branch instructions executed (cumulative counter).
|
| 8 |
+
|
| 9 |
+
Perf:Branch_Misses.*[count] — Number of branch prediction misses (cumulative counter).
|
| 10 |
+
|
| 11 |
+
Perf:Cycles.*[count] — CPU cycles executed (cumulative counter).
|
| 12 |
+
|
| 13 |
+
Perf:Instructions.*[count] — Instructions retired (cumulative counter).
|
| 14 |
+
|
| 15 |
+
Perf:IPC.*[-] — Instructions per cycle (IPC). Typically computed or sampled (instantaneous / derived).
|
| 16 |
+
|
| 17 |
+
Perf:BranchUtilization.*[%] — Branch unit utilization percent (sampled/instant).
|
| 18 |
+
|
| 19 |
+
Perf:CacheUtilization.*[%] — Cache utilization percent (sampled/instant).
|
| 20 |
+
|
| 21 |
+
Perf:StallRatio.*[%] — Fraction of cycles spent stalled (sampled/instant).
|
| 22 |
+
|
| 23 |
+
Perf:OccupancyRatio.*[%] — Execution-unit occupancy/saturation percent (sampled/instant).
|
| 24 |
+
|
| 25 |
+
### Turbostat (per-core / package readings and derived)
|
| 26 |
+
|
| 27 |
+
Fields with \\<n\\> repeat per CPU core index. Fields with .- indicate package-level or special entries present in headers.
|
| 28 |
+
|
| 29 |
+
#### Avg_MHz (per-core)
|
| 30 |
+
|
| 31 |
+
Turbostat:Avg_MHz.\<n\>.*[MHz] — Average frequency of core \<n\> in the sample interval. (instant / sampled)
|
| 32 |
+
|
| 33 |
+
Turbostat:Avg_MHz.-.*[MHz] — Package-level / special average frequency entry. (instant)
|
| 34 |
+
|
| 35 |
+
#### Busy% (per-core)
|
| 36 |
+
|
| 37 |
+
Turbostat:Busy%.\<n\>.*[%] — Percent of sample interval core \<n\> was busy. (sampled)
|
| 38 |
+
|
| 39 |
+
Turbostat:Busy%.-.*[%] — Package-level / special Busy% entry. (sampled)
|
| 40 |
+
|
| 41 |
+
#### Bzy_MHz (per-core)
|
| 42 |
+
|
| 43 |
+
Turbostat:Bzy_MHz.\<n\>.*[MHz] — Effective frequency when core \<n\> was busy (MHz). (sampled / derived)
|
| 44 |
+
|
| 45 |
+
Turbostat:Bzy_MHz.-.*[MHz] — Aggregate / special entry. (sampled)
|
| 46 |
+
|
| 47 |
+
#### TSC_MHz (per-core)
|
| 48 |
+
|
| 49 |
+
Turbostat:TSC_MHz.\<n\>.*[MHz] — Timestamp Counter frequency estimate for core \<n\>. (sampled / diagnostic)
|
| 50 |
+
|
| 51 |
+
Turbostat:TSC_MHz.-.*[MHz] — Aggregate / special entry.
|
| 52 |
+
|
| 53 |
+
#### IRQ (per-core)
|
| 54 |
+
|
| 55 |
+
Turbostat:IRQ.\<n\>.*[count] — Number of interrupts handled by core \<n\> (cumulative counter).
|
| 56 |
+
|
| 57 |
+
Turbostat:IRQ.-.*[count] — Aggregate / special.
|
| 58 |
+
|
| 59 |
+
#### SMI (per-core)
|
| 60 |
+
|
| 61 |
+
Turbostat:SMI.\<n\>.*[count] — System Management Interrupts on core \<n\> (cumulative counter).
|
| 62 |
+
|
| 63 |
+
Turbostat:SMI.-.*[count] — Aggregate / special.
|
| 64 |
+
|
| 65 |
+
#### CPU C-state residency (per-core)
|
| 66 |
+
|
| 67 |
+
Turbostat:CPU%c1.\<n\>.*[%] — Percent time core \<n\> spent in C1 low-power state (sampled).
|
| 68 |
+
|
| 69 |
+
Turbostat:CPU%c1.-.*[%] — Aggregate / special.
|
| 70 |
+
|
| 71 |
+
Turbostat:CPU%c6.\<n\>.*[%] — Percent time core \<n\> spent in C6 deep low-power state (sampled).
|
| 72 |
+
|
| 73 |
+
Turbostat:CPU%c6.-.*[%] — Aggregate / special.
|
| 74 |
+
|
| 75 |
+
#### Core & Package temps / power / package state / utilization
|
| 76 |
+
|
| 77 |
+
Turbostat:CoreTmp.\<n\>.*[C] — Temperature of core \<n\> (°C). (sampled)
|
| 78 |
+
|
| 79 |
+
Turbostat:CoreTmp.-.*[C] — Aggregate / special core temperature. (sampled)
|
| 80 |
+
|
| 81 |
+
Turbostat:PkgTmp.\<n\>.*[C] — Package temperature reading (may appear for multiple package indices). (sampled)
|
| 82 |
+
|
| 83 |
+
Turbostat:PkgTmp.-.*[C] — Aggregate package temperature. (sampled)
|
| 84 |
+
|
| 85 |
+
Turbostat:Pkg%pc2.\<n\>.*[%] — Package time fraction spent in PC2 power state (percent). (sampled)
|
| 86 |
+
|
| 87 |
+
Turbostat:Pkg%pc6.\<n\>.*[%] — Package time fraction spent in PC6 power state (percent). (sampled)
|
| 88 |
+
|
| 89 |
+
Turbostat:PkgWatt.\<n\>.*[W] — Package-level power consumption (watts). (sampled)
|
| 90 |
+
|
| 91 |
+
Turbostat:RAMWatt.\<n\>.*[W] — RAM subsystem power (watts). (sampled)
|
| 92 |
+
|
| 93 |
+
Turbostat:PKG_%.\<n\>.*[%] — Package utilization percent (sampled/derived).
|
| 94 |
+
|
| 95 |
+
Turbostat:RAM_%.\<n\>.*[%] — RAM utilization percent (sampled/derived).
|
| 96 |
+
|
| 97 |
+
Note: header sometimes lists specific core indices (e.g., .0, .24), \<n\> generalizes these. Replace \<n\> with actual core index when referring to concrete columns.
|
| 98 |
+
|
| 99 |
+
#### CPU utilization (per core & average)
|
| 100 |
+
|
| 101 |
+
CPU:CPU\<n\>Utilization.*[%] — Utilization percent of CPU core \<n\> (sampled / instant).
|
| 102 |
+
|
| 103 |
+
AverageCPUUtilization.*[%] — Average CPU utilization across tracked cores (sampled / derived).
|
| 104 |
+
|
| 105 |
+
## Memory (perf-derived & /proc/meminfo style)
|
| 106 |
+
|
| 107 |
+
### Perf-derived memory metrics
|
| 108 |
+
|
| 109 |
+
Perf:Cache_Misses.*[count] — Cache misses (cumulative counter).
|
| 110 |
+
|
| 111 |
+
Perf:Cache_References.*[count] — Cache reference accesses (cumulative counter).
|
| 112 |
+
|
| 113 |
+
Perf:Cycle_activity_cycles_l3_miss.*[count] — Cycles lost due to L3 cache misses (cumulative counter).
|
| 114 |
+
|
| 115 |
+
Perf:Cycle_activity_stalls_l3_miss.*[count] — Stalls caused by L3 misses (cumulative counter).
|
| 116 |
+
|
| 117 |
+
Perf:Hle_retired_aborted.*[count] — HLE (hardware lock elision) aborted transactions (cumulative counter).
|
| 118 |
+
|
| 119 |
+
Perf:Hle_retired_commit.*[count] — HLE committed transactions (cumulative counter).
|
| 120 |
+
|
| 121 |
+
Perf:Mem_trans_retired_load_latency_gt_128.*[count] — Loads with latency \>128 cycles (cumulative counter).
|
| 122 |
+
|
| 123 |
+
Perf:Mem_trans_retired_load_latency_gt_256.*[count] — Loads with latency \>256 cycles (cumulative counter).
|
| 124 |
+
|
| 125 |
+
Perf:Mem-loads.*[count] — Memory load operations (cumulative counter).
|
| 126 |
+
|
| 127 |
+
Perf:Mem-stores.*[count] — Memory store operations (cumulative counter).
|
| 128 |
+
|
| 129 |
+
### Memory snapshot / /proc/meminfo-style fields (units in kB, typically instantaneous/sample):
|
| 130 |
+
|
| 131 |
+
Memory:Active.*[kB] — Amount of active (recently used) memory. (instant)
|
| 132 |
+
|
| 133 |
+
Memory:AnonHugePages.*[kB] — Anonymous hugepages memory. (instant)
|
| 134 |
+
|
| 135 |
+
Memory:AnonPages.*[kB] — Anonymous pages (non-file-backed). (instant)
|
| 136 |
+
|
| 137 |
+
Memory:Bounce.*[kB] — Bounce buffer memory used (DMA-related). (instant)
|
| 138 |
+
|
| 139 |
+
Memory:Buffers.*[kB] — Kernel buffers. (instant)
|
| 140 |
+
|
| 141 |
+
Memory:Cached.*[kB] — File pages cached in memory. (instant)
|
| 142 |
+
|
| 143 |
+
Memory:CommitLimit.*[kB] — Commit limit for virtual memory. (instant)
|
| 144 |
+
|
| 145 |
+
Memory:Committed_AS.*[kB] — Committed virtual memory. (instant)
|
| 146 |
+
|
| 147 |
+
Memory:DirectMap1G.*[kB] — 1 GiB direct-mapped pages. (instant)
|
| 148 |
+
|
| 149 |
+
Memory:DirectMap2M.*[kB] — 2 MiB direct-mapped pages. (instant)
|
| 150 |
+
|
| 151 |
+
Memory:DirectMap4k.*[kB] — 4 KiB direct-mapped pages. (instant)
|
| 152 |
+
|
| 153 |
+
Memory:Dirty.*[kB] — Pages waiting to be written to storage. (instant)
|
| 154 |
+
|
| 155 |
+
Memory:HardwareCorrupted.*[kB] — Memory marked as hardware-corrupted. (instant)
|
| 156 |
+
|
| 157 |
+
Memory:Hugepagesize.*[kB] — Hugepage size. (instant)
|
| 158 |
+
|
| 159 |
+
Memory:Hugetlb.*[kB] — hugetlb allocations. (instant)
|
| 160 |
+
|
| 161 |
+
Memory:Inactive.*[kB] — Inactive page cache. (instant)
|
| 162 |
+
|
| 163 |
+
Memory:KReclaimable.*[kB] — Kernel reclaimable memory. (instant)
|
| 164 |
+
|
| 165 |
+
Memory:KernelStack.*[kB] — Kernel stack usage. (instant)
|
| 166 |
+
|
| 167 |
+
Memory:Mapped.*[kB] — Mapped files/devices. (instant)
|
| 168 |
+
|
| 169 |
+
Memory:MemAvailable.*[kB] — Estimated available memory. (instant)
|
| 170 |
+
|
| 171 |
+
Memory:MemFree.*[kB] — Free physical memory. (instant)
|
| 172 |
+
|
| 173 |
+
Memory:MemTotal.*[kB] — Total physical memory. (instant)
|
| 174 |
+
|
| 175 |
+
Memory:Mlocked.*[kB] — Memory locked by mlock. (instant)
|
| 176 |
+
|
| 177 |
+
Memory:NFS_Unstable.*[kB] — NFS unstable writeback memory. (instant)
|
| 178 |
+
|
| 179 |
+
Memory:PageTables.*[kB] — Memory used by page tables. (instant)
|
| 180 |
+
|
| 181 |
+
Memory:SReclaimable.*[kB] — Reclaimable slab memory. (instant)
|
| 182 |
+
|
| 183 |
+
Memory:SUnreclaim.*[kB] — Unreclaimable slab memory. (instant)
|
| 184 |
+
|
| 185 |
+
Memory:Shmem.*[kB] — Shared memory usage. (instant)
|
| 186 |
+
|
| 187 |
+
Memory:ShmemHugePages.*[kB] — Shared memory hugepages. (instant)
|
| 188 |
+
|
| 189 |
+
Memory:ShmemPmdMapped.*[kB] — PMD-mapped shared memory. (instant)
|
| 190 |
+
|
| 191 |
+
Memory:Slab.*[kB] — Kernel slab usage. (instant)
|
| 192 |
+
|
| 193 |
+
Memory:SwapCached.*[kB] — Swap cached memory. (instant)
|
| 194 |
+
|
| 195 |
+
Memory:SwapFree.*[kB] — Free swap space. (instant)
|
| 196 |
+
|
| 197 |
+
Memory:SwapTotal.*[kB] — Total swap space. (instant)
|
| 198 |
+
|
| 199 |
+
Memory:Unevictable.*[kB] — Unevictable pages. (instant)
|
| 200 |
+
|
| 201 |
+
Memory:VmallocChunk.*[kB] — Largest contiguous vmalloc chunk. (instant)
|
| 202 |
+
|
| 203 |
+
Memory:VmallocTotal.*[kB] — Total vmalloc address space. (instant)
|
| 204 |
+
|
| 205 |
+
Memory:VmallocUsed.*[kB] — Vmalloc used. (instant)
|
| 206 |
+
|
| 207 |
+
Memory:Writeback.*[kB] — Currently writing back pages. (instant)
|
| 208 |
+
|
| 209 |
+
Memory:WritebackTmp.*[kB] — Temporary writeback usage. (instant)
|
| 210 |
+
|
| 211 |
+
Memory:MemoryUtilization.*[%] — Memory utilization percent (sampled/derived).
|
| 212 |
+
|
| 213 |
+
## Storage (Storage: prefix)
|
| 214 |
+
|
| 215 |
+
Storage:reads_completed_successfully.*[count] — Number of successful read operations (cumulative counter).
|
| 216 |
+
|
| 217 |
+
Storage:reads_merged.*[count] — Number of merged read requests (cumulative counter).
|
| 218 |
+
|
| 219 |
+
Storage:sectors_read.*[sectors] — Sectors read (cumulative counter). Multiply by sector size to get bytes.
|
| 220 |
+
|
| 221 |
+
Storage:writes_completed.*[count] — Number of successful write operations (cumulative counter).
|
| 222 |
+
|
| 223 |
+
Storage:writes_merged.*[count] — Number of merged write requests (cumulative counter).
|
| 224 |
+
|
| 225 |
+
Storage:sectors_written.*[sectors] — Sectors written (cumulative counter).
|
| 226 |
+
|
| 227 |
+
Storage:discards_completed_successfully.*[count] — Successful discard (trim) operations (cumulative counter).
|
| 228 |
+
|
| 229 |
+
Storage:discards_merged.*[count] — Merged discard requests (cumulative counter).
|
| 230 |
+
|
| 231 |
+
Storage:sectors_discarded.*[sectors] — Discarded sectors (cumulative).
|
| 232 |
+
|
| 233 |
+
Storage:time_spent_reading_(ms).*[ms] — Total milliseconds spent on reads in sample window (sampled/aggregate).
|
| 234 |
+
|
| 235 |
+
Storage:time_spent_writing_(ms).*[ms] — Total milliseconds spent on writes in sample window (sampled/aggregate).
|
| 236 |
+
|
| 237 |
+
Storage:I/Os_currently_in_progress.*[count] — Current number of I/O operations in progress (instant).
|
| 238 |
+
|
| 239 |
+
Storage:time_spent_doing_I/Os_(ms).*[ms] — Total milliseconds spent doing I/Os (sampled/aggregate).
|
| 240 |
+
|
| 241 |
+
Storage:weighted_time_spent_doing_I/Os_(ms).*[ms] — Weighted I/O time metric (sampled/aggregate).
|
| 242 |
+
|
| 243 |
+
Storage:time_spent_discarding.*[ms] — Milliseconds spent processing discard operations (sampled).
|
| 244 |
+
|
| 245 |
+
## GPU (device-specific fields; device index replaced by \<n\>)
|
| 246 |
+
|
| 247 |
+
### Device-specific fields
|
| 248 |
+
|
| 249 |
+
GPU: pcie.link.gen.current.\<n\>.*[generation] — Current PCIe link generation between GPU \<n\> and host (categorical).
|
| 250 |
+
|
| 251 |
+
GPU: pcie.link.width.current.\<n\>.*[lanes] — Current PCIe link width (lanes).
|
| 252 |
+
|
| 253 |
+
GPU: accounting.buffer_size.\<n\>.*[MB] — Accounting buffer size used for GPU memory accounting (MB). (instant)
|
| 254 |
+
|
| 255 |
+
GPU: fan.speed.\<n\>.*[%] — Fan speed percent or relative metric for GPU \<n\> (sampled).
|
| 256 |
+
|
| 257 |
+
GPU: memory.used.\<n\>.*[MiB] — GPU memory used (MiB) (instant).
|
| 258 |
+
|
| 259 |
+
GPU: memory.free.\<n\>.*[MiB] — GPU memory free (MiB) (instant).
|
| 260 |
+
|
| 261 |
+
GPU: utilization.gpu.\<n\>.*[%] — GPU core utilization percent. (sampled)
|
| 262 |
+
|
| 263 |
+
GPU: utilization.memory.\<n\>.*[%] — GPU memory subsystem utilization percent. (sampled)
|
| 264 |
+
|
| 265 |
+
GPU: utilization.encoder.\<n\>.*[%] — Hardware encoder utilization. (sampled)
|
| 266 |
+
|
| 267 |
+
GPU: utilization.decoder.\<n\>.*[%] — Hardware decoder utilization. (sampled)
|
| 268 |
+
|
| 269 |
+
GPU: utilization.jpeg.\<n\>.*[%] — JPEG unit utilization. (sampled)
|
| 270 |
+
|
| 271 |
+
GPU: utilization.ofa.\<n\>.*[%] — OFA unit utilization (if present). (sampled)
|
| 272 |
+
|
| 273 |
+
GPU: encoder.stats.sessionCount.\<n\>.*[count] — Number of encoder sessions (cumulative or sampled, depending on collector).
|
| 274 |
+
|
| 275 |
+
GPU: encoder.stats.averageFps.\<n\>.*[fps] — Average encoder FPS (sampled / aggregated).
|
| 276 |
+
|
| 277 |
+
GPU: encoder.stats.averageLatency.\<n\>.*[ms] — Average encoder latency (ms) (sampled / aggregated).
|
| 278 |
+
|
| 279 |
+
### ECC / error counters
|
| 280 |
+
|
| 281 |
+
GPU: ecc.errors.corrected.volatile.*.\<n\>.*[count] — Corrected ECC errors seen in volatile window for subcomponent (cumulative in window).
|
| 282 |
+
|
| 283 |
+
GPU: ecc.errors.corrected.aggregate.*.\<n\>.*[count] — Aggregate (long-running) corrected ECC errors for subcomponent (cumulative).
|
| 284 |
+
|
| 285 |
+
GPU: ecc.errors.uncorrected.volatile.*.\<n\>.*[count] — Uncorrected ECC errors in the recent window — critical to monitor (cumulative in window).
|
| 286 |
+
|
| 287 |
+
GPU: ecc.errors.uncorrected.aggregate.*.\<n\>.*[count] — Aggregate uncorrected errors since stats origin (cumulative).
|
| 288 |
+
|
| 289 |
+
### Retired pages / reliability
|
| 290 |
+
|
| 291 |
+
GPU: retired_pages.sbe.\<n\>.*[count] — Pages retired due to single-bit errors (cumulative).
|
| 292 |
+
|
| 293 |
+
GPU: retired_pages.dbe.\<n\>.*[count] — Pages retired due to double-bit errors (cumulative; more severe).
|
| 294 |
+
|
| 295 |
+
GPU: retired_pages.pending.\<n\>.*[count] — Pages pending retirement (cumulative / state count).
|
| 296 |
+
|
| 297 |
+
### Temperature / Power / Clocks / Protected memory
|
| 298 |
+
|
| 299 |
+
GPU: temperature.gpu.\<n\>.*[C] — GPU die temperature (°C). (sampled)
|
| 300 |
+
|
| 301 |
+
GPU: temperature.memory.\<n\>.*[C] — GPU memory temperature (°C). (sampled)
|
| 302 |
+
|
| 303 |
+
GPU: power.draw.\<n\>.*[W] — GPU power draw (watts) for the sampling period (sampled).
|
| 304 |
+
|
| 305 |
+
GPU: power.draw.average.\<n\>.*[W] — Average power draw (watts). (sampled/aggregate)
|
| 306 |
+
|
| 307 |
+
GPU: power.draw.instant.\<n\>.*[W] — Instantaneous power draw reading (watts). (instant)
|
| 308 |
+
|
| 309 |
+
GPU: clocks.current.graphics.\<n\>.*[MHz] — Current graphics clock frequency (MHz). (sampled)
|
| 310 |
+
|
| 311 |
+
GPU: clocks.current.sm.\<n\>.*[MHz] — Current SM (compute) clock frequency (MHz). (sampled)
|
| 312 |
+
|
| 313 |
+
GPU: clocks.current.memory.\<n\>.*[MHz] — Current memory clock (MHz). (sampled)
|
| 314 |
+
|
| 315 |
+
GPU: clocks.current.video.\<n\>.*[MHz] — Current video engine clock (MHz). (sampled)
|
| 316 |
+
|
| 317 |
+
GPU: protected_memory.total.\<n\>.*[MiB] — Total protected memory (MiB). (instant)
|
| 318 |
+
|
| 319 |
+
GPU: protected_memory.used.\<n\>.*[MiB] — Protected memory used (MiB). (instant)
|
| 320 |
+
|
| 321 |
+
GPU: protected_memory.free.\<n\>.*[MiB] — Protected memory free (MiB). (instant)
|
| 322 |
+
|
| 323 |
+
## Network (NetworkInterStat_diff: — per-interface; \<Interface\> placeholder)
|
| 324 |
+
|
| 325 |
+
NetworkInterStat_diff:* fields are typically difference/delta values for the sample window (i.e., bytes/packets seen during the interval). Convert to rates by dividing by sampling duration if needed.
|
| 326 |
+
|
| 327 |
+
### Per-interface fields
|
| 328 |
+
|
| 329 |
+
NetworkInterStat_diff:rx_bytes.\<Interface\>.*[Bytes] — Bytes received on \<Interface\> during sample window (delta).
|
| 330 |
+
|
| 331 |
+
NetworkInterStat_diff:rx_packets.\<Interface\>.*[count] — Packets received during window (delta).
|
| 332 |
+
|
| 333 |
+
NetworkInterStat_diff:rx_errs.\<Interface\>.*[count] — Receive errors in window (delta).
|
| 334 |
+
|
| 335 |
+
NetworkInterStat_diff:rx_drop.\<Interface\>.*[count] — Received packets dropped in window (delta).
|
| 336 |
+
|
| 337 |
+
NetworkInterStat_diff:rx_fifo.\<Interface\>.*[count] — RX FIFO errors in window (delta).
|
| 338 |
+
|
| 339 |
+
NetworkInterStat_diff:rx_frame.\<Interface\>.*[count] — RX frame alignment errors in window (delta).
|
| 340 |
+
|
| 341 |
+
NetworkInterStat_diff:rx_compressed.\<Interface\>.*[count] — Compressed Rx packets in window (delta).
|
| 342 |
+
|
| 343 |
+
NetworkInterStat_diff:rx_multicast.\<Interface\>.*[count] — Multicast Rx packets in window (delta).
|
| 344 |
+
|
| 345 |
+
NetworkInterStat_diff:tx_bytes.\<Interface\>.*[Bytes] — Bytes transmitted on \<Interface\> during window (delta).
|
| 346 |
+
|
| 347 |
+
NetworkInterStat_diff:tx_packets.\<Interface\>.*[count] — Packets transmitted during window (delta).
|
| 348 |
+
|
| 349 |
+
NetworkInterStat_diff:tx_errs.\<Interface\>.*[count] — Transmit errors in window (delta).
|
| 350 |
+
|
| 351 |
+
NetworkInterStat_diff:tx_drop.\<Interface\>.*[count] — Transmit drops in window (delta).
|
| 352 |
+
|
| 353 |
+
NetworkInterStat_diff:tx_fifo.\<Interface\>.*[count] — TX FIFO errors in window (delta).
|
| 354 |
+
|
| 355 |
+
NetworkInterStat_diff:tx_colls.\<Interface\>.*[count] — TX collisions in window (delta).
|
| 356 |
+
|
| 357 |
+
NetworkInterStat_diff:tx_carrier.\<Interface\>.*[count] — Carrier errors on TX in window (delta).
|
| 358 |
+
|
| 359 |
+
NetworkInterStat_diff:tx_compressed.\<Interface\>.*[count] — Compressed Tx packets in window (delta).
|
| 360 |
+
|
| 361 |
+
### Network utilization aggregated
|
| 362 |
+
|
| 363 |
+
NetworkInterStat_diff:NetworkUtilization.\<Interface\>.*[%] — Interface bandwidth utilization percent for the sample window (sampled / derived).
|
| 364 |
+
|
| 365 |
+
### Protocol & connection counts
|
| 366 |
+
|
| 367 |
+
NetworkProtocolCounts:TCP.*[count] — Number of TCP connections (instant or sampled depending on collector).
|
| 368 |
+
|
| 369 |
+
NetworkProtocolCounts:UDP.*[count] — Number of UDP endpoints/sockets (instant).
|
| 370 |
+
|
| 371 |
+
NetworkProtocolCounts:UNIX.*[count] — Number of UNIX domain sockets (instant).
|
| 372 |
+
|
| 373 |
+
NetworkProtocolCounts:RAW.*[count] — Raw sockets count (instant).
|
| 374 |
+
|
| 375 |
+
NetworkProtocolCounts:DCCP.*[count] — DCCP sockets count (instant, if applicable).
|
| 376 |
+
|
| 377 |
+
NetworkProtocolCounts:SCTP.*[count] — SCTP connections count (instant, if applicable).
|
| 378 |
+
|
| 379 |
+
NetworkProtocolCounts:local_to.*[count] — Local-to connection count (collector-defined semantics).
|
| 380 |
+
|
| 381 |
+
NetworkProtocolCounts:to_local.*[count] — To-local connection count (collector-defined semantics).
|
| 382 |
+
|
| 383 |
+
NetworkProtocolCounts:total_connections.*[count] — Total tracked connections (instant / sampled).
|
| 384 |
+
|
| 385 |
+
### TCP retransmission metrics (delta)
|
| 386 |
+
|
| 387 |
+
NetworkTCPRetrans_diff:TcpRetransSegs.*[count] — TCP retransmitted segments in the sample window (delta).
|
| 388 |
+
|
| 389 |
+
NetworkTCPRetrans_diff:TcpExtTCPSynRetrans.*[count] — TCP SYN retransmissions in window (delta).
|
| 390 |
+
|
| 391 |
+
NetworkTCPRetrans_diff:TcpExtTCPLostRetransmit.*[count] — Retransmissions that were subsequently lost (delta).
|
README.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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telemetry
|
| 16 |
+
- anomaly-detection
|
| 17 |
+
- performance
|
| 18 |
+
pretty_name: Reveal
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# 🛰️ Dataset Card for **Reveal: Hardware Telemetry Dataset for Machine Learning Infrastructure Profiling and Anomaly Detection**
|
| 22 |
+
|
| 23 |
+
## Dataset Details
|
| 24 |
+
|
| 25 |
+
### Dataset Description
|
| 26 |
+
|
| 27 |
+
**Reveal** is a large-scale, curated dataset of **hardware telemetry** collected from high-performance computing (HPC) while running diverse machine learning (ML) workloads.
|
| 28 |
+
It enables reproducible research on **system-level profiling**, **unsupervised anomaly detection**, and **ML infrastructure optimization**.
|
| 29 |
+
|
| 30 |
+
The dataset accompanies the paper
|
| 31 |
+
📄 *“Detecting Anomalies in Systems for AI Using Hardware Telemetry”* (Chen *et al.*, University of Oxford, 2025).
|
| 32 |
+
Reveal captures low-level hardware and operating system metrics—fully accessible to operators—allowing anomaly detection **without requiring workload knowledge or instrumentation**.
|
| 33 |
+
|
| 34 |
+
- **Curated by:** Ziji Chen, Steven W. D. Chien, Peng Qian, Noa Zilberman (University of Oxford, Department of Engineering Science)
|
| 35 |
+
- **Shared by:** Ziji Chen (contact: ziji.chen@eng.ox.ac.uk)
|
| 36 |
+
- **Language(s):** English (metadata and documentation)
|
| 37 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
### Dataset Sources
|
| 42 |
+
|
| 43 |
+
- **Paper:** [Detecting Anomalies in Systems for AI Using Hardware Telemetry](https://arxiv.org/abs/2510.26008)
|
| 44 |
+
- **DOI:** [10.5281/zenodo.17470313](https://doi.org/10.5281/zenodo.17470313)
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## Uses
|
| 49 |
+
|
| 50 |
+
### Recommended Use
|
| 51 |
+
|
| 52 |
+
Reveal can be used for:
|
| 53 |
+
- Research on **unsupervised anomaly detection** in system telemetry
|
| 54 |
+
- Modeling **multivariate time-series** from hardware metrics
|
| 55 |
+
- Studying **cross-subsystem interactions** (CPU, GPU, memory, network, storage)
|
| 56 |
+
- Developing **performance-aware ML infrastructure tools**
|
| 57 |
+
- Training or benchmarking anomaly detection models for **AIOps** and **ML system health monitoring**
|
| 58 |
+
|
| 59 |
+
<!-- ### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
The dataset **should not** be used for:
|
| 62 |
+
- Inferring or reconstructing user workloads or model behavior
|
| 63 |
+
- Benchmarking end-user application performance
|
| 64 |
+
- Any use involving personal, confidential, or proprietary data reconstruction -->
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## Dataset Structure
|
| 69 |
+
|
| 70 |
+
Reveal consists of time-series telemetry, derived features, and automatically labeled anomaly segments.
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
**Core fields include:**
|
| 75 |
+
- `timestamp`: UTC time of sample
|
| 76 |
+
- `host_id`: host or node identifier
|
| 77 |
+
- `metric_name`: name of the measured counter
|
| 78 |
+
- `value`: recorded numeric value
|
| 79 |
+
- `subsystem`: {CPU, *GPU (if supported by the underlying infrastructure), Memory, Network, Storage}
|
| 80 |
+
|
| 81 |
+
**Additional Notes**
|
| 82 |
+
|
| 83 |
+
A complete list of metrics and their descriptions can be found in `MetricDescriptionCPU.md` and `MetricDescriptionGPU.md`.
|
| 84 |
+
|
| 85 |
+
After downloading and extracting the dataset zip, place the `meta.csv` file and the `example Jupyter notebooks` inside the `Reveal/` directory before running.
|
| 86 |
+
|
| 87 |
+
---
|
| 88 |
+
|
| 89 |
+
## Dataset Creation
|
| 90 |
+
|
| 91 |
+
### Curation Rationale
|
| 92 |
+
|
| 93 |
+
Modern ML workloads are complex and opaque to operators due to virtualization and containerization. Reveal was created to **enable infrastructure-level observability** and anomaly detection purely from hardware telemetry, without access to user workloads.
|
| 94 |
+
|
| 95 |
+
### Source Data
|
| 96 |
+
|
| 97 |
+
#### Data Collection and Processing
|
| 98 |
+
|
| 99 |
+
- Collected using: `perf`, `procfs`, `nvidia-smi`, and standard Linux utilities
|
| 100 |
+
- Sampling interval: 100 ms
|
| 101 |
+
- ~150 raw metric types per host, expanded to ~700 time-series channels, including metrics related to GPUs.
|
| 102 |
+
|
| 103 |
+
#### Workloads and Systems
|
| 104 |
+
|
| 105 |
+
- **Workloads:** >30 ML applications (BERT, BART, ResNet, ViT, VGG, DeepSeek, LLaMA, Mistral)
|
| 106 |
+
- **Datasets:** GLUE/SST2, WikiSQL, PASCAL VOC, CIFAR, MNIST
|
| 107 |
+
- **Systems:**
|
| 108 |
+
- Dual-node GPU HPC cluster: Two nodes, each with two NVIDIA V100 GPUs (32 GB), an Intel Xeon Platinum 8628 CPU (48 cores), 384 GB memory, connected through InfiniBand HDR100. Packaged as `Reveal.zip`.
|
| 109 |
+
- Nine-node CPU cluster: Nine servers, each running 11 Apptainer containers (four threads and 20 GB memory per container), powered by AMD EPYC 7443P CPUs. Packaged as `RevealCPURun<n>.zip`.
|
| 110 |
+
|
| 111 |
+
#### Who are the data producers?
|
| 112 |
+
|
| 113 |
+
All data was generated by the authors in controlled environments using synthetic workloads.
|
| 114 |
+
No user or private information is included.
|
| 115 |
+
|
| 116 |
+
### Annotations
|
| 117 |
+
|
| 118 |
+
#### Personal and Sensitive Information
|
| 119 |
+
No personal, identifiable, or proprietary data.
|
| 120 |
+
All records are machine telemetry and anonymized.
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## Bias, Risks, and Limitations
|
| 125 |
+
|
| 126 |
+
- Collected on specific hardware (NVIDIA/AMD CPUs, NVIDIA GPUs); behavior may differ on other architectures.
|
| 127 |
+
- Reflects **controlled test conditions**, not production cloud variability.
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
## Citation
|
| 132 |
+
|
| 133 |
+
**BibTeX:**
|
| 134 |
+
```bibtex
|
| 135 |
+
@misc{chen2025detectinganomaliesmachinelearning,
|
| 136 |
+
title={Detecting Anomalies in Machine Learning Infrastructure via Hardware Telemetry},
|
| 137 |
+
author={Ziji Chen and Steven W. D. Chien and Peng Qian and Noa Zilberman},
|
| 138 |
+
year={2025},
|
| 139 |
+
eprint={2510.26008},
|
| 140 |
+
archivePrefix={arXiv},
|
| 141 |
+
primaryClass={cs.PF},
|
| 142 |
+
url={https://arxiv.org/abs/2510.26008},
|
| 143 |
+
}
|
Reveal_CPU.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0578588f891e67c77cc4012ec66027be6cf3d116ed254f5f312a27aa9170dbc5
|
| 3 |
+
size 17071824942
|
Reveal_GPU.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1f3c5f91a276dd87e51d62b54e976ca8e74e5548b7c9de311b2855410b6ee22
|
| 3 |
+
size 4503305377
|
estimate_network_size_example.ipynb
ADDED
|
@@ -0,0 +1,934 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 4,
|
| 6 |
+
"id": "efdc584c",
|
| 7 |
+
"metadata": {},
|
| 8 |
+
"outputs": [
|
| 9 |
+
{
|
| 10 |
+
"data": {
|
| 11 |
+
"text/html": [
|
| 12 |
+
"<div>\n",
|
| 13 |
+
"<style scoped>\n",
|
| 14 |
+
" .dataframe tbody tr th:only-of-type {\n",
|
| 15 |
+
" vertical-align: middle;\n",
|
| 16 |
+
" }\n",
|
| 17 |
+
"\n",
|
| 18 |
+
" .dataframe tbody tr th {\n",
|
| 19 |
+
" vertical-align: top;\n",
|
| 20 |
+
" }\n",
|
| 21 |
+
"\n",
|
| 22 |
+
" .dataframe thead th {\n",
|
| 23 |
+
" text-align: right;\n",
|
| 24 |
+
" }\n",
|
| 25 |
+
"</style>\n",
|
| 26 |
+
"<table border=\"1\" class=\"dataframe\">\n",
|
| 27 |
+
" <thead>\n",
|
| 28 |
+
" <tr style=\"text-align: right;\">\n",
|
| 29 |
+
" <th></th>\n",
|
| 30 |
+
" <th>source_file</th>\n",
|
| 31 |
+
" <th>n_rows</th>\n",
|
| 32 |
+
" <th>n_cols</th>\n",
|
| 33 |
+
" <th>phase</th>\n",
|
| 34 |
+
" <th>mode</th>\n",
|
| 35 |
+
" <th>model</th>\n",
|
| 36 |
+
" <th>task</th>\n",
|
| 37 |
+
" <th>dataset</th>\n",
|
| 38 |
+
" <th>model_task</th>\n",
|
| 39 |
+
" <th>workload</th>\n",
|
| 40 |
+
" </tr>\n",
|
| 41 |
+
" </thead>\n",
|
| 42 |
+
" <tbody>\n",
|
| 43 |
+
" <tr>\n",
|
| 44 |
+
" <th>0</th>\n",
|
| 45 |
+
" <td>./train_separated/data_DEEPSEEKforTextClassifi...</td>\n",
|
| 46 |
+
" <td>17595</td>\n",
|
| 47 |
+
" <td>678</td>\n",
|
| 48 |
+
" <td>fine-tuning</td>\n",
|
| 49 |
+
" <td>llm</td>\n",
|
| 50 |
+
" <td>DEEPSEEK</td>\n",
|
| 51 |
+
" <td>TextClassification</td>\n",
|
| 52 |
+
" <td>default</td>\n",
|
| 53 |
+
" <td>DEEPSEEK__TextClassification</td>\n",
|
| 54 |
+
" <td>DEEPSEEK__TextClassification__default</td>\n",
|
| 55 |
+
" </tr>\n",
|
| 56 |
+
" <tr>\n",
|
| 57 |
+
" <th>1</th>\n",
|
| 58 |
+
" <td>./train_separated/data_DEEPSEEKforTextClassifi...</td>\n",
|
| 59 |
+
" <td>19203</td>\n",
|
| 60 |
+
" <td>678</td>\n",
|
| 61 |
+
" <td>fine-tuning</td>\n",
|
| 62 |
+
" <td>llm</td>\n",
|
| 63 |
+
" <td>DEEPSEEK</td>\n",
|
| 64 |
+
" <td>TextClassification</td>\n",
|
| 65 |
+
" <td>default</td>\n",
|
| 66 |
+
" <td>DEEPSEEK__TextClassification</td>\n",
|
| 67 |
+
" <td>DEEPSEEK__TextClassification__default</td>\n",
|
| 68 |
+
" </tr>\n",
|
| 69 |
+
" <tr>\n",
|
| 70 |
+
" <th>2</th>\n",
|
| 71 |
+
" <td>./train_separated/data_DEEPSEEKforTextClassifi...</td>\n",
|
| 72 |
+
" <td>18854</td>\n",
|
| 73 |
+
" <td>678</td>\n",
|
| 74 |
+
" <td>fine-tuning</td>\n",
|
| 75 |
+
" <td>llm</td>\n",
|
| 76 |
+
" <td>DEEPSEEK</td>\n",
|
| 77 |
+
" <td>TextClassification</td>\n",
|
| 78 |
+
" <td>default</td>\n",
|
| 79 |
+
" <td>DEEPSEEK__TextClassification</td>\n",
|
| 80 |
+
" <td>DEEPSEEK__TextClassification__default</td>\n",
|
| 81 |
+
" </tr>\n",
|
| 82 |
+
" <tr>\n",
|
| 83 |
+
" <th>3</th>\n",
|
| 84 |
+
" <td>./train_separated/data_DEEPSEEKforTextClassifi...</td>\n",
|
| 85 |
+
" <td>17782</td>\n",
|
| 86 |
+
" <td>678</td>\n",
|
| 87 |
+
" <td>fine-tuning</td>\n",
|
| 88 |
+
" <td>llm</td>\n",
|
| 89 |
+
" <td>DEEPSEEK</td>\n",
|
| 90 |
+
" <td>TextClassification</td>\n",
|
| 91 |
+
" <td>default</td>\n",
|
| 92 |
+
" <td>DEEPSEEK__TextClassification</td>\n",
|
| 93 |
+
" <td>DEEPSEEK__TextClassification__default</td>\n",
|
| 94 |
+
" </tr>\n",
|
| 95 |
+
" <tr>\n",
|
| 96 |
+
" <th>4</th>\n",
|
| 97 |
+
" <td>./train_separated/data_DEEPSEEKforTextClassifi...</td>\n",
|
| 98 |
+
" <td>17700</td>\n",
|
| 99 |
+
" <td>678</td>\n",
|
| 100 |
+
" <td>fine-tuning</td>\n",
|
| 101 |
+
" <td>llm</td>\n",
|
| 102 |
+
" <td>DEEPSEEK</td>\n",
|
| 103 |
+
" <td>TextClassification</td>\n",
|
| 104 |
+
" <td>default</td>\n",
|
| 105 |
+
" <td>DEEPSEEK__TextClassification</td>\n",
|
| 106 |
+
" <td>DEEPSEEK__TextClassification__default</td>\n",
|
| 107 |
+
" </tr>\n",
|
| 108 |
+
" <tr>\n",
|
| 109 |
+
" <th>...</th>\n",
|
| 110 |
+
" <td>...</td>\n",
|
| 111 |
+
" <td>...</td>\n",
|
| 112 |
+
" <td>...</td>\n",
|
| 113 |
+
" <td>...</td>\n",
|
| 114 |
+
" <td>...</td>\n",
|
| 115 |
+
" <td>...</td>\n",
|
| 116 |
+
" <td>...</td>\n",
|
| 117 |
+
" <td>...</td>\n",
|
| 118 |
+
" <td>...</td>\n",
|
| 119 |
+
" <td>...</td>\n",
|
| 120 |
+
" </tr>\n",
|
| 121 |
+
" <tr>\n",
|
| 122 |
+
" <th>675</th>\n",
|
| 123 |
+
" <td>./infer_separated/infer_ViTL16forImageSemantic...</td>\n",
|
| 124 |
+
" <td>93</td>\n",
|
| 125 |
+
" <td>678</td>\n",
|
| 126 |
+
" <td>infer</td>\n",
|
| 127 |
+
" <td>nonllm</td>\n",
|
| 128 |
+
" <td>ViTL16</td>\n",
|
| 129 |
+
" <td>ImageSemanticSegmentation</td>\n",
|
| 130 |
+
" <td>default</td>\n",
|
| 131 |
+
" <td>ViTL16__ImageSemanticSegmentation</td>\n",
|
| 132 |
+
" <td>ViTL16__ImageSemanticSegmentation__default</td>\n",
|
| 133 |
+
" </tr>\n",
|
| 134 |
+
" <tr>\n",
|
| 135 |
+
" <th>676</th>\n",
|
| 136 |
+
" <td>./infer_separated/infer_ViTL16forImageSemantic...</td>\n",
|
| 137 |
+
" <td>94</td>\n",
|
| 138 |
+
" <td>678</td>\n",
|
| 139 |
+
" <td>infer</td>\n",
|
| 140 |
+
" <td>nonllm</td>\n",
|
| 141 |
+
" <td>ViTL16</td>\n",
|
| 142 |
+
" <td>ImageSemanticSegmentation</td>\n",
|
| 143 |
+
" <td>default</td>\n",
|
| 144 |
+
" <td>ViTL16__ImageSemanticSegmentation</td>\n",
|
| 145 |
+
" <td>ViTL16__ImageSemanticSegmentation__default</td>\n",
|
| 146 |
+
" </tr>\n",
|
| 147 |
+
" <tr>\n",
|
| 148 |
+
" <th>677</th>\n",
|
| 149 |
+
" <td>./infer_separated/infer_ViTL16forImageSemantic...</td>\n",
|
| 150 |
+
" <td>106</td>\n",
|
| 151 |
+
" <td>678</td>\n",
|
| 152 |
+
" <td>infer</td>\n",
|
| 153 |
+
" <td>nonllm</td>\n",
|
| 154 |
+
" <td>ViTL16</td>\n",
|
| 155 |
+
" <td>ImageSemanticSegmentation</td>\n",
|
| 156 |
+
" <td>default</td>\n",
|
| 157 |
+
" <td>ViTL16__ImageSemanticSegmentation</td>\n",
|
| 158 |
+
" <td>ViTL16__ImageSemanticSegmentation__default</td>\n",
|
| 159 |
+
" </tr>\n",
|
| 160 |
+
" <tr>\n",
|
| 161 |
+
" <th>678</th>\n",
|
| 162 |
+
" <td>./infer_separated/infer_ViTL16forImageSemantic...</td>\n",
|
| 163 |
+
" <td>114</td>\n",
|
| 164 |
+
" <td>678</td>\n",
|
| 165 |
+
" <td>infer</td>\n",
|
| 166 |
+
" <td>nonllm</td>\n",
|
| 167 |
+
" <td>ViTL16</td>\n",
|
| 168 |
+
" <td>ImageSemanticSegmentation</td>\n",
|
| 169 |
+
" <td>default</td>\n",
|
| 170 |
+
" <td>ViTL16__ImageSemanticSegmentation</td>\n",
|
| 171 |
+
" <td>ViTL16__ImageSemanticSegmentation__default</td>\n",
|
| 172 |
+
" </tr>\n",
|
| 173 |
+
" <tr>\n",
|
| 174 |
+
" <th>679</th>\n",
|
| 175 |
+
" <td>./infer_separated/infer_ViTL16forImageSemantic...</td>\n",
|
| 176 |
+
" <td>105</td>\n",
|
| 177 |
+
" <td>678</td>\n",
|
| 178 |
+
" <td>infer</td>\n",
|
| 179 |
+
" <td>nonllm</td>\n",
|
| 180 |
+
" <td>ViTL16</td>\n",
|
| 181 |
+
" <td>ImageSemanticSegmentation</td>\n",
|
| 182 |
+
" <td>default</td>\n",
|
| 183 |
+
" <td>ViTL16__ImageSemanticSegmentation</td>\n",
|
| 184 |
+
" <td>ViTL16__ImageSemanticSegmentation__default</td>\n",
|
| 185 |
+
" </tr>\n",
|
| 186 |
+
" </tbody>\n",
|
| 187 |
+
"</table>\n",
|
| 188 |
+
"<p>680 rows × 10 columns</p>\n",
|
| 189 |
+
"</div>"
|
| 190 |
+
],
|
| 191 |
+
"text/plain": [
|
| 192 |
+
" source_file n_rows n_cols \\\n",
|
| 193 |
+
"0 ./train_separated/data_DEEPSEEKforTextClassifi... 17595 678 \n",
|
| 194 |
+
"1 ./train_separated/data_DEEPSEEKforTextClassifi... 19203 678 \n",
|
| 195 |
+
"2 ./train_separated/data_DEEPSEEKforTextClassifi... 18854 678 \n",
|
| 196 |
+
"3 ./train_separated/data_DEEPSEEKforTextClassifi... 17782 678 \n",
|
| 197 |
+
"4 ./train_separated/data_DEEPSEEKforTextClassifi... 17700 678 \n",
|
| 198 |
+
".. ... ... ... \n",
|
| 199 |
+
"675 ./infer_separated/infer_ViTL16forImageSemantic... 93 678 \n",
|
| 200 |
+
"676 ./infer_separated/infer_ViTL16forImageSemantic... 94 678 \n",
|
| 201 |
+
"677 ./infer_separated/infer_ViTL16forImageSemantic... 106 678 \n",
|
| 202 |
+
"678 ./infer_separated/infer_ViTL16forImageSemantic... 114 678 \n",
|
| 203 |
+
"679 ./infer_separated/infer_ViTL16forImageSemantic... 105 678 \n",
|
| 204 |
+
"\n",
|
| 205 |
+
" phase mode model task dataset \\\n",
|
| 206 |
+
"0 fine-tuning llm DEEPSEEK TextClassification default \n",
|
| 207 |
+
"1 fine-tuning llm DEEPSEEK TextClassification default \n",
|
| 208 |
+
"2 fine-tuning llm DEEPSEEK TextClassification default \n",
|
| 209 |
+
"3 fine-tuning llm DEEPSEEK TextClassification default \n",
|
| 210 |
+
"4 fine-tuning llm DEEPSEEK TextClassification default \n",
|
| 211 |
+
".. ... ... ... ... ... \n",
|
| 212 |
+
"675 infer nonllm ViTL16 ImageSemanticSegmentation default \n",
|
| 213 |
+
"676 infer nonllm ViTL16 ImageSemanticSegmentation default \n",
|
| 214 |
+
"677 infer nonllm ViTL16 ImageSemanticSegmentation default \n",
|
| 215 |
+
"678 infer nonllm ViTL16 ImageSemanticSegmentation default \n",
|
| 216 |
+
"679 infer nonllm ViTL16 ImageSemanticSegmentation default \n",
|
| 217 |
+
"\n",
|
| 218 |
+
" model_task \\\n",
|
| 219 |
+
"0 DEEPSEEK__TextClassification \n",
|
| 220 |
+
"1 DEEPSEEK__TextClassification \n",
|
| 221 |
+
"2 DEEPSEEK__TextClassification \n",
|
| 222 |
+
"3 DEEPSEEK__TextClassification \n",
|
| 223 |
+
"4 DEEPSEEK__TextClassification \n",
|
| 224 |
+
".. ... \n",
|
| 225 |
+
"675 ViTL16__ImageSemanticSegmentation \n",
|
| 226 |
+
"676 ViTL16__ImageSemanticSegmentation \n",
|
| 227 |
+
"677 ViTL16__ImageSemanticSegmentation \n",
|
| 228 |
+
"678 ViTL16__ImageSemanticSegmentation \n",
|
| 229 |
+
"679 ViTL16__ImageSemanticSegmentation \n",
|
| 230 |
+
"\n",
|
| 231 |
+
" workload \n",
|
| 232 |
+
"0 DEEPSEEK__TextClassification__default \n",
|
| 233 |
+
"1 DEEPSEEK__TextClassification__default \n",
|
| 234 |
+
"2 DEEPSEEK__TextClassification__default \n",
|
| 235 |
+
"3 DEEPSEEK__TextClassification__default \n",
|
| 236 |
+
"4 DEEPSEEK__TextClassification__default \n",
|
| 237 |
+
".. ... \n",
|
| 238 |
+
"675 ViTL16__ImageSemanticSegmentation__default \n",
|
| 239 |
+
"676 ViTL16__ImageSemanticSegmentation__default \n",
|
| 240 |
+
"677 ViTL16__ImageSemanticSegmentation__default \n",
|
| 241 |
+
"678 ViTL16__ImageSemanticSegmentation__default \n",
|
| 242 |
+
"679 ViTL16__ImageSemanticSegmentation__default \n",
|
| 243 |
+
"\n",
|
| 244 |
+
"[680 rows x 10 columns]"
|
| 245 |
+
]
|
| 246 |
+
},
|
| 247 |
+
"execution_count": 4,
|
| 248 |
+
"metadata": {},
|
| 249 |
+
"output_type": "execute_result"
|
| 250 |
+
}
|
| 251 |
+
],
|
| 252 |
+
"source": [
|
| 253 |
+
"import pandas as pd\n",
|
| 254 |
+
"\n",
|
| 255 |
+
"df = pd.read_csv('meta.csv')\n",
|
| 256 |
+
"\n",
|
| 257 |
+
"df"
|
| 258 |
+
]
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"cell_type": "code",
|
| 262 |
+
"execution_count": 7,
|
| 263 |
+
"id": "2d875356",
|
| 264 |
+
"metadata": {},
|
| 265 |
+
"outputs": [],
|
| 266 |
+
"source": [
|
| 267 |
+
"import re\n",
|
| 268 |
+
"import pandas as pd\n",
|
| 269 |
+
"\n",
|
| 270 |
+
"# ==== Network-size-related Metrics Description Text ====\n",
|
| 271 |
+
"network_size_text = \"\"\"\n",
|
| 272 |
+
"NetworkInterStat_diff:rx_bytes.*.*[Bytes] — Bytes received on <Interface> during sample window (delta).\n",
|
| 273 |
+
"NetworkInterStat_diff:rx_packets.*.*[count] — Packets received during window (delta).\n",
|
| 274 |
+
"NetworkInterStat_diff:tx_bytes.*.*[Bytes] — Bytes transmitted on <Interface> during window (delta).\n",
|
| 275 |
+
"NetworkInterStat_diff:tx_packets.*.*[count] — Packets transmitted during window (delta).\n",
|
| 276 |
+
"\"\"\"\n",
|
| 277 |
+
"\n",
|
| 278 |
+
"# ==== Extract Metrics and Descriptions ====\n",
|
| 279 |
+
"network_size_metrics = re.findall(r\"^([A-Za-z0-9_:.*\\[\\]]+)\\s+—\\s+(.*)$\", network_size_text, flags=re.M)\n",
|
| 280 |
+
"df_metrics = pd.DataFrame(network_size_metrics, columns=[\"metric_pattern\", \"description\"])\n"
|
| 281 |
+
]
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"cell_type": "code",
|
| 285 |
+
"execution_count": 9,
|
| 286 |
+
"id": "0a1046bd",
|
| 287 |
+
"metadata": {},
|
| 288 |
+
"outputs": [
|
| 289 |
+
{
|
| 290 |
+
"name": "stdout",
|
| 291 |
+
"output_type": "stream",
|
| 292 |
+
"text": [
|
| 293 |
+
"Reading: ./infer_separated/data_DEEPSEEKforInference_default_2025-04-26T09-41-59_htc-g003.txt\n",
|
| 294 |
+
"Matched 8 columns:\n",
|
| 295 |
+
"['NetworkInterStat_diff:rx_bytes.ens1f0.htc-g003[Bytes]', 'NetworkInterStat_diff:rx_bytes.ib0.htc-g003[Bytes]', 'NetworkInterStat_diff:rx_packets.ens1f0.htc-g003[count]', 'NetworkInterStat_diff:rx_packets.ib0.htc-g003[count]', 'NetworkInterStat_diff:tx_bytes.ens1f0.htc-g003[Bytes]', 'NetworkInterStat_diff:tx_bytes.ib0.htc-g003[Bytes]', 'NetworkInterStat_diff:tx_packets.ens1f0.htc-g003[count]', 'NetworkInterStat_diff:tx_packets.ib0.htc-g003[count]']\n"
|
| 296 |
+
]
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"data": {
|
| 300 |
+
"text/html": [
|
| 301 |
+
"<div>\n",
|
| 302 |
+
"<style scoped>\n",
|
| 303 |
+
" .dataframe tbody tr th:only-of-type {\n",
|
| 304 |
+
" vertical-align: middle;\n",
|
| 305 |
+
" }\n",
|
| 306 |
+
"\n",
|
| 307 |
+
" .dataframe tbody tr th {\n",
|
| 308 |
+
" vertical-align: top;\n",
|
| 309 |
+
" }\n",
|
| 310 |
+
"\n",
|
| 311 |
+
" .dataframe thead th {\n",
|
| 312 |
+
" text-align: right;\n",
|
| 313 |
+
" }\n",
|
| 314 |
+
"</style>\n",
|
| 315 |
+
"<table border=\"1\" class=\"dataframe\">\n",
|
| 316 |
+
" <thead>\n",
|
| 317 |
+
" <tr style=\"text-align: right;\">\n",
|
| 318 |
+
" <th></th>\n",
|
| 319 |
+
" <th>NetworkInterStat_diff:rx_bytes.ens1f0.htc-g003[Bytes]</th>\n",
|
| 320 |
+
" <th>NetworkInterStat_diff:rx_bytes.ib0.htc-g003[Bytes]</th>\n",
|
| 321 |
+
" <th>NetworkInterStat_diff:rx_packets.ens1f0.htc-g003[count]</th>\n",
|
| 322 |
+
" <th>NetworkInterStat_diff:rx_packets.ib0.htc-g003[count]</th>\n",
|
| 323 |
+
" <th>NetworkInterStat_diff:tx_bytes.ens1f0.htc-g003[Bytes]</th>\n",
|
| 324 |
+
" <th>NetworkInterStat_diff:tx_bytes.ib0.htc-g003[Bytes]</th>\n",
|
| 325 |
+
" <th>NetworkInterStat_diff:tx_packets.ens1f0.htc-g003[count]</th>\n",
|
| 326 |
+
" <th>NetworkInterStat_diff:tx_packets.ib0.htc-g003[count]</th>\n",
|
| 327 |
+
" </tr>\n",
|
| 328 |
+
" </thead>\n",
|
| 329 |
+
" <tbody>\n",
|
| 330 |
+
" <tr>\n",
|
| 331 |
+
" <th>0</th>\n",
|
| 332 |
+
" <td>21504048.0</td>\n",
|
| 333 |
+
" <td>5662.0</td>\n",
|
| 334 |
+
" <td>14657.00</td>\n",
|
| 335 |
+
" <td>23.0</td>\n",
|
| 336 |
+
" <td>267176.0</td>\n",
|
| 337 |
+
" <td>6536.0</td>\n",
|
| 338 |
+
" <td>1562.0</td>\n",
|
| 339 |
+
" <td>16.00</td>\n",
|
| 340 |
+
" </tr>\n",
|
| 341 |
+
" <tr>\n",
|
| 342 |
+
" <th>1</th>\n",
|
| 343 |
+
" <td>31028162.0</td>\n",
|
| 344 |
+
" <td>4602.5</td>\n",
|
| 345 |
+
" <td>20905.75</td>\n",
|
| 346 |
+
" <td>19.5</td>\n",
|
| 347 |
+
" <td>305426.0</td>\n",
|
| 348 |
+
" <td>16161.0</td>\n",
|
| 349 |
+
" <td>1954.0</td>\n",
|
| 350 |
+
" <td>15.25</td>\n",
|
| 351 |
+
" </tr>\n",
|
| 352 |
+
" <tr>\n",
|
| 353 |
+
" <th>2</th>\n",
|
| 354 |
+
" <td>40552276.0</td>\n",
|
| 355 |
+
" <td>3543.0</td>\n",
|
| 356 |
+
" <td>27154.50</td>\n",
|
| 357 |
+
" <td>16.0</td>\n",
|
| 358 |
+
" <td>343676.0</td>\n",
|
| 359 |
+
" <td>25786.0</td>\n",
|
| 360 |
+
" <td>2346.0</td>\n",
|
| 361 |
+
" <td>14.50</td>\n",
|
| 362 |
+
" </tr>\n",
|
| 363 |
+
" <tr>\n",
|
| 364 |
+
" <th>3</th>\n",
|
| 365 |
+
" <td>50076390.0</td>\n",
|
| 366 |
+
" <td>2483.5</td>\n",
|
| 367 |
+
" <td>33403.25</td>\n",
|
| 368 |
+
" <td>12.5</td>\n",
|
| 369 |
+
" <td>381926.0</td>\n",
|
| 370 |
+
" <td>35411.0</td>\n",
|
| 371 |
+
" <td>2738.0</td>\n",
|
| 372 |
+
" <td>13.75</td>\n",
|
| 373 |
+
" </tr>\n",
|
| 374 |
+
" <tr>\n",
|
| 375 |
+
" <th>4</th>\n",
|
| 376 |
+
" <td>59600504.0</td>\n",
|
| 377 |
+
" <td>1424.0</td>\n",
|
| 378 |
+
" <td>39652.00</td>\n",
|
| 379 |
+
" <td>9.0</td>\n",
|
| 380 |
+
" <td>420176.0</td>\n",
|
| 381 |
+
" <td>45036.0</td>\n",
|
| 382 |
+
" <td>3130.0</td>\n",
|
| 383 |
+
" <td>13.00</td>\n",
|
| 384 |
+
" </tr>\n",
|
| 385 |
+
" </tbody>\n",
|
| 386 |
+
"</table>\n",
|
| 387 |
+
"</div>"
|
| 388 |
+
],
|
| 389 |
+
"text/plain": [
|
| 390 |
+
" NetworkInterStat_diff:rx_bytes.ens1f0.htc-g003[Bytes] \\\n",
|
| 391 |
+
"0 21504048.0 \n",
|
| 392 |
+
"1 31028162.0 \n",
|
| 393 |
+
"2 40552276.0 \n",
|
| 394 |
+
"3 50076390.0 \n",
|
| 395 |
+
"4 59600504.0 \n",
|
| 396 |
+
"\n",
|
| 397 |
+
" NetworkInterStat_diff:rx_bytes.ib0.htc-g003[Bytes] \\\n",
|
| 398 |
+
"0 5662.0 \n",
|
| 399 |
+
"1 4602.5 \n",
|
| 400 |
+
"2 3543.0 \n",
|
| 401 |
+
"3 2483.5 \n",
|
| 402 |
+
"4 1424.0 \n",
|
| 403 |
+
"\n",
|
| 404 |
+
" NetworkInterStat_diff:rx_packets.ens1f0.htc-g003[count] \\\n",
|
| 405 |
+
"0 14657.00 \n",
|
| 406 |
+
"1 20905.75 \n",
|
| 407 |
+
"2 27154.50 \n",
|
| 408 |
+
"3 33403.25 \n",
|
| 409 |
+
"4 39652.00 \n",
|
| 410 |
+
"\n",
|
| 411 |
+
" NetworkInterStat_diff:rx_packets.ib0.htc-g003[count] \\\n",
|
| 412 |
+
"0 23.0 \n",
|
| 413 |
+
"1 19.5 \n",
|
| 414 |
+
"2 16.0 \n",
|
| 415 |
+
"3 12.5 \n",
|
| 416 |
+
"4 9.0 \n",
|
| 417 |
+
"\n",
|
| 418 |
+
" NetworkInterStat_diff:tx_bytes.ens1f0.htc-g003[Bytes] \\\n",
|
| 419 |
+
"0 267176.0 \n",
|
| 420 |
+
"1 305426.0 \n",
|
| 421 |
+
"2 343676.0 \n",
|
| 422 |
+
"3 381926.0 \n",
|
| 423 |
+
"4 420176.0 \n",
|
| 424 |
+
"\n",
|
| 425 |
+
" NetworkInterStat_diff:tx_bytes.ib0.htc-g003[Bytes] \\\n",
|
| 426 |
+
"0 6536.0 \n",
|
| 427 |
+
"1 16161.0 \n",
|
| 428 |
+
"2 25786.0 \n",
|
| 429 |
+
"3 35411.0 \n",
|
| 430 |
+
"4 45036.0 \n",
|
| 431 |
+
"\n",
|
| 432 |
+
" NetworkInterStat_diff:tx_packets.ens1f0.htc-g003[count] \\\n",
|
| 433 |
+
"0 1562.0 \n",
|
| 434 |
+
"1 1954.0 \n",
|
| 435 |
+
"2 2346.0 \n",
|
| 436 |
+
"3 2738.0 \n",
|
| 437 |
+
"4 3130.0 \n",
|
| 438 |
+
"\n",
|
| 439 |
+
" NetworkInterStat_diff:tx_packets.ib0.htc-g003[count] \n",
|
| 440 |
+
"0 16.00 \n",
|
| 441 |
+
"1 15.25 \n",
|
| 442 |
+
"2 14.50 \n",
|
| 443 |
+
"3 13.75 \n",
|
| 444 |
+
"4 13.00 "
|
| 445 |
+
]
|
| 446 |
+
},
|
| 447 |
+
"metadata": {},
|
| 448 |
+
"output_type": "display_data"
|
| 449 |
+
}
|
| 450 |
+
],
|
| 451 |
+
"source": [
|
| 452 |
+
"# ==== Only focus on 'llm' mode and 'infer' phase ====\n",
|
| 453 |
+
"for file in df[(df['mode'] == 'llm') & (df['phase'] == 'infer')]['source_file'].tolist():\n",
|
| 454 |
+
" print(f\"Reading: {file}\")\n",
|
| 455 |
+
" data = pd.read_csv(file, sep='\\t', header=0)\n",
|
| 456 |
+
"\n",
|
| 457 |
+
" # ==== Find matching columns based on the memory patterns ====\n",
|
| 458 |
+
" matched_cols = []\n",
|
| 459 |
+
" for pattern in df_metrics[\"metric_pattern\"]:\n",
|
| 460 |
+
" # Replace .* in the regular expression with the actual regular expression matching pattern\n",
|
| 461 |
+
" regex = pattern.replace(\".*\", \".*\")\n",
|
| 462 |
+
" matched = [col for col in data.columns if re.match(regex, col)]\n",
|
| 463 |
+
" matched_cols.extend(matched)\n",
|
| 464 |
+
"\n",
|
| 465 |
+
" # Deduplication and sorting\n",
|
| 466 |
+
" matched_cols = list(sorted(set(matched_cols)))\n",
|
| 467 |
+
"\n",
|
| 468 |
+
" print(f\"Matched {len(matched_cols)} columns:\")\n",
|
| 469 |
+
" print(matched_cols)\n",
|
| 470 |
+
"\n",
|
| 471 |
+
" # ==== Extract data from these columns ====\n",
|
| 472 |
+
" data_selected = data[matched_cols]\n",
|
| 473 |
+
"\n",
|
| 474 |
+
" # ==== Optional: Merge description information (matching by regular expression pattern) ====\n",
|
| 475 |
+
" # Create a mapping for metric_name -> description (using the first matching rule)\n",
|
| 476 |
+
" desc_map = {}\n",
|
| 477 |
+
" for _, row in df_metrics.iterrows():\n",
|
| 478 |
+
" regex = row['metric_pattern'].replace(\".*\", \".*\")\n",
|
| 479 |
+
" for col in matched_cols:\n",
|
| 480 |
+
" if re.match(regex, col):\n",
|
| 481 |
+
" desc_map[col] = row['description']\n",
|
| 482 |
+
"\n",
|
| 483 |
+
" desc_df = pd.DataFrame(list(desc_map.items()), columns=[\"metric_name\", \"description\"])\n",
|
| 484 |
+
"\n",
|
| 485 |
+
" # display(desc_df.head())\n",
|
| 486 |
+
" display(data_selected.head())\n",
|
| 487 |
+
"\n",
|
| 488 |
+
" break"
|
| 489 |
+
]
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"cell_type": "code",
|
| 493 |
+
"execution_count": 10,
|
| 494 |
+
"id": "f92fd087",
|
| 495 |
+
"metadata": {},
|
| 496 |
+
"outputs": [
|
| 497 |
+
{
|
| 498 |
+
"data": {
|
| 499 |
+
"text/html": [
|
| 500 |
+
"<div>\n",
|
| 501 |
+
"<style scoped>\n",
|
| 502 |
+
" .dataframe tbody tr th:only-of-type {\n",
|
| 503 |
+
" vertical-align: middle;\n",
|
| 504 |
+
" }\n",
|
| 505 |
+
"\n",
|
| 506 |
+
" .dataframe tbody tr th {\n",
|
| 507 |
+
" vertical-align: top;\n",
|
| 508 |
+
" }\n",
|
| 509 |
+
"\n",
|
| 510 |
+
" .dataframe thead th {\n",
|
| 511 |
+
" text-align: right;\n",
|
| 512 |
+
" }\n",
|
| 513 |
+
"</style>\n",
|
| 514 |
+
"<table border=\"1\" class=\"dataframe\">\n",
|
| 515 |
+
" <thead>\n",
|
| 516 |
+
" <tr style=\"text-align: right;\">\n",
|
| 517 |
+
" <th></th>\n",
|
| 518 |
+
" <th>NetworkInterStat_diff:rx_bytes.ens1f0.htc-g003[Bytes]</th>\n",
|
| 519 |
+
" <th>NetworkInterStat_diff:rx_bytes.ib0.htc-g003[Bytes]</th>\n",
|
| 520 |
+
" <th>NetworkInterStat_diff:rx_packets.ens1f0.htc-g003[count]</th>\n",
|
| 521 |
+
" <th>NetworkInterStat_diff:rx_packets.ib0.htc-g003[count]</th>\n",
|
| 522 |
+
" <th>NetworkInterStat_diff:tx_bytes.ens1f0.htc-g003[Bytes]</th>\n",
|
| 523 |
+
" <th>NetworkInterStat_diff:tx_bytes.ib0.htc-g003[Bytes]</th>\n",
|
| 524 |
+
" <th>NetworkInterStat_diff:tx_packets.ens1f0.htc-g003[count]</th>\n",
|
| 525 |
+
" <th>NetworkInterStat_diff:tx_packets.ib0.htc-g003[count]</th>\n",
|
| 526 |
+
" </tr>\n",
|
| 527 |
+
" </thead>\n",
|
| 528 |
+
" <tbody>\n",
|
| 529 |
+
" <tr>\n",
|
| 530 |
+
" <th>0</th>\n",
|
| 531 |
+
" <td>21504048.0</td>\n",
|
| 532 |
+
" <td>5662.0</td>\n",
|
| 533 |
+
" <td>14657.00</td>\n",
|
| 534 |
+
" <td>23.0</td>\n",
|
| 535 |
+
" <td>267176.0</td>\n",
|
| 536 |
+
" <td>6536.0</td>\n",
|
| 537 |
+
" <td>1562.0</td>\n",
|
| 538 |
+
" <td>16.00</td>\n",
|
| 539 |
+
" </tr>\n",
|
| 540 |
+
" <tr>\n",
|
| 541 |
+
" <th>1</th>\n",
|
| 542 |
+
" <td>31028162.0</td>\n",
|
| 543 |
+
" <td>4602.5</td>\n",
|
| 544 |
+
" <td>20905.75</td>\n",
|
| 545 |
+
" <td>19.5</td>\n",
|
| 546 |
+
" <td>305426.0</td>\n",
|
| 547 |
+
" <td>16161.0</td>\n",
|
| 548 |
+
" <td>1954.0</td>\n",
|
| 549 |
+
" <td>15.25</td>\n",
|
| 550 |
+
" </tr>\n",
|
| 551 |
+
" <tr>\n",
|
| 552 |
+
" <th>2</th>\n",
|
| 553 |
+
" <td>40552276.0</td>\n",
|
| 554 |
+
" <td>3543.0</td>\n",
|
| 555 |
+
" <td>27154.50</td>\n",
|
| 556 |
+
" <td>16.0</td>\n",
|
| 557 |
+
" <td>343676.0</td>\n",
|
| 558 |
+
" <td>25786.0</td>\n",
|
| 559 |
+
" <td>2346.0</td>\n",
|
| 560 |
+
" <td>14.50</td>\n",
|
| 561 |
+
" </tr>\n",
|
| 562 |
+
" <tr>\n",
|
| 563 |
+
" <th>3</th>\n",
|
| 564 |
+
" <td>50076390.0</td>\n",
|
| 565 |
+
" <td>2483.5</td>\n",
|
| 566 |
+
" <td>33403.25</td>\n",
|
| 567 |
+
" <td>12.5</td>\n",
|
| 568 |
+
" <td>381926.0</td>\n",
|
| 569 |
+
" <td>35411.0</td>\n",
|
| 570 |
+
" <td>2738.0</td>\n",
|
| 571 |
+
" <td>13.75</td>\n",
|
| 572 |
+
" </tr>\n",
|
| 573 |
+
" <tr>\n",
|
| 574 |
+
" <th>4</th>\n",
|
| 575 |
+
" <td>59600504.0</td>\n",
|
| 576 |
+
" <td>1424.0</td>\n",
|
| 577 |
+
" <td>39652.00</td>\n",
|
| 578 |
+
" <td>9.0</td>\n",
|
| 579 |
+
" <td>420176.0</td>\n",
|
| 580 |
+
" <td>45036.0</td>\n",
|
| 581 |
+
" <td>3130.0</td>\n",
|
| 582 |
+
" <td>13.00</td>\n",
|
| 583 |
+
" </tr>\n",
|
| 584 |
+
" <tr>\n",
|
| 585 |
+
" <th>...</th>\n",
|
| 586 |
+
" <td>...</td>\n",
|
| 587 |
+
" <td>...</td>\n",
|
| 588 |
+
" <td>...</td>\n",
|
| 589 |
+
" <td>...</td>\n",
|
| 590 |
+
" <td>...</td>\n",
|
| 591 |
+
" <td>...</td>\n",
|
| 592 |
+
" <td>...</td>\n",
|
| 593 |
+
" <td>...</td>\n",
|
| 594 |
+
" </tr>\n",
|
| 595 |
+
" <tr>\n",
|
| 596 |
+
" <th>938</th>\n",
|
| 597 |
+
" <td>13003982.0</td>\n",
|
| 598 |
+
" <td>13888.0</td>\n",
|
| 599 |
+
" <td>8675.00</td>\n",
|
| 600 |
+
" <td>40.0</td>\n",
|
| 601 |
+
" <td>178826.0</td>\n",
|
| 602 |
+
" <td>58460.0</td>\n",
|
| 603 |
+
" <td>925.0</td>\n",
|
| 604 |
+
" <td>38.00</td>\n",
|
| 605 |
+
" </tr>\n",
|
| 606 |
+
" <tr>\n",
|
| 607 |
+
" <th>939</th>\n",
|
| 608 |
+
" <td>6512100.0</td>\n",
|
| 609 |
+
" <td>7336.0</td>\n",
|
| 610 |
+
" <td>4385.50</td>\n",
|
| 611 |
+
" <td>22.0</td>\n",
|
| 612 |
+
" <td>120400.5</td>\n",
|
| 613 |
+
" <td>29952.0</td>\n",
|
| 614 |
+
" <td>512.5</td>\n",
|
| 615 |
+
" <td>20.50</td>\n",
|
| 616 |
+
" </tr>\n",
|
| 617 |
+
" <tr>\n",
|
| 618 |
+
" <th>940</th>\n",
|
| 619 |
+
" <td>20218.0</td>\n",
|
| 620 |
+
" <td>784.0</td>\n",
|
| 621 |
+
" <td>96.00</td>\n",
|
| 622 |
+
" <td>4.0</td>\n",
|
| 623 |
+
" <td>61975.0</td>\n",
|
| 624 |
+
" <td>1444.0</td>\n",
|
| 625 |
+
" <td>100.0</td>\n",
|
| 626 |
+
" <td>3.00</td>\n",
|
| 627 |
+
" </tr>\n",
|
| 628 |
+
" <tr>\n",
|
| 629 |
+
" <th>941</th>\n",
|
| 630 |
+
" <td>20210.0</td>\n",
|
| 631 |
+
" <td>2831.0</td>\n",
|
| 632 |
+
" <td>90.50</td>\n",
|
| 633 |
+
" <td>11.5</td>\n",
|
| 634 |
+
" <td>71827.5</td>\n",
|
| 635 |
+
" <td>3268.0</td>\n",
|
| 636 |
+
" <td>101.0</td>\n",
|
| 637 |
+
" <td>8.00</td>\n",
|
| 638 |
+
" </tr>\n",
|
| 639 |
+
" <tr>\n",
|
| 640 |
+
" <th>942</th>\n",
|
| 641 |
+
" <td>20202.0</td>\n",
|
| 642 |
+
" <td>4878.0</td>\n",
|
| 643 |
+
" <td>85.00</td>\n",
|
| 644 |
+
" <td>19.0</td>\n",
|
| 645 |
+
" <td>81680.0</td>\n",
|
| 646 |
+
" <td>5092.0</td>\n",
|
| 647 |
+
" <td>102.0</td>\n",
|
| 648 |
+
" <td>13.00</td>\n",
|
| 649 |
+
" </tr>\n",
|
| 650 |
+
" </tbody>\n",
|
| 651 |
+
"</table>\n",
|
| 652 |
+
"<p>943 rows × 8 columns</p>\n",
|
| 653 |
+
"</div>"
|
| 654 |
+
],
|
| 655 |
+
"text/plain": [
|
| 656 |
+
" NetworkInterStat_diff:rx_bytes.ens1f0.htc-g003[Bytes] \\\n",
|
| 657 |
+
"0 21504048.0 \n",
|
| 658 |
+
"1 31028162.0 \n",
|
| 659 |
+
"2 40552276.0 \n",
|
| 660 |
+
"3 50076390.0 \n",
|
| 661 |
+
"4 59600504.0 \n",
|
| 662 |
+
".. ... \n",
|
| 663 |
+
"938 13003982.0 \n",
|
| 664 |
+
"939 6512100.0 \n",
|
| 665 |
+
"940 20218.0 \n",
|
| 666 |
+
"941 20210.0 \n",
|
| 667 |
+
"942 20202.0 \n",
|
| 668 |
+
"\n",
|
| 669 |
+
" NetworkInterStat_diff:rx_bytes.ib0.htc-g003[Bytes] \\\n",
|
| 670 |
+
"0 5662.0 \n",
|
| 671 |
+
"1 4602.5 \n",
|
| 672 |
+
"2 3543.0 \n",
|
| 673 |
+
"3 2483.5 \n",
|
| 674 |
+
"4 1424.0 \n",
|
| 675 |
+
".. ... \n",
|
| 676 |
+
"938 13888.0 \n",
|
| 677 |
+
"939 7336.0 \n",
|
| 678 |
+
"940 784.0 \n",
|
| 679 |
+
"941 2831.0 \n",
|
| 680 |
+
"942 4878.0 \n",
|
| 681 |
+
"\n",
|
| 682 |
+
" NetworkInterStat_diff:rx_packets.ens1f0.htc-g003[count] \\\n",
|
| 683 |
+
"0 14657.00 \n",
|
| 684 |
+
"1 20905.75 \n",
|
| 685 |
+
"2 27154.50 \n",
|
| 686 |
+
"3 33403.25 \n",
|
| 687 |
+
"4 39652.00 \n",
|
| 688 |
+
".. ... \n",
|
| 689 |
+
"938 8675.00 \n",
|
| 690 |
+
"939 4385.50 \n",
|
| 691 |
+
"940 96.00 \n",
|
| 692 |
+
"941 90.50 \n",
|
| 693 |
+
"942 85.00 \n",
|
| 694 |
+
"\n",
|
| 695 |
+
" NetworkInterStat_diff:rx_packets.ib0.htc-g003[count] \\\n",
|
| 696 |
+
"0 23.0 \n",
|
| 697 |
+
"1 19.5 \n",
|
| 698 |
+
"2 16.0 \n",
|
| 699 |
+
"3 12.5 \n",
|
| 700 |
+
"4 9.0 \n",
|
| 701 |
+
".. ... \n",
|
| 702 |
+
"938 40.0 \n",
|
| 703 |
+
"939 22.0 \n",
|
| 704 |
+
"940 4.0 \n",
|
| 705 |
+
"941 11.5 \n",
|
| 706 |
+
"942 19.0 \n",
|
| 707 |
+
"\n",
|
| 708 |
+
" NetworkInterStat_diff:tx_bytes.ens1f0.htc-g003[Bytes] \\\n",
|
| 709 |
+
"0 267176.0 \n",
|
| 710 |
+
"1 305426.0 \n",
|
| 711 |
+
"2 343676.0 \n",
|
| 712 |
+
"3 381926.0 \n",
|
| 713 |
+
"4 420176.0 \n",
|
| 714 |
+
".. ... \n",
|
| 715 |
+
"938 178826.0 \n",
|
| 716 |
+
"939 120400.5 \n",
|
| 717 |
+
"940 61975.0 \n",
|
| 718 |
+
"941 71827.5 \n",
|
| 719 |
+
"942 81680.0 \n",
|
| 720 |
+
"\n",
|
| 721 |
+
" NetworkInterStat_diff:tx_bytes.ib0.htc-g003[Bytes] \\\n",
|
| 722 |
+
"0 6536.0 \n",
|
| 723 |
+
"1 16161.0 \n",
|
| 724 |
+
"2 25786.0 \n",
|
| 725 |
+
"3 35411.0 \n",
|
| 726 |
+
"4 45036.0 \n",
|
| 727 |
+
".. ... \n",
|
| 728 |
+
"938 58460.0 \n",
|
| 729 |
+
"939 29952.0 \n",
|
| 730 |
+
"940 1444.0 \n",
|
| 731 |
+
"941 3268.0 \n",
|
| 732 |
+
"942 5092.0 \n",
|
| 733 |
+
"\n",
|
| 734 |
+
" NetworkInterStat_diff:tx_packets.ens1f0.htc-g003[count] \\\n",
|
| 735 |
+
"0 1562.0 \n",
|
| 736 |
+
"1 1954.0 \n",
|
| 737 |
+
"2 2346.0 \n",
|
| 738 |
+
"3 2738.0 \n",
|
| 739 |
+
"4 3130.0 \n",
|
| 740 |
+
".. ... \n",
|
| 741 |
+
"938 925.0 \n",
|
| 742 |
+
"939 512.5 \n",
|
| 743 |
+
"940 100.0 \n",
|
| 744 |
+
"941 101.0 \n",
|
| 745 |
+
"942 102.0 \n",
|
| 746 |
+
"\n",
|
| 747 |
+
" NetworkInterStat_diff:tx_packets.ib0.htc-g003[count] \n",
|
| 748 |
+
"0 16.00 \n",
|
| 749 |
+
"1 15.25 \n",
|
| 750 |
+
"2 14.50 \n",
|
| 751 |
+
"3 13.75 \n",
|
| 752 |
+
"4 13.00 \n",
|
| 753 |
+
".. ... \n",
|
| 754 |
+
"938 38.00 \n",
|
| 755 |
+
"939 20.50 \n",
|
| 756 |
+
"940 3.00 \n",
|
| 757 |
+
"941 8.00 \n",
|
| 758 |
+
"942 13.00 \n",
|
| 759 |
+
"\n",
|
| 760 |
+
"[943 rows x 8 columns]"
|
| 761 |
+
]
|
| 762 |
+
},
|
| 763 |
+
"execution_count": 10,
|
| 764 |
+
"metadata": {},
|
| 765 |
+
"output_type": "execute_result"
|
| 766 |
+
}
|
| 767 |
+
],
|
| 768 |
+
"source": [
|
| 769 |
+
"data_selected"
|
| 770 |
+
]
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"cell_type": "markdown",
|
| 774 |
+
"id": "74012855",
|
| 775 |
+
"metadata": {},
|
| 776 |
+
"source": [
|
| 777 |
+
"Divide the \"bytes received\" by the \"packets received\" to get the average/estimated bytes per packet for each sampling window."
|
| 778 |
+
]
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"cell_type": "code",
|
| 782 |
+
"execution_count": 12,
|
| 783 |
+
"id": "57d6d3b5",
|
| 784 |
+
"metadata": {},
|
| 785 |
+
"outputs": [
|
| 786 |
+
{
|
| 787 |
+
"data": {
|
| 788 |
+
"text/plain": [
|
| 789 |
+
"0 1467.152078\n",
|
| 790 |
+
"1 1484.192722\n",
|
| 791 |
+
"2 1493.390635\n",
|
| 792 |
+
"3 1499.147239\n",
|
| 793 |
+
"4 1503.089478\n",
|
| 794 |
+
" ... \n",
|
| 795 |
+
"938 1499.018098\n",
|
| 796 |
+
"939 1484.916201\n",
|
| 797 |
+
"940 210.604167\n",
|
| 798 |
+
"941 223.314917\n",
|
| 799 |
+
"942 237.670588\n",
|
| 800 |
+
"Length: 943, dtype: float64"
|
| 801 |
+
]
|
| 802 |
+
},
|
| 803 |
+
"execution_count": 12,
|
| 804 |
+
"metadata": {},
|
| 805 |
+
"output_type": "execute_result"
|
| 806 |
+
}
|
| 807 |
+
],
|
| 808 |
+
"source": [
|
| 809 |
+
"estimated_size_bytes = data_selected['NetworkInterStat_diff:rx_bytes.ens1f0.htc-g003[Bytes]']/data_selected['NetworkInterStat_diff:rx_packets.ens1f0.htc-g003[count]']\n",
|
| 810 |
+
"estimated_size_bytes"
|
| 811 |
+
]
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"cell_type": "code",
|
| 815 |
+
"execution_count": 13,
|
| 816 |
+
"id": "ccc13ee9",
|
| 817 |
+
"metadata": {},
|
| 818 |
+
"outputs": [
|
| 819 |
+
{
|
| 820 |
+
"data": {
|
| 821 |
+
"text/plain": [
|
| 822 |
+
"0 171.047375\n",
|
| 823 |
+
"1 156.308086\n",
|
| 824 |
+
"2 146.494459\n",
|
| 825 |
+
"3 139.490869\n",
|
| 826 |
+
"4 134.241534\n",
|
| 827 |
+
" ... \n",
|
| 828 |
+
"938 193.325405\n",
|
| 829 |
+
"939 234.927805\n",
|
| 830 |
+
"940 619.750000\n",
|
| 831 |
+
"941 711.163366\n",
|
| 832 |
+
"942 800.784314\n",
|
| 833 |
+
"Length: 943, dtype: float64"
|
| 834 |
+
]
|
| 835 |
+
},
|
| 836 |
+
"execution_count": 13,
|
| 837 |
+
"metadata": {},
|
| 838 |
+
"output_type": "execute_result"
|
| 839 |
+
}
|
| 840 |
+
],
|
| 841 |
+
"source": [
|
| 842 |
+
"estimated_size_bytes = data_selected['NetworkInterStat_diff:tx_bytes.ens1f0.htc-g003[Bytes]']/data_selected['NetworkInterStat_diff:tx_packets.ens1f0.htc-g003[count]']\n",
|
| 843 |
+
"estimated_size_bytes"
|
| 844 |
+
]
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"cell_type": "code",
|
| 848 |
+
"execution_count": 14,
|
| 849 |
+
"id": "62efe14a",
|
| 850 |
+
"metadata": {},
|
| 851 |
+
"outputs": [
|
| 852 |
+
{
|
| 853 |
+
"data": {
|
| 854 |
+
"text/plain": [
|
| 855 |
+
"0 246.173913\n",
|
| 856 |
+
"1 236.025641\n",
|
| 857 |
+
"2 221.437500\n",
|
| 858 |
+
"3 198.680000\n",
|
| 859 |
+
"4 158.222222\n",
|
| 860 |
+
" ... \n",
|
| 861 |
+
"938 347.200000\n",
|
| 862 |
+
"939 333.454545\n",
|
| 863 |
+
"940 196.000000\n",
|
| 864 |
+
"941 246.173913\n",
|
| 865 |
+
"942 256.736842\n",
|
| 866 |
+
"Length: 943, dtype: float64"
|
| 867 |
+
]
|
| 868 |
+
},
|
| 869 |
+
"execution_count": 14,
|
| 870 |
+
"metadata": {},
|
| 871 |
+
"output_type": "execute_result"
|
| 872 |
+
}
|
| 873 |
+
],
|
| 874 |
+
"source": [
|
| 875 |
+
"estimated_size_bytes = data_selected['NetworkInterStat_diff:rx_bytes.ib0.htc-g003[Bytes]']/data_selected['NetworkInterStat_diff:rx_packets.ib0.htc-g003[count]']\n",
|
| 876 |
+
"estimated_size_bytes"
|
| 877 |
+
]
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"cell_type": "code",
|
| 881 |
+
"execution_count": 15,
|
| 882 |
+
"id": "e976cc06",
|
| 883 |
+
"metadata": {},
|
| 884 |
+
"outputs": [
|
| 885 |
+
{
|
| 886 |
+
"data": {
|
| 887 |
+
"text/plain": [
|
| 888 |
+
"0 408.500000\n",
|
| 889 |
+
"1 1059.737705\n",
|
| 890 |
+
"2 1778.344828\n",
|
| 891 |
+
"3 2575.345455\n",
|
| 892 |
+
"4 3464.307692\n",
|
| 893 |
+
" ... \n",
|
| 894 |
+
"938 1538.421053\n",
|
| 895 |
+
"939 1461.073171\n",
|
| 896 |
+
"940 481.333333\n",
|
| 897 |
+
"941 408.500000\n",
|
| 898 |
+
"942 391.692308\n",
|
| 899 |
+
"Length: 943, dtype: float64"
|
| 900 |
+
]
|
| 901 |
+
},
|
| 902 |
+
"execution_count": 15,
|
| 903 |
+
"metadata": {},
|
| 904 |
+
"output_type": "execute_result"
|
| 905 |
+
}
|
| 906 |
+
],
|
| 907 |
+
"source": [
|
| 908 |
+
"estimated_size_bytes = data_selected['NetworkInterStat_diff:tx_bytes.ib0.htc-g003[Bytes]']/data_selected['NetworkInterStat_diff:tx_packets.ib0.htc-g003[count]']\n",
|
| 909 |
+
"estimated_size_bytes"
|
| 910 |
+
]
|
| 911 |
+
}
|
| 912 |
+
],
|
| 913 |
+
"metadata": {
|
| 914 |
+
"kernelspec": {
|
| 915 |
+
"display_name": "base",
|
| 916 |
+
"language": "python",
|
| 917 |
+
"name": "python3"
|
| 918 |
+
},
|
| 919 |
+
"language_info": {
|
| 920 |
+
"codemirror_mode": {
|
| 921 |
+
"name": "ipython",
|
| 922 |
+
"version": 3
|
| 923 |
+
},
|
| 924 |
+
"file_extension": ".py",
|
| 925 |
+
"mimetype": "text/x-python",
|
| 926 |
+
"name": "python",
|
| 927 |
+
"nbconvert_exporter": "python",
|
| 928 |
+
"pygments_lexer": "ipython3",
|
| 929 |
+
"version": "3.13.5"
|
| 930 |
+
}
|
| 931 |
+
},
|
| 932 |
+
"nbformat": 4,
|
| 933 |
+
"nbformat_minor": 5
|
| 934 |
+
}
|
meta_cpu.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
meta_gpu.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
read_memory_example.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
read_network_example.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
summary_powerconsumption.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|