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).
358 lines
12 KiB
JSON
358 lines
12 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "fresh-texture-array-rgba8unorm-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": "7b61004d35f0d512aed754d0d029c479647ebfeed9a15163bdcc5240ae957fd1"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/resource:0",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "3fee627e0bfbf413b10d44a65d57b58953f66778f27408e7bfba58fcd1fcd2bb"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/buffer:1",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "b1569d2b42e494c2d812b44ea70b678af3e3625a7f9e62162a11d746600a9c7d"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/buffer:2",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "50cd8ba0d8821f0dcd113e6865957eba1c59d4c590f7d79788dbbfdb8655f1ec"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/buffer:3",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "50cd8ba0d8821f0dcd113e6865957eba1c59d4c590f7d79788dbbfdb8655f1ec"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/steps",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "6fd8edcb6848f34e424bbd4bc6ce680613f1d609fbd4e74f0a8474ff8caaa8d6"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "written",
|
|
"observed": {
|
|
"value": {
|
|
"list": [
|
|
{
|
|
"fields": {
|
|
"at": {
|
|
"uint": 0
|
|
},
|
|
"texel": {
|
|
"bytes": "paWlpQ=="
|
|
},
|
|
"texels": {
|
|
"uint": 3072
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"observed": {
|
|
"value": {
|
|
"list": [
|
|
{
|
|
"fields": {
|
|
"at": {
|
|
"uint": 0
|
|
},
|
|
"texel": {
|
|
"bytes": "AAAAAA=="
|
|
},
|
|
"texels": {
|
|
"uint": 3072
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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_hurried": 1,
|
|
"blocks_ahead_waited_for": 4,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_begun": 3,
|
|
"command_buffers_begun_encoders": 3,
|
|
"command_buffers_deferred": 3,
|
|
"command_buffers_submitted": 3,
|
|
"commands_recorded.begin_command_buffer": 3,
|
|
"commands_recorded.cmd_copy_buffer_to_image": 3,
|
|
"commands_recorded.cmd_copy_image_to_buffer": 6,
|
|
"commands_recorded.cmd_pipeline_barrier": 3,
|
|
"commands_recorded.end_command_buffer": 3,
|
|
"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": 276824064,
|
|
"encoder_command_buffers_begun": 3,
|
|
"fence_waits": 3,
|
|
"finales_folded": 3,
|
|
"gate_waits": 3,
|
|
"gate_waits_slept": 3,
|
|
"host_copy_blocks_made_in_place": 1,
|
|
"host_copy_blocks_readied": 1,
|
|
"image_blocks_made_ahead": 2,
|
|
"image_blocks_made_in_place": 1,
|
|
"images_started_on_the_host": 2,
|
|
"new_buffer_bytes_cleared": 28672,
|
|
"object_churn.buffers_parked": 3,
|
|
"object_churn.buffers_recycled": 1,
|
|
"object_churn.images_own_memory": 2,
|
|
"object_churn.textures_image": 2,
|
|
"object_churn.vk_buffer_bindings": 2,
|
|
"object_churn.vk_buffers_made": 2,
|
|
"object_churn.vk_image_bindings": 2,
|
|
"object_churn.vk_images_destroyed": 4,
|
|
"object_churn.vk_images_made": 4,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 4,
|
|
"queue_submissions": 3,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"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": 1
|
|
},
|
|
"composed": {
|
|
"blocks_ahead_hurried": 0,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_deferred": 0,
|
|
"commands_recorded.cmd_copy_buffer_to_image": 0,
|
|
"commands_recorded.cmd_copy_image_to_buffer": 0,
|
|
"commands_recorded.cmd_pipeline_barrier": 0,
|
|
"commands_recorded.end_command_buffer": 0,
|
|
"device_memory_allocated": 268435456,
|
|
"host_copy_blocks_made_in_place": 1,
|
|
"host_copy_blocks_readied": 0,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"queues_sharing_a_vk_queue": 0
|
|
},
|
|
"ceilings": {
|
|
"addressable_buffers_made": 2,
|
|
"pooled_memory_blocks_made": 4
|
|
}
|
|
}
|
|
],
|
|
"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-array-rgba8unorm-shared",
|
|
"calls": 1,
|
|
"in_calls": 4174500,
|
|
"on_cpu": 154500,
|
|
"blocked": 3996333,
|
|
"elsewhere": 3548042,
|
|
"spend": 7732958,
|
|
"spend_least": 7538834,
|
|
"spend_most": 7837625,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 4174500,
|
|
"on_cpu": 154500,
|
|
"blocked": 3996333,
|
|
"wall_least": 4081292,
|
|
"wall_most": 4236875,
|
|
"wall_total": 4174500,
|
|
"on_cpu_total": 154500,
|
|
"blocked_total": 3996333
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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-array-rgba8unorm-shared",
|
|
"calls": 1,
|
|
"in_calls": 917250,
|
|
"on_cpu": 79625,
|
|
"blocked": 843291,
|
|
"elsewhere": 285791,
|
|
"spend": 1206999,
|
|
"spend_least": 1113208,
|
|
"spend_most": 1984708,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 917250,
|
|
"on_cpu": 79625,
|
|
"blocked": 843291,
|
|
"wall_least": 820375,
|
|
"wall_most": 1333666,
|
|
"wall_total": 917250,
|
|
"on_cpu_total": 79625,
|
|
"blocked_total": 843291
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|