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).
307 lines
10 KiB
JSON
307 lines
10 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "buffer-blit-any-range",
|
|
"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": "fdeab9acf3710362bd2658cdc9a29e8f9c757fcf9811603a8c447cd1d9151108"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "private-buffer:1",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "a06f129fc52abf6085679d7cd71dc41ec7580c7f5f73efef6d02dde22bb00994"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "buffer:2",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "f5a5fd42d16a20302798ef6ed309979b43003d2320d9f0e8ea9831a92759fb4b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "steps",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "4b27604e75d37fa3adf20ebfe4259b5cc0b217e5f8d8c2228f9d53e35727897b"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "output",
|
|
"observed": {
|
|
"value": {
|
|
"bytes": "zVpaWlpaWlpaWlpaWlpaWlpaWlpaAwQFBgcICQoLDFpaWlpaWlpaWlru7lpaWlpaERERERFaWlpaWlpaWlpazQ=="
|
|
},
|
|
"shape": {
|
|
"bytes": {
|
|
"region": {
|
|
"buffer": {
|
|
"offset": 0,
|
|
"length": 64
|
|
}
|
|
},
|
|
"element": "u8",
|
|
"row_offset": 0,
|
|
"row_elements": 64,
|
|
"row_pitch": 64,
|
|
"rows": 1,
|
|
"image_pitch": 64,
|
|
"images": 1,
|
|
"gaps": "ignored"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"degraded": [
|
|
"metal2vulkan-degrade-split-buffer-fill"
|
|
],
|
|
"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_barriers": 1,
|
|
"command_buffers_begun": 4,
|
|
"command_buffers_begun_batch_work": 1,
|
|
"command_buffers_begun_encoders": 3,
|
|
"command_buffers_submitted": 4,
|
|
"commands_recorded.begin_command_buffer": 4,
|
|
"commands_recorded.cmd_copy_buffer": 6,
|
|
"commands_recorded.cmd_fill_buffer": 3,
|
|
"commands_recorded.cmd_pipeline_barrier": 6,
|
|
"commands_recorded.end_command_buffer": 4,
|
|
"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": 3,
|
|
"finales_folded": 3,
|
|
"gate_waits": 3,
|
|
"gate_waits_slept": 3,
|
|
"image_blocks_made_ahead": 1,
|
|
"new_buffer_bytes_cleared": 1152,
|
|
"object_churn.buffers_parked": 4,
|
|
"object_churn.vk_buffer_bindings": 4,
|
|
"object_churn.vk_buffers_made": 4,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queue_submissions": 3,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"scheduled_where_submitted": 3,
|
|
"scheduler_passes": 1,
|
|
"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": {
|
|
"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-any-range",
|
|
"calls": 1,
|
|
"in_calls": 4684708,
|
|
"on_cpu": 159083,
|
|
"blocked": 4512083,
|
|
"elsewhere": 3628042,
|
|
"spend": 8312750,
|
|
"spend_least": 8044917,
|
|
"spend_most": 8771167,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 4684708,
|
|
"on_cpu": 159083,
|
|
"blocked": 4512083,
|
|
"wall_least": 4503208,
|
|
"wall_most": 5088292,
|
|
"wall_total": 4684708,
|
|
"on_cpu_total": 159083,
|
|
"blocked_total": 4512083
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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-any-range",
|
|
"calls": 1,
|
|
"in_calls": 1387708,
|
|
"on_cpu": 73500,
|
|
"blocked": 1311542,
|
|
"elsewhere": 409500,
|
|
"spend": 1814250,
|
|
"spend_least": 1640791,
|
|
"spend_most": 2922542,
|
|
"degraded": [
|
|
"metal2vulkan-degrade-split-buffer-fill"
|
|
],
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 1387708,
|
|
"on_cpu": 73500,
|
|
"blocked": 1311542,
|
|
"wall_least": 1250250,
|
|
"wall_most": 2422625,
|
|
"wall_total": 1387708,
|
|
"on_cpu_total": 73500,
|
|
"blocked_total": 1311542
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|