491 recording(s) whose bounds moved. Pin 33 at 63ccc9da0d: cost --check on the M3 (job 13018) moved 130 gated counts. 126 went down:
RUNTIME_VERSION 1997 keeps 256 released variants (was 16), so within a round, which runs the whole set on one
device, a case takes back the variants an earlier case released (shader modules, pipeline layouts, variant
pipelines, pooled dispatch pipelines, and command buffers that made them). The 4 that went up are
device_memory_allocated, +4 or +8 MiB each (pass-bytes-srgb-decode-all-bytes, indirect-mesh-commands-object-
threadgroup-lengths, texture-pairs-storage-crossings, sparse-tails-by-texture-type): RUNTIME_VERSION 1995's 68 MiB
blocks of images (were 64 MiB).
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 b1acd456f0d20e73b1c286d6e30e333d40e0a424)
364 lines
11 KiB
JSON
364 lines
11 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "command-queue-slots",
|
|
"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": "queues",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "2ac3b6d0a386d0232917bf5efc2bb6f49ac14dc2f768ff4f39d8a5b5bdcf8f47"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "blocked-window-millis",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "1e7be6b7b822671624a11e5bad13b99f401945b10fce09c9b3a6e746970c1ad3"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "default-count",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "answered-at-once",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 64
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "next-make",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Blocked",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "answered-once-a-slot-came-back",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "another-queue-went-on",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "max-1",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "answered-at-once",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "next-make",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Blocked",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "answered-once-a-slot-came-back",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "another-queue-went-on",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "max-4",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "answered-at-once",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 4
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "next-make",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Blocked",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "answered-once-a-slot-came-back",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "another-queue-went-on",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "max-65",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "answered-at-once",
|
|
"observed": {
|
|
"value": {
|
|
"uint": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "next-make",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Blocked",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "answered-once-a-slot-came-back",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "another-queue-went-on",
|
|
"observed": {
|
|
"value": {
|
|
"bool": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"device_memory_allocated": 205520896,
|
|
"image_blocks_made_ahead": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queues_sharing_a_vk_queue": 8,
|
|
"slot_waits": 5
|
|
},
|
|
"moving": {
|
|
"pooled_memory_blocks_made": 0,
|
|
"slot_waits": 4
|
|
},
|
|
"composed": {
|
|
"addressable_buffers_made": 2,
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"device_memory_allocated": 205520896,
|
|
"image_blocks_made_ahead": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queues_sharing_a_vk_queue": 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": "command-queue-slots",
|
|
"calls": 4,
|
|
"in_calls": 1641551583,
|
|
"on_cpu": 7635791,
|
|
"blocked": 1634658541,
|
|
"elsewhere": 2311667,
|
|
"spend": 1643855625,
|
|
"spend_least": 1635916291,
|
|
"spend_most": 1652681168,
|
|
"per_call": [
|
|
{
|
|
"call": "queue_slots",
|
|
"least_calls": 4,
|
|
"most_calls": 4,
|
|
"wall": 411260250,
|
|
"on_cpu": 1702125,
|
|
"blocked": 410055167,
|
|
"wall_least": 404585334,
|
|
"wall_most": 412085084,
|
|
"wall_total": 1641551583,
|
|
"on_cpu_total": 7635791,
|
|
"blocked_total": 1634658541
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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-queue-slots",
|
|
"calls": 4,
|
|
"in_calls": 1636056959,
|
|
"on_cpu": 825209,
|
|
"blocked": 1635399416,
|
|
"elsewhere": 2685125,
|
|
"spend": 1638153459,
|
|
"spend_least": 1634155001,
|
|
"spend_most": 1644690624,
|
|
"per_call": [
|
|
{
|
|
"call": "queue_slots",
|
|
"least_calls": 4,
|
|
"most_calls": 4,
|
|
"wall": 410110375,
|
|
"on_cpu": 181125,
|
|
"blocked": 410034041,
|
|
"wall_least": 406331458,
|
|
"wall_most": 410368875,
|
|
"wall_total": 1636056959,
|
|
"on_cpu_total": 825209,
|
|
"blocked_total": 1635399416
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|