Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/sparse-mapping-moves.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

543 lines
18 KiB
JSON

{
"format": 1,
"case": "sparse-mapping-moves",
"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": "program",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "bb6b59f39cfe0e4b1bef0e8787a8928a6179a01f0ab9c64b02db05ead067f049"
}
}
}
]
},
{
"name": "sparse-mapping",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "program",
"observed": {
"value": "absent"
},
"children": [
{
"name": "used-size/0",
"observed": {
"value": {
"uint": 0
}
}
},
{
"name": "used-size/1",
"observed": {
"value": {
"uint": 16384
}
}
},
{
"name": "used-size/2",
"observed": {
"value": {
"uint": 16384
}
}
},
{
"name": "used-size/3",
"observed": {
"value": {
"uint": 32768
}
}
},
{
"name": "used-size/4",
"observed": {
"value": {
"uint": 32768
}
}
},
{
"name": "used-size/5",
"observed": {
"value": {
"uint": 32768
}
}
},
{
"name": "used-size/6",
"observed": {
"value": {
"uint": 32768
}
}
},
{
"name": "tail/0/first-mipmap",
"observed": {
"value": {
"uint": 3
}
}
},
{
"name": "tail/0/bytes",
"observed": {
"value": {
"uint": 16384
}
}
},
{
"name": "tail/1/first-mipmap",
"observed": {
"value": {
"uint": 3
}
}
},
{
"name": "tail/1/bytes",
"observed": {
"value": {
"uint": 16384
}
}
},
{
"name": "status/0",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "status/1",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "status/2",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "status/3",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "status/4",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "status/5",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "step/0/updateTextureMapping",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/1/commit",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/2/moveTextureMappingsFromTexture",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/3/commit",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/4/updateTextureMapping",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/5/commit",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/6/moveTextureMappingsFromTexture",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/7/commit",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/8/moveTextureMappingsFromTexture",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/9/commit",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/10/moveTextureMappingsFromTexture",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/11/commit",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
}
]
},
{
"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-emulated-sparse-texture"
],
"bounds": {
"addressable_buffers_made": 2,
"bare_starts": 4,
"batches_submitted_by_waiters": 6,
"batches_with_none_pending": 6,
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"command_buffers_begun": 9,
"command_buffers_begun_batch_barriers": 4,
"command_buffers_begun_batch_work": 5,
"command_buffers_submitted": 9,
"commands_recorded.begin_command_buffer": 9,
"commands_recorded.cmd_copy_buffer": 10,
"commands_recorded.cmd_copy_buffer_to_image": 4,
"commands_recorded.cmd_copy_image": 2,
"commands_recorded.cmd_pipeline_barrier": 22,
"commands_recorded.end_command_buffer": 9,
"commits_handed_off": 6,
"commits_taken_in": 6,
"completed_waits": 7,
"completed_where_seen": 6,
"completion_arms": 6,
"completion_arms_after_a_wake": 6,
"completion_waiter_parks": 6,
"device_memory_allocated": 205520896,
"fence_waits": 6,
"finales_apart": 4,
"gate_waits": 6,
"gate_waits_slept": 6,
"image_blocks_made_ahead": 1,
"new_buffer_bytes_cleared": 608,
"object_churn.buffers_parked": 9,
"object_churn.buffers_recycled": 9,
"object_churn.images_other": 2,
"object_churn.making_sites_dropped": 4,
"object_churn.textures_in_heaps": 2,
"object_churn.vk_image_bindings": 2,
"object_churn.vk_images_destroyed": 2,
"object_churn.vk_images_made": 2,
"plain_buffer_blocks_made": 2,
"pooled_memory_blocks_made": 3,
"queue_submissions": 6,
"queues_sharing_a_vk_queue": 1,
"scheduled_where_submitted": 6,
"scheduler_passes_by_waiters": 6,
"scheduler_sleeps": 6,
"scheduler_wakes_commit": 6,
"slot_returns": 6,
"spare_command_pools_taken": 6,
"submit_infos": 10,
"trail_waits": 6,
"wakes_completion_waiters": 6,
"wakes_spared": 42
},
"moving": {
"gate_waits_slept": 3
},
"composed": {
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"commands_recorded.cmd_copy_buffer": 0,
"commands_recorded.cmd_copy_buffer_to_image": 0,
"commands_recorded.cmd_copy_image": 0,
"commands_recorded.cmd_pipeline_barrier": 0,
"commands_recorded.end_command_buffer": 0,
"device_memory_allocated": 201326592,
"gate_waits_slept": 5,
"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": "sparse-mapping-moves",
"calls": 1,
"in_calls": 5104833,
"on_cpu": 144125,
"blocked": 4962292,
"elsewhere": 3686625,
"spend": 8875708,
"spend_least": 8265249,
"spend_most": 10434166,
"per_call": [
{
"call": "sparse_mapping",
"least_calls": 1,
"most_calls": 1,
"wall": 5104833,
"on_cpu": 144125,
"blocked": 4962292,
"wall_least": 4656416,
"wall_most": 6811333,
"wall_total": 5104833,
"on_cpu_total": 144125,
"blocked_total": 4962292
}
]
}
},
{
"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": "sparse-mapping-moves",
"calls": 1,
"in_calls": 2068334,
"on_cpu": 62500,
"blocked": 1991292,
"elsewhere": 622959,
"spend": 2710751,
"spend_least": 1733708,
"spend_most": 3341083,
"degraded": [
"metal2vulkan-degrade-emulated-sparse-texture"
],
"per_call": [
{
"call": "sparse_mapping",
"least_calls": 1,
"most_calls": 1,
"wall": 2068334,
"on_cpu": 62500,
"blocked": 1991292,
"wall_least": 1179917,
"wall_most": 2711791,
"wall_total": 2068334,
"on_cpu_total": 62500,
"blocked_total": 1991292
}
]
}
}
]
}