1135 recording(s) whose bounds moved. Cause: RT 1987 (206fbfba1c) makes a block ahead for a pool near its next block, and RT 1989 (d562bd4148) keeps a block's worth of bytes ahead per pool and has calls wait for a making instead of making a block in place, so made-ahead, made-in-place and waited-for block counts move. Contrast: pin 32's replay at39b45dd232(m3-max-12459) went over on blit-whole-texture-copy alone (buffer_blocks_made_ahead 1 where the record said 0); every value row matched the known-gaps ledger. The full list of moved bounds is in this commit's diff. Measured on the M3 (s37-pl.sh rebless: cost --runs 8 --write over the whole set, then cost --runs 8 --alone --write over the changed cases). (cherry picked from commit ac01ee50d788bbd880e7f9d1a439bbf12c4e6bb7)
305 lines
10 KiB
JSON
305 lines
10 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "fresh-pattern-554",
|
|
"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": "c0afb772c9e3bc6a34ec9e2fd93fc5ce0f0c947bbf18840182fb31886344932e"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/resource:0",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "f057e170977b8fb0e1ab7c03963fdf4d5830d485cc23abf1385e1929e6669cbd"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/buffer:1",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "ba8a14742a7016eebe3d85718590001cc6ed3706dd34216e75236db6155f686b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "work/steps",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "b48a76ba17e235ee887d1fe549c0c6f4da2bc6b1f8a61977030cd991488e47c8"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"observed": {
|
|
"value": {
|
|
"list": [
|
|
{
|
|
"fields": {
|
|
"at": {
|
|
"uint": 0
|
|
},
|
|
"texel": {
|
|
"bytes": "/wPw/w=="
|
|
},
|
|
"texels": {
|
|
"uint": 4096
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "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": 1,
|
|
"batches_submitted_by_waiters": 1,
|
|
"batches_with_none_pending": 1,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 2,
|
|
"command_buffers_begun": 2,
|
|
"command_buffers_begun_batch_work": 1,
|
|
"command_buffers_begun_encoders": 1,
|
|
"command_buffers_deferred": 1,
|
|
"command_buffers_submitted": 2,
|
|
"commands_recorded.begin_command_buffer": 2,
|
|
"commands_recorded.cmd_copy_buffer_to_image": 1,
|
|
"commands_recorded.cmd_copy_image_to_buffer": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 3,
|
|
"commands_recorded.end_command_buffer": 2,
|
|
"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,
|
|
"encoder_command_buffers_begun": 1,
|
|
"fence_waits": 1,
|
|
"finales_folded": 1,
|
|
"gate_waits": 1,
|
|
"gate_waits_slept": 1,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 1,
|
|
"new_buffer_bytes_cleared": 16384,
|
|
"object_churn.buffers_parked": 1,
|
|
"object_churn.buffers_recycled": 1,
|
|
"object_churn.images_evicted": 1,
|
|
"object_churn.images_own_memory": 1,
|
|
"object_churn.images_parked": 1,
|
|
"object_churn.textures_image": 1,
|
|
"object_churn.vk_image_bindings": 1,
|
|
"object_churn.vk_images_destroyed": 3,
|
|
"object_churn.vk_images_made": 3,
|
|
"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_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
|
|
},
|
|
"composed": {
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 0,
|
|
"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,
|
|
"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": "fresh-pattern-554",
|
|
"calls": 1,
|
|
"in_calls": 3961167,
|
|
"on_cpu": 95875,
|
|
"blocked": 3874292,
|
|
"elsewhere": 3409792,
|
|
"spend": 7369583,
|
|
"spend_least": 7081834,
|
|
"spend_most": 7890375,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 3961167,
|
|
"on_cpu": 95875,
|
|
"blocked": 3874292,
|
|
"wall_least": 3806209,
|
|
"wall_most": 4094708,
|
|
"wall_total": 3961167,
|
|
"on_cpu_total": 95875,
|
|
"blocked_total": 3874292
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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-pattern-554",
|
|
"calls": 1,
|
|
"in_calls": 306708,
|
|
"on_cpu": 22458,
|
|
"blocked": 284250,
|
|
"elsewhere": 108792,
|
|
"spend": 415125,
|
|
"spend_least": 354542,
|
|
"spend_most": 661792,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 306708,
|
|
"on_cpu": 22458,
|
|
"blocked": 284250,
|
|
"wall_least": 268750,
|
|
"wall_most": 416125,
|
|
"wall_total": 306708,
|
|
"on_cpu_total": 22458,
|
|
"blocked_total": 284250
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|