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).
422 lines
14 KiB
JSON
422 lines
14 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "command-buffer-facts",
|
|
"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": 5,
|
|
"outcomes": [
|
|
{
|
|
"runs": 5,
|
|
"transcript": {
|
|
"root": {
|
|
"name": "case",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "inputs",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "timed-bytes-and-queue-labels",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "6fa881c9d51a93c1ef139e32e518d4c0c82fee8140d0c9d4372f0f678d4d3c6e"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "command-buffer",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "facts",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "device-is-the-queues",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "queue-label-is-its-own/0",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "queue-label-is-its-own/1",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "zero-before-commit/kernelStartTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "positive-after-completion/kernelStartTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "zero-before-commit/kernelEndTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "positive-after-completion/kernelEndTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "kernel-interval-is-ordered",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "gpu-times",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "zero-before-commit/GPUStartTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "positive-after-completion/GPUStartTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "zero-before-commit/GPUEndTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "positive-after-completion/GPUEndTime",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "gpu-interval-is-ordered",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "gpu-starts-no-earlier-than-the-kernel",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "gpu-ends-no-earlier-than-the-kernel",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "resource-state-encoder-opened",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "status",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Completed",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "state-encoder-status",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Completed",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "notices",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "set",
|
|
"observed": {
|
|
"value": {
|
|
"nothing": "announced_nothing"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "counts",
|
|
"observed": {
|
|
"value": {
|
|
"fields": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"validated": {
|
|
"stopped": {
|
|
"call": "command_buffer_facts",
|
|
"message": "Ending encoding with no commands encoded."
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"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-gpu-times-from-host"
|
|
],
|
|
"bounds": {
|
|
"addressable_buffers_made": 2,
|
|
"bare_starts": 1,
|
|
"batches_submitted_by_waiters": 2,
|
|
"batches_with_none_pending": 2,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 2,
|
|
"command_buffers_begun": 1,
|
|
"command_buffers_begun_encoders": 1,
|
|
"command_buffers_deferred": 1,
|
|
"command_buffers_submitted": 1,
|
|
"commands_recorded.begin_command_buffer": 1,
|
|
"commands_recorded.cmd_fill_buffer": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 1,
|
|
"commands_recorded.cmd_update_buffer": 1,
|
|
"commands_recorded.end_command_buffer": 1,
|
|
"commits_handed_off": 2,
|
|
"commits_taken_in": 2,
|
|
"completed_waits": 4,
|
|
"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": 1,
|
|
"fence_waits": 2,
|
|
"fills_recorded": 1,
|
|
"finales_folded": 1,
|
|
"gate_waits": 2,
|
|
"gate_waits_slept": 2,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 1,
|
|
"new_buffer_bytes_cleared": 256,
|
|
"object_churn.buffers_parked": 1,
|
|
"object_churn.buffers_recycled": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queue_submissions": 2,
|
|
"queues_sharing_a_vk_queue": 3,
|
|
"scheduled_where_submitted": 2,
|
|
"scheduler_passes": 1,
|
|
"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,
|
|
"buffer_blocks_made_in_place": 0,
|
|
"command_buffers_deferred": 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,
|
|
"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": "command-buffer-facts",
|
|
"calls": 1,
|
|
"in_calls": 4352166,
|
|
"on_cpu": 897375,
|
|
"blocked": 3511875,
|
|
"elsewhere": 3407250,
|
|
"spend": 7822000,
|
|
"spend_least": 7408500,
|
|
"spend_most": 8948417,
|
|
"per_call": [
|
|
{
|
|
"call": "command_buffer_facts",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 4352166,
|
|
"on_cpu": 897375,
|
|
"blocked": 3511875,
|
|
"wall_least": 3951750,
|
|
"wall_most": 5303416,
|
|
"wall_total": 4352166,
|
|
"on_cpu_total": 897375,
|
|
"blocked_total": 3511875
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "command-buffer-facts",
|
|
"calls": 1,
|
|
"in_calls": 323958,
|
|
"on_cpu": 22250,
|
|
"blocked": 302041,
|
|
"elsewhere": 143542,
|
|
"spend": 470375,
|
|
"spend_least": 401251,
|
|
"spend_most": 779583,
|
|
"degraded": [
|
|
"metal2vulkan-degrade-gpu-times-from-host"
|
|
],
|
|
"per_call": [
|
|
{
|
|
"call": "command_buffer_facts",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 323958,
|
|
"on_cpu": 22250,
|
|
"blocked": 302041,
|
|
"wall_least": 277292,
|
|
"wall_most": 636041,
|
|
"wall_total": 323958,
|
|
"on_cpu_total": 22250,
|
|
"blocked_total": 302041
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|