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).
354 lines
12 KiB
JSON
354 lines
12 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "fresh-texture-over-buffer-shared",
|
|
"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": "shape-and-bytes",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "6201cd137cecd1d790c542179719dda1fcd9e7447de9e7e3c4aaea86f07705ab"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/resource:0",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "35047253673d496fe3518c5284891e01433d13ddb0bcfe46480909ba85d4de21"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/resource:1",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "551c03a8be6e7ab05c82546ab43fa53b7bb0744ad65e3012fe7497db150f826c"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/buffer:2",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "ba8a14742a7016eebe3d85718590001cc6ed3706dd34216e75236db6155f686b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/buffer:3",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "ba8a14742a7016eebe3d85718590001cc6ed3706dd34216e75236db6155f686b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/steps",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "9287807cdf9e186d924d44e2c0443edd7c34c409a83a884f9a999f0bab637539"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "written",
|
|
"observed": {
|
|
"value": {
|
|
"list": [
|
|
{
|
|
"fields": {
|
|
"at": {
|
|
"uint": 0
|
|
},
|
|
"texel": {
|
|
"bytes": "paWlpQ=="
|
|
},
|
|
"texels": {
|
|
"uint": 4096
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"observed": {
|
|
"value": {
|
|
"list": [
|
|
{
|
|
"fields": {
|
|
"at": {
|
|
"uint": 0
|
|
},
|
|
"texel": {
|
|
"bytes": "AAAAAA=="
|
|
},
|
|
"texels": {
|
|
"uint": 4096
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "statuses",
|
|
"observed": {
|
|
"value": {
|
|
"lines": [
|
|
"Completed",
|
|
"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",
|
|
"bounds": {
|
|
"addressable_buffers_made": 2,
|
|
"bare_starts": 3,
|
|
"batches_submitted_by_waiters": 3,
|
|
"batches_with_none_pending": 3,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_begun": 5,
|
|
"command_buffers_begun_batch_work": 2,
|
|
"command_buffers_begun_encoders": 3,
|
|
"command_buffers_deferred": 3,
|
|
"command_buffers_submitted": 5,
|
|
"commands_recorded.begin_command_buffer": 5,
|
|
"commands_recorded.cmd_copy_buffer": 2,
|
|
"commands_recorded.cmd_fill_buffer": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 5,
|
|
"commands_recorded.cmd_update_buffer": 1,
|
|
"commands_recorded.end_command_buffer": 5,
|
|
"commits_handed_off": 3,
|
|
"commits_taken_in": 3,
|
|
"completed_waits": 6,
|
|
"completed_where_seen": 3,
|
|
"completion_arms": 3,
|
|
"completion_arms_after_a_wake": 3,
|
|
"completion_waiter_parks": 3,
|
|
"device_memory_allocated": 205520896,
|
|
"encoder_command_buffers_begun": 3,
|
|
"fence_waits": 3,
|
|
"fills_recorded": 1,
|
|
"finales_folded": 3,
|
|
"gate_waits": 3,
|
|
"gate_waits_slept": 3,
|
|
"image_blocks_made_ahead": 1,
|
|
"new_buffer_bytes_cleared": 65536,
|
|
"object_churn.buffers_parked": 4,
|
|
"object_churn.buffers_recycled": 4,
|
|
"object_churn.images_in_buffers": 2,
|
|
"object_churn.making_sites_dropped": 4,
|
|
"object_churn.textures_alias": 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": 3,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"row_copies": 2,
|
|
"row_copy_regions": 2,
|
|
"scheduled_where_submitted": 3,
|
|
"scheduler_passes_by_waiters": 3,
|
|
"scheduler_sleeps": 3,
|
|
"scheduler_wakes_commit": 3,
|
|
"slot_returns": 3,
|
|
"spare_command_pools_taken": 3,
|
|
"submit_infos": 3,
|
|
"trail_waits": 3,
|
|
"wakes_completion_waiters": 3,
|
|
"wakes_spared": 21
|
|
},
|
|
"moving": {
|
|
"gate_waits_slept": 2
|
|
},
|
|
"composed": {
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_deferred": 0,
|
|
"commands_recorded.cmd_copy_buffer": 0,
|
|
"commands_recorded.cmd_fill_buffer": 0,
|
|
"commands_recorded.cmd_pipeline_barrier": 0,
|
|
"commands_recorded.cmd_update_buffer": 0,
|
|
"commands_recorded.end_command_buffer": 0,
|
|
"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": "fresh-texture-over-buffer-shared",
|
|
"calls": 1,
|
|
"in_calls": 4766958,
|
|
"on_cpu": 149375,
|
|
"blocked": 4614083,
|
|
"elsewhere": 3472959,
|
|
"spend": 8207166,
|
|
"spend_least": 7926791,
|
|
"spend_most": 9421250,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 4766958,
|
|
"on_cpu": 149375,
|
|
"blocked": 4614083,
|
|
"wall_least": 4465167,
|
|
"wall_most": 5329542,
|
|
"wall_total": 4766958,
|
|
"on_cpu_total": 149375,
|
|
"blocked_total": 4614083
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "fresh-texture-over-buffer-shared",
|
|
"calls": 1,
|
|
"in_calls": 805125,
|
|
"on_cpu": 53125,
|
|
"blocked": 742667,
|
|
"elsewhere": 277250,
|
|
"spend": 1080917,
|
|
"spend_least": 968958,
|
|
"spend_most": 1846626,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 805125,
|
|
"on_cpu": 53125,
|
|
"blocked": 742667,
|
|
"wall_least": 737666,
|
|
"wall_most": 1223584,
|
|
"wall_total": 805125,
|
|
"on_cpu_total": 53125,
|
|
"blocked_total": 742667
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|