Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/blit-synchronized-managed-buffer.json
T
Anees Iqbal da929c8a96 Re-bless the cost records at d0f0419800
A whole-set cost --runs 8 --write on the M3 Max, then --alone over the cases it
changed: images' blocks at 64 MiB (device_memory_allocated of the cases that
read 68 MiB) and what else moved since 9b046a7cf8 (dv-m3d).
2026-11-11 01:51:58 -08:00

286 lines
9.3 KiB
JSON

{
"format": 1,
"case": "blit-synchronized-managed-buffer",
"suite_version": 1,
"answers": [
{
"key": {
"chip": "apple-m3-max",
"os_version": "27.0.1",
"os_build": "26A434",
"metal_level": "27.0.1"
},
"provenance": "metal_run",
"device": "Apple M3 Max",
"runs": 3,
"outcomes": [
{
"runs": 3,
"transcript": {
"root": {
"name": "case",
"observed": {
"value": "absent"
},
"children": [
{
"name": "inputs",
"observed": {
"value": "absent"
},
"children": [
{
"name": "unwritten-buffer:0",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "589d15c127d69d6508b9591b64059741459d4bd71ad694c44b650ced510b0831"
}
}
},
{
"name": "steps",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "7a2bf797b8a603c9442c601a3cce6176e63023cab88eeab00c1fc942451b88db"
}
}
}
]
},
{
"name": "work",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "contents",
"observed": {
"value": {
"bytes": "fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fpqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampqampp+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+"
},
"shape": {
"bytes": {
"region": {
"buffer": {
"offset": 0,
"length": 192
}
},
"element": "u8",
"row_offset": 0,
"row_elements": 192,
"row_pitch": 192,
"rows": 1,
"image_pitch": 192,
"images": 1,
"gaps": "ignored"
}
}
}
},
{
"name": "statuses",
"observed": {
"value": {
"lines": [
"Completed",
"Completed"
]
}
}
},
{
"name": "notices",
"observed": {
"value": "absent"
},
"children": [
{
"name": "set",
"observed": {
"value": {
"nothing": "announced_nothing"
}
}
},
{
"name": "counts",
"observed": {
"value": {
"fields": {}
}
}
}
]
}
]
}
}
}
],
"validated": "ran"
}
],
"costs": [
{
"venue": "Apple M3 Max",
"runs": 8,
"measured": "8 run(s) of the whole selection on Apple M3 Max, in the case set's own order, the largest each count reached",
"contrasted": "8 run(s) of each case on its own on Apple M3 Max, nothing before it on the device, the largest each count reached",
"degraded": [
"metal2vulkan-degrade-split-buffer-fill"
],
"bounds": {
"addressable_buffers_made": 2,
"bare_starts": 2,
"batches_submitted_by_waiters": 2,
"batches_with_none_pending": 2,
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"command_buffers_begun": 2,
"command_buffers_begun_encoders": 2,
"command_buffers_submitted": 2,
"commands_recorded.begin_command_buffer": 2,
"commands_recorded.cmd_copy_buffer": 1,
"commands_recorded.cmd_fill_buffer": 2,
"commands_recorded.cmd_pipeline_barrier": 2,
"commands_recorded.end_command_buffer": 2,
"commits_handed_off": 2,
"commits_taken_in": 2,
"completed_waits": 5,
"completed_where_seen": 2,
"completion_arms": 2,
"completion_arms_after_a_wake": 2,
"completion_waiter_parks": 2,
"device_memory_allocated": 205520896,
"encoder_command_buffers_begun": 2,
"fence_waits": 2,
"fills_recorded": 2,
"finales_folded": 2,
"gate_waits": 2,
"gate_waits_slept": 2,
"image_blocks_made_ahead": 1,
"new_buffer_bytes_cleared": 1216,
"object_churn.buffers_parked": 2,
"object_churn.buffers_recycled": 1,
"object_churn.vk_buffer_bindings": 1,
"object_churn.vk_buffers_made": 1,
"plain_buffer_blocks_made": 2,
"pooled_memory_blocks_made": 3,
"queue_submissions": 2,
"queues_sharing_a_vk_queue": 1,
"scheduled_where_submitted": 2,
"scheduler_passes_by_waiters": 2,
"scheduler_sleeps": 2,
"scheduler_wakes_commit": 2,
"slot_returns": 2,
"spare_command_pools_taken": 2,
"submit_infos": 2,
"trail_waits": 2,
"wakes_completion_waiters": 2,
"wakes_spared": 14
},
"moving": {
"gate_waits_slept": 1
},
"composed": {
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"device_memory_allocated": 201326592,
"image_blocks_made_ahead": 1,
"plain_buffer_blocks_made": 2,
"queues_sharing_a_vk_queue": 0
},
"ceilings": {
"addressable_buffers_made": 2,
"pooled_memory_blocks_made": 3
}
}
],
"times": [
{
"leg": "metal",
"venue": "native Metal",
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 3.18 and ours at 2.63; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 236,
"times": {
"case": "blit-synchronized-managed-buffer",
"calls": 1,
"in_calls": 3922083,
"on_cpu": 101000,
"blocked": 3808625,
"elsewhere": 3383708,
"spend": 7366542,
"spend_least": 710958,
"spend_most": 7790250,
"per_call": [
{
"call": "work",
"least_calls": 1,
"most_calls": 1,
"wall": 3922083,
"on_cpu": 101000,
"blocked": 3808625,
"wall_least": 545000,
"wall_most": 4249375,
"wall_total": 3922083,
"on_cpu_total": 101000,
"blocked_total": 3808625
}
]
}
},
{
"leg": "ours",
"venue": "Apple M3 Max",
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 3.18 and ours at 2.63; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 233,
"times": {
"case": "blit-synchronized-managed-buffer",
"calls": 1,
"in_calls": 520833,
"on_cpu": 28667,
"blocked": 493333,
"elsewhere": 197209,
"spend": 718042,
"spend_least": 653792,
"spend_most": 1086167,
"degraded": [
"metal2vulkan-degrade-split-buffer-fill"
],
"per_call": [
{
"call": "work",
"least_calls": 1,
"most_calls": 1,
"wall": 520833,
"on_cpu": 28667,
"blocked": 493333,
"wall_least": 473750,
"wall_most": 904875,
"wall_total": 520833,
"on_cpu_total": 28667,
"blocked_total": 493333
}
]
}
}
]
}