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).
456 lines
15 KiB
JSON
456 lines
15 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "sparse-mapping-indirect-updates",
|
|
"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": "ea83c2a0a9a27030bfc2e96bb75505f86e1d15944008b2e8f78449621209e2c0"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "used-size/2",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 16384
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "used-size/3",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 98304
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "used-size/4",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 16384
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "tail/0/first-mipmap",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "tail/0/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": "step/0/updateTextureMappingIndirect",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/1/commit",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/2/updateTextureMappingIndirect",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/3/commit",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/4/updateTextureMappingIndirect",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/5/commit",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/6/updateTextureMappingIndirect",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "step/7/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",
|
|
"metal2vulkan-degrade-host-read-mapping-arguments"
|
|
],
|
|
"bounds": {
|
|
"addressable_buffers_made": 2,
|
|
"bare_starts": 3,
|
|
"batches_held_past_a_look": 4,
|
|
"batches_with_none_pending": 4,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 2,
|
|
"command_buffers_begun": 7,
|
|
"command_buffers_begun_batch_barriers": 3,
|
|
"command_buffers_begun_batch_work": 4,
|
|
"command_buffers_submitted": 7,
|
|
"commands_recorded.begin_command_buffer": 7,
|
|
"commands_recorded.cmd_copy_buffer": 6,
|
|
"commands_recorded.cmd_copy_buffer_to_image": 2,
|
|
"commands_recorded.cmd_pipeline_barrier": 16,
|
|
"commands_recorded.end_command_buffer": 7,
|
|
"commits_handed_off": 4,
|
|
"commits_taken_in": 4,
|
|
"completed_waits": 6,
|
|
"completed_where_seen": 4,
|
|
"completion_arms": 4,
|
|
"completion_arms_after_a_wake": 4,
|
|
"completion_waiter_parks": 4,
|
|
"device_memory_allocated": 205520896,
|
|
"fence_waits": 4,
|
|
"finales_apart": 3,
|
|
"gate_waits": 4,
|
|
"gate_waits_slept": 4,
|
|
"heads_held_for_host_steps": 8,
|
|
"host_steps_recorded": 4,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 1,
|
|
"new_buffer_bytes_cleared": 448,
|
|
"object_churn.buffers_evicted": 1,
|
|
"object_churn.buffers_parked": 7,
|
|
"object_churn.buffers_recycled": 6,
|
|
"object_churn.images_other": 1,
|
|
"object_churn.making_sites_dropped": 2,
|
|
"object_churn.textures_in_heaps": 1,
|
|
"object_churn.vk_buffer_bindings": 1,
|
|
"object_churn.vk_buffers_destroyed": 1,
|
|
"object_churn.vk_buffers_made": 1,
|
|
"object_churn.vk_image_bindings": 1,
|
|
"object_churn.vk_images_destroyed": 1,
|
|
"object_churn.vk_images_made": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queue_submissions": 4,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"scheduled_where_submitted": 4,
|
|
"scheduler_passes": 12,
|
|
"scheduler_passes_by_waiters": 4,
|
|
"scheduler_sleeps": 8,
|
|
"scheduler_wakes_commit": 4,
|
|
"scheduler_wakes_host": 4,
|
|
"slot_returns": 4,
|
|
"spare_command_pools_taken": 4,
|
|
"submit_infos": 7,
|
|
"trail_waits": 4,
|
|
"wakes_completion_waiters": 4,
|
|
"wakes_spared": 32
|
|
},
|
|
"moving": {
|
|
"gate_waits_slept": 3
|
|
},
|
|
"composed": {
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 0,
|
|
"commands_recorded.cmd_copy_buffer": 0,
|
|
"commands_recorded.cmd_copy_buffer_to_image": 0,
|
|
"commands_recorded.cmd_pipeline_barrier": 0,
|
|
"commands_recorded.end_command_buffer": 0,
|
|
"device_memory_allocated": 201326592,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 0,
|
|
"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-indirect-updates",
|
|
"calls": 1,
|
|
"in_calls": 4997959,
|
|
"on_cpu": 122959,
|
|
"blocked": 4884459,
|
|
"elsewhere": 3636000,
|
|
"spend": 8618750,
|
|
"spend_least": 8399625,
|
|
"spend_most": 9338292,
|
|
"per_call": [
|
|
{
|
|
"call": "sparse_mapping",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 4997959,
|
|
"on_cpu": 122959,
|
|
"blocked": 4884459,
|
|
"wall_least": 4784542,
|
|
"wall_most": 5661167,
|
|
"wall_total": 4997959,
|
|
"on_cpu_total": 122959,
|
|
"blocked_total": 4884459
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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-indirect-updates",
|
|
"calls": 1,
|
|
"in_calls": 1594708,
|
|
"on_cpu": 38250,
|
|
"blocked": 1553875,
|
|
"elsewhere": 467250,
|
|
"spend": 2081625,
|
|
"spend_least": 1415208,
|
|
"spend_most": 2761667,
|
|
"degraded": [
|
|
"metal2vulkan-degrade-emulated-sparse-texture",
|
|
"metal2vulkan-degrade-host-read-mapping-arguments"
|
|
],
|
|
"per_call": [
|
|
{
|
|
"call": "sparse_mapping",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 1594708,
|
|
"on_cpu": 38250,
|
|
"blocked": 1553875,
|
|
"wall_least": 1036250,
|
|
"wall_most": 2282250,
|
|
"wall_total": 1594708,
|
|
"on_cpu_total": 38250,
|
|
"blocked_total": 1553875
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|