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
13 KiB
JSON
358 lines
13 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "sample-fills-array-4",
|
|
"suite_version": 1,
|
|
"shaders": [
|
|
{
|
|
"fixture": "rt6_samples",
|
|
"entry": "rt6_read_bytes4",
|
|
"source_sha256": "857adcbb6951b3d5348087377c099c2b2b4733fe56cc754501b605496cb30fb9"
|
|
}
|
|
],
|
|
"answers": [
|
|
{
|
|
"key": {
|
|
"chip": "apple-m3-max",
|
|
"os_version": "27.0.1",
|
|
"os_build": "26A434",
|
|
"metal_level": "27.0.1"
|
|
},
|
|
"provenance": {
|
|
"carried": {
|
|
"from": "runtime_lane::sample_fills, from the probe ms.m (an Apple M3 Max, macOS 27.0.1)"
|
|
}
|
|
},
|
|
"device": "apple-m3-max",
|
|
"runs": 1,
|
|
"outcomes": [
|
|
{
|
|
"runs": 1,
|
|
"transcript": {
|
|
"root": {
|
|
"name": "case",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "inputs",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "case-geometry",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "3e003cea0ba88498b47a581909b06eb6b6f0e5f6a9b6a057c0eba7b08c705490"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "fill-pattern",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "a8faed6abbf35c12a4b26e40f6feb19d736d90045c83b9f9a31f638d323e6811"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "kernels-ll",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "857adcbb6951b3d5348087377c099c2b2b4733fe56cc754501b605496cb30fb9"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "kernels-air-ll",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "50449c6cad01f47ad3407cbf3bbbdfa4405c43f2cae14639e56d71b307a41d2c"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "metal-lines",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "ca208ca294348632d67305825a0fe256d368d466d1634707b821d989e55ead00"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "samples/array-4",
|
|
"observed": {
|
|
"value": {
|
|
"lines": [
|
|
"after s0 y0: | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040",
|
|
"after s0 y1: | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040",
|
|
"after s0 y2: | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040",
|
|
"after s1 y0: | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | 33221100 77665544 bbaa9988 ffeeddcc | 33221100 77665544 bbaa9988 ffeeddcc | 33221100 77665544 bbaa9988 ffeeddcc | ffbf8040 ffbf8040 ffbf8040 ffbf8040",
|
|
"after s1 y1: | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | 33221100 77665544 bbaa9988 ffeeddcc | 33221100 77665544 bbaa9988 ffeeddcc | 33221100 77665544 bbaa9988 ffeeddcc | ffbf8040 ffbf8040 ffbf8040 ffbf8040",
|
|
"after s1 y2: | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040 | ffbf8040 ffbf8040 ffbf8040 ffbf8040"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "notices",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "set",
|
|
"observed": {
|
|
"value": {
|
|
"nothing": "announced_nothing"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "counts",
|
|
"observed": {
|
|
"value": {
|
|
"fields": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"validated": "not_run"
|
|
}
|
|
],
|
|
"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,
|
|
"arena_pools_made": 1,
|
|
"argument_objects_retained": 6,
|
|
"argument_tables_retained": 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_barriers": 1,
|
|
"command_buffers_begun": 14,
|
|
"command_buffers_begun_batch_barriers": 4,
|
|
"command_buffers_begun_batch_work": 1,
|
|
"command_buffers_begun_continuations": 1,
|
|
"command_buffers_begun_encoders": 5,
|
|
"command_buffers_begun_secondaries": 2,
|
|
"command_buffers_begun_segments": 1,
|
|
"command_buffers_deferred": 9,
|
|
"command_buffers_submitted": 12,
|
|
"commands_recorded.begin_command_buffer": 11,
|
|
"commands_recorded.cmd_begin_render_pass": 3,
|
|
"commands_recorded.cmd_bind_descriptor_sets": 3,
|
|
"commands_recorded.cmd_bind_pipeline": 3,
|
|
"commands_recorded.cmd_clear_color_image": 6,
|
|
"commands_recorded.cmd_copy_buffer": 1,
|
|
"commands_recorded.cmd_copy_image": 1,
|
|
"commands_recorded.cmd_dispatch": 2,
|
|
"commands_recorded.cmd_draw": 1,
|
|
"commands_recorded.cmd_end_render_pass": 3,
|
|
"commands_recorded.cmd_execute_commands": 2,
|
|
"commands_recorded.cmd_pipeline_barrier": 18,
|
|
"commands_recorded.cmd_push_constants": 2,
|
|
"commands_recorded.cmd_set_scissor": 1,
|
|
"commands_recorded.cmd_set_viewport": 1,
|
|
"commands_recorded.end_command_buffer": 14,
|
|
"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,
|
|
"creation_pipelines_made": 1,
|
|
"device_memory_allocated": 205521024,
|
|
"dispatch_pipelines_pooled": 1,
|
|
"dispatch_shapes_made": 1,
|
|
"dispatch_used_resources_listed": 1,
|
|
"encoder_command_buffers_begun": 9,
|
|
"fence_waits": 1,
|
|
"finales_folded": 1,
|
|
"functions_shared": 2,
|
|
"functions_translated": 1,
|
|
"gate_waits": 1,
|
|
"gate_waits_slept": 1,
|
|
"heap_tables_worked_out": 1,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 1,
|
|
"new_buffer_bytes_cleared": 512,
|
|
"object_churn.buffers_parked": 4,
|
|
"object_churn.buffers_recycled": 4,
|
|
"object_churn.images_evicted": 3,
|
|
"object_churn.images_own_memory": 3,
|
|
"object_churn.images_parked": 3,
|
|
"object_churn.textures_image": 5,
|
|
"object_churn.vk_image_bindings": 3,
|
|
"object_churn.vk_image_views_made": 6,
|
|
"object_churn.vk_images_destroyed": 5,
|
|
"object_churn.vk_images_made": 5,
|
|
"passes_not_inline_layouts": 2,
|
|
"pipeline_layouts_made": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queue_submissions": 1,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"render_encoders_ended": 2,
|
|
"render_passes_begun_instances": 2,
|
|
"render_passes_made": 2,
|
|
"resident_textures_looked_at": 2,
|
|
"scheduled_where_submitted": 1,
|
|
"scheduler_passes": 1,
|
|
"scheduler_passes_by_waiters": 1,
|
|
"scheduler_sleeps": 1,
|
|
"scheduler_wakes_commit": 1,
|
|
"shader_modules_made": 1,
|
|
"slot_returns": 1,
|
|
"spare_command_pools_taken": 1,
|
|
"stage_entries_specialized": 1,
|
|
"submit_infos": 2,
|
|
"trail_waits": 1,
|
|
"variant_pipelines_made": 2,
|
|
"variants_taken_back": 1,
|
|
"wakes_completion_waiters": 1,
|
|
"wakes_spared": 7
|
|
},
|
|
"moving": {
|
|
"gate_waits_slept": 0
|
|
},
|
|
"composed": {
|
|
"addressable_buffers_made": 2,
|
|
"arena_pools_made": 1,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 0,
|
|
"command_buffers_begun": 14,
|
|
"command_buffers_begun_batch_barriers": 4,
|
|
"command_buffers_begun_continuations": 1,
|
|
"command_buffers_begun_segments": 1,
|
|
"command_buffers_deferred": 0,
|
|
"command_buffers_submitted": 12,
|
|
"commands_recorded.cmd_clear_color_image": 6,
|
|
"commands_recorded.cmd_copy_buffer": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 18,
|
|
"commands_recorded.end_command_buffer": 14,
|
|
"creation_pipelines_made": 0,
|
|
"device_memory_allocated": 201326720,
|
|
"dispatch_pipelines_pooled": 1,
|
|
"dispatch_used_resources_listed": 1,
|
|
"encoder_command_buffers_begun": 9,
|
|
"functions_translated": 1,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 0,
|
|
"pipeline_layouts_made": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queues_sharing_a_vk_queue": 0,
|
|
"render_passes_made": 2,
|
|
"shader_modules_made": 1,
|
|
"stage_entries_specialized": 1,
|
|
"submit_infos": 2,
|
|
"variant_pipelines_made": 1
|
|
},
|
|
"per_state": {
|
|
"pipelines": 0,
|
|
"states": 2
|
|
}
|
|
}
|
|
],
|
|
"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": "sample-fills-array-4",
|
|
"calls": 0,
|
|
"in_calls": 0,
|
|
"on_cpu": 0,
|
|
"blocked": 0,
|
|
"elsewhere": 0,
|
|
"spend": 0,
|
|
"spend_least": 0,
|
|
"spend_most": 0,
|
|
"stopped": "the case forbids running its Metal leg here: Metal fills a texture through private API alone, so no public call exists to record it from",
|
|
"per_call": []
|
|
}
|
|
},
|
|
{
|
|
"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": "sample-fills-array-4",
|
|
"calls": 1,
|
|
"in_calls": 28070959,
|
|
"on_cpu": 1566667,
|
|
"blocked": 26487251,
|
|
"elsewhere": 514917,
|
|
"spend": 28621792,
|
|
"spend_least": 28163208,
|
|
"spend_most": 31982417,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 28070959,
|
|
"on_cpu": 1566667,
|
|
"blocked": 26487251,
|
|
"wall_least": 27676667,
|
|
"wall_most": 31411333,
|
|
"wall_total": 28070959,
|
|
"on_cpu_total": 1566667,
|
|
"blocked_total": 26487251
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|