{"id":1505,"date":"2024-02-04T10:25:46","date_gmt":"2024-02-04T10:25:46","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=1505"},"modified":"2024-02-10T00:34:03","modified_gmt":"2024-02-10T00:34:03","slug":"bullet","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/bullet\/","title":{"rendered":"bullet"},"content":{"rendered":"\n<p>Bullet is a physics engine. There are 7 quick running tests and all iterations are done within a minute.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"960\" src=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-46.png\" alt=\"\" class=\"wp-image-1647\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-46.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-46-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/systemtime-46-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown profile is similarly sparse<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"960\" src=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-48.png\" alt=\"\" class=\"wp-image-1649\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-48.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-48-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/02\/amdtopdown-48-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show a moderate retirement rate with a mix of cpu and memory backend stalls.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              38.253\non_cpu               0.019          # 0.31 \/ 16 cores\nutime                11.022\nstime                0.892\nnvcsw                2056           # 88.05%\nnivcsw               279            # 11.95%\ninblock              0              # 0.00\/sec\nonblock              18296          # 478.29\/sec\ncpu-clock            11932280613    # 11.932 seconds\ntask-clock           11934907928    # 11.935 seconds\npage faults          196140         # 16434.144\/sec\ncontext switches     2356           # 197.404\/sec\ncpu migrations       257            # 21.533\/sec\nmajor page faults    4              # 0.335\/sec\nminor page faults    196136         # 16433.809\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             12216335844    # 101.404 branches per 1000 inst\nbranch misses        245967672      # 2.01% branch miss\nconditional          9473338786     # 78.635 conditional branches per 1000 inst\nindirect             261183127      # 2.168 indirect branches per 1000 inst\ncpu-cycles           47224082943    # 0.08 GHz\ninstructions         118935289431   # 2.52 IPC\nslots                96619580664    #\nretiring             40988917158    # 42.4% (42.4%)\n-- ucode             43012882       #     0.0%\n-- fastpath          40945904276    #    42.4%\nfrontend             11607690657    # 12.0% (12.0%)\n-- latency           8104026678     #     8.4%\n-- bandwidth         3503663979     #     3.6%\nbackend              35333296489    # 36.6% (36.6%)\n-- cpu               19455206170    #    20.1%\n-- memory            15878090319    #    16.4%\nspeculation          8652869371     #  9.0% ( 9.0%)\n-- branch mispredict 8254776210     #     8.5%\n-- pipeline restart  398093161      #     0.4%\nsmt-contention       36537351       #  0.0% ( 0.0%)\ncpu-cycles           4256144502     # 0.08 GHz\ninstructions         7760686750     # 1.82 IPC\ninstructions         3022290915     # 32.048 l2 access per 1000 inst\nl2 hit from l1       81461827       # 18.72% l2 miss\nl2 miss from l1      9759834        #\nl2 hit from l2 pf    7023058        #\nl3 hit from l2 pf    3534820        #\nl3 miss from l2 pf   4838165        #\ninstructions         2885024594     # 11.427 float per 1000 inst\nfloat 512            28             # 0.000 AVX-512 per 1000 inst\nfloat 256            0              # 0.000 AVX-256 per 1000 inst\nfloat 128            32966086       # 11.427 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         0              # 0.000 scalar per 1000 inst\ninstructions         2677081        #\nopcache              990295         # 369.916 opcache per 1000 inst\nopcache miss         531498         # 53.7% opcache miss rate\nl1 dTLB miss         6356           # 2.374 L1 dTLB per 1000 inst\nl2 dTLB miss         1184           # 0.442 L2 dTLB per 1000 inst\ninstructions         2704559        #\nicache               1317544        # 487.157 icache per 1000 inst\nicache miss          110111         #  8.4% icache miss rate\nl1 iTLB miss         13             # 0.005 L1 iTLB per 1000 inst\nl2 iTLB miss         0              # 0.000 L2 iTLB per 1000 inst\ntlb flush            19             # 0.007 TLB flush per 1000 inst\n<\/code><\/pre>\n\n\n\n<p>Intel metrics<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              38.068\non_cpu               0.020          # 0.32 \/ 16 cores\nutime                11.744\nstime                0.551\nnvcsw                1917           # 92.21%\nnivcsw               162            # 7.79%\ninblock              5200           # 136.60\/sec\nonblock              7040           # 184.93\/sec\ncpu-clock            12304472437    # 12.304 seconds\ntask-clock           12307116018    # 12.307 seconds\npage faults          185388         # 15063.480\/sec\ncontext switches     2096           # 170.308\/sec\ncpu migrations       263            # 21.370\/sec\nmajor page faults    25             # 2.031\/sec\nminor page faults    185363         # 15061.449\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             11900554365    # 99.862 branches per 1000 inst\nbranch misses        205043401      # 1.72% branch miss\nconditional          11900566301    # 99.862 conditional branches per 1000 inst\nindirect             262367471      # 2.202 indirect branches per 1000 inst\nslots                20090830988    #\nretiring             7357919108     # 36.6% (36.6%)\n-- ucode             641108235      #     3.2%\n-- fastpath          6716810873     #    33.4%\nfrontend             5689322420     # 28.3% (28.3%)\n-- latency           2717104724     #    13.5%\n-- bandwidth         2972217696     #    14.8%\nbackend              4791155373     # 23.8% (23.8%)\n-- cpu               1940270154     #     9.7%\n-- memory            2850885219     #    14.2%\nspeculation          2296151869     # 11.4% (11.4%) high\n-- branch mispredict 2113612426     #    10.5%\n-- pipeline restart  182539443      #     0.9%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           45669561675    # 0.08 GHz\ninstructions         119196912953   # 2.61 IPC\nl2 access            3608690017     # 30.316 l2 access per 1000 inst\nl2 miss              1216320423     # 33.71% l2 miss\ncpu-cycles           3363730928     # 21.5% memory latency\nload stalls          652478258      #  0.9% l1 bound\nl1 miss              621093255      #  9.0% l2 bound\nl2 miss              317046637      #  2.4% l3 bound\nl3 miss              237542561      #  7.1% dram bound\nstore_stalls         70449159       #  2.1% store bound\n<\/code><\/pre>\n\n\n\n<p>Process overview shows mostly the test harness<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>299 processes\n\t 68 clinfo                  20.50     5.66\n\t 38 vulkaninfo               1.13     1.14\n\t  6 glxinfo:gdrv0            0.18     0.03\n\t  6 glxinfo:gl0              0.18     0.03\n\t  4 vulkani:disk$0           0.12     0.12\n\t  2 glxinfo                  0.08     0.01\n\t  2 glxinfo:cs0              0.08     0.01\n\t  2 glxinfo:disk$0           0.08     0.01\n\t  2 glxinfo:sh0              0.08     0.01\n\t  2 glxinfo:shlo0            0.08     0.01\n\t  2 llvmpipe-0               0.06     0.06\n\t  2 llvmpipe-1               0.06     0.06\n\t  2 llvmpipe-10              0.06     0.06\n\t  2 llvmpipe-11              0.06     0.06\n\t  2 llvmpipe-12              0.06     0.06\n\t  2 llvmpipe-13              0.06     0.06\n\t  2 llvmpipe-14              0.06     0.06\n\t  2 llvmpipe-15              0.06     0.06\n\t  2 llvmpipe-2               0.06     0.06\n\t  2 llvmpipe-3               0.06     0.06\n\t  2 llvmpipe-4               0.06     0.06\n\t  2 llvmpipe-5               0.06     0.06\n\t  2 llvmpipe-6               0.06     0.06\n\t  2 llvmpipe-7               0.06     0.06\n\t  2 llvmpipe-8               0.06     0.06\n\t  2 llvmpipe-9               0.06     0.06\n\t  6 php                      0.05     0.05\n\t  3 rocminfo                 0.03     0.00\n\t  3 clang                    0.02     0.04\n\t  1 lspci                    0.01     0.01\n\t 57 sh                       0.00     0.00\n\t 11 gsettings                0.00     0.00\n\t  6 gcc                      0.00     0.00\n\t  5 phoronix-test-s          0.00     0.00\n\t  5 stat                     0.00     0.00\n\t  4 gmain                    0.00     0.00\n\t  4 systemd-detect-          0.00     0.00\n\t  3 llvm-link                0.00     0.00\n\t  2 lscpu                    0.00     0.00\n\t  2 uname                    0.00     0.00\n\t  2 which                    0.00     0.00\n\t  2 xset                     0.00     0.00\n\t  1 cc                       0.00     0.00\n\t  1 date                     0.00     0.00\n\t  1 dconf worker             0.00     0.00\n\t  1 dirname                  0.00     0.00\n\t  1 dmesg                    0.00     0.00\n\t  1 dmidecode                0.00     0.00\n\t  1 grep                     0.00     0.00\n\t  1 ifconfig                 0.00     0.00\n\t  1 ip                       0.00     0.00\n\t  1 lsmod                    0.00     0.00\n\t  1 mktemp                   0.00     0.00\n\t  1 qdbus                    0.00     0.00\n\t  1 readlink                 0.00     0.00\n\t  1 realpath                 0.00     0.00\n\t  1 sed                      0.00     0.00\n\t  1 sort                     0.00     0.00\n\t  1 template.sh              0.00     0.00\n\t  1 wc                       0.00     0.00\n\t  1 xrandr                   0.00     0.00\n0 processes running\n47 maximum processes\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Bullet is a physics engine. There are 7 quick running tests and all iterations are done within a minute. Topdown profile is similarly sparse AMD metrics show a moderate retirement rate with a mix of cpu and memory backend stalls. <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/bullet\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":58,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1505","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/comments?post=1505"}],"version-history":[{"count":3,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1505\/revisions"}],"predecessor-version":[{"id":1650,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/1505\/revisions\/1650"}],"up":[{"embeddable":true,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/58"}],"wp:attachment":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/media?parent=1505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}