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).
297 lines
9.7 KiB
JSON
297 lines
9.7 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "buffer-blit-empty-ranges",
|
|
"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": "buffer:0",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "630dcd2966c4336691125448bbb25b4ff412a49c732db2c8abc1b8581bd710dd"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "buffer:1",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "374708fff7719dd5979ec875d56cd2286f6d3cf7ec317a3b25632aab28ec37bb"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "steps",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "2ac59c8a8c731200d248069b762a3e236f1c51dacf68b18842579be0e0e5e0e5"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"observed": {
|
|
"value": {
|
|
"nothing": "copied_no_bytes"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "output",
|
|
"observed": {
|
|
"value": {
|
|
"bytes": "AAAAAAAAAAAAAAAAAAAAAA=="
|
|
},
|
|
"shape": {
|
|
"bytes": {
|
|
"region": {
|
|
"buffer": {
|
|
"offset": 0,
|
|
"length": 16
|
|
}
|
|
},
|
|
"element": "u8",
|
|
"row_offset": 0,
|
|
"row_elements": 16,
|
|
"row_pitch": 16,
|
|
"rows": 1,
|
|
"image_pitch": 16,
|
|
"images": 1,
|
|
"gaps": "ignored"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "statuses",
|
|
"observed": {
|
|
"value": {
|
|
"lines": [
|
|
"Completed"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "notices",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "set",
|
|
"observed": {
|
|
"value": {
|
|
"nothing": "announced_nothing"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "counts",
|
|
"observed": {
|
|
"value": {
|
|
"fields": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"validated": {
|
|
"stopped": {
|
|
"call": "work",
|
|
"message": "Copy From Buffer Validation\nsize(0) must not be 0.\nCopy From Buffer Validation\n(destinationOffset + size)(64) must be <= [destinationBuffer length](16).\nsize(0) must not be 0.\nFill Buffer Validation\nrange.length(0) must not be 0.\nFill Buffer Validation\n(range.location + range.length)(64) must be <= [buffer length](16).\nrange.length(0) must not be 0."
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"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": 1,
|
|
"batches_submitted_by_waiters": 1,
|
|
"batches_with_none_pending": 1,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_begun": 1,
|
|
"command_buffers_begun_encoders": 1,
|
|
"command_buffers_submitted": 1,
|
|
"commands_recorded.begin_command_buffer": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 1,
|
|
"commands_recorded.end_command_buffer": 1,
|
|
"commits_handed_off": 1,
|
|
"commits_taken_in": 1,
|
|
"completed_waits": 4,
|
|
"completed_where_seen": 1,
|
|
"completion_arms": 1,
|
|
"completion_arms_after_a_wake": 1,
|
|
"completion_waiter_parks": 1,
|
|
"device_memory_allocated": 205520896,
|
|
"encoder_command_buffers_begun": 1,
|
|
"fence_waits": 1,
|
|
"finales_folded": 1,
|
|
"gate_waits": 1,
|
|
"gate_waits_slept": 1,
|
|
"image_blocks_made_ahead": 1,
|
|
"new_buffer_bytes_cleared": 48,
|
|
"object_churn.buffers_parked": 2,
|
|
"object_churn.vk_buffer_bindings": 2,
|
|
"object_churn.vk_buffers_made": 2,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queue_submissions": 1,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"scheduled_where_submitted": 1,
|
|
"scheduler_passes": 1,
|
|
"scheduler_passes_by_waiters": 1,
|
|
"scheduler_sleeps": 1,
|
|
"scheduler_wakes_commit": 1,
|
|
"slot_returns": 1,
|
|
"spare_command_pools_taken": 1,
|
|
"submit_infos": 1,
|
|
"trail_waits": 1,
|
|
"wakes_completion_waiters": 1,
|
|
"wakes_spared": 7
|
|
},
|
|
"moving": {
|
|
"gate_waits_slept": 0
|
|
},
|
|
"composed": {
|
|
"addressable_buffers_made": 2,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"device_memory_allocated": 201326592,
|
|
"image_blocks_made_ahead": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queues_sharing_a_vk_queue": 0
|
|
}
|
|
}
|
|
],
|
|
"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": "buffer-blit-empty-ranges",
|
|
"calls": 1,
|
|
"in_calls": 110167,
|
|
"on_cpu": 85042,
|
|
"blocked": 22625,
|
|
"elsewhere": 51208,
|
|
"spend": 160751,
|
|
"spend_least": 152125,
|
|
"spend_most": 174500,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 110167,
|
|
"on_cpu": 85042,
|
|
"blocked": 22625,
|
|
"wall_least": 102584,
|
|
"wall_most": 118667,
|
|
"wall_total": 110167,
|
|
"on_cpu_total": 85042,
|
|
"blocked_total": 22625
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "buffer-blit-empty-ranges",
|
|
"calls": 1,
|
|
"in_calls": 49584,
|
|
"on_cpu": 13750,
|
|
"blocked": 33334,
|
|
"elsewhere": 50166,
|
|
"spend": 99750,
|
|
"spend_least": 84584,
|
|
"spend_most": 144876,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 49584,
|
|
"on_cpu": 13750,
|
|
"blocked": 33334,
|
|
"wall_least": 40500,
|
|
"wall_most": 71167,
|
|
"wall_total": 49584,
|
|
"on_cpu_total": 13750,
|
|
"blocked_total": 33334
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|