{"id":712,"date":"2024-01-20T00:50:54","date_gmt":"2024-01-20T00:50:54","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=712"},"modified":"2024-01-20T11:39:59","modified_gmt":"2024-01-20T11:39:59","slug":"build-godot","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/build-godot\/","title":{"rendered":"build-godot"},"content":{"rendered":"\n<p>Another build-centric benchmark dominated by compiler front end and mostly parallel followed by a link phase.<\/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\/01\/systemtime-40.png\" alt=\"\" class=\"wp-image-724\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-40.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-40-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-40-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown metrics show a ramp on speculation during link phase and blend of frontend\/backend stalls.<\/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\/01\/amdtopdown-78.png\" alt=\"\" class=\"wp-image-726\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-78.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-78-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-78-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics shows little floating point, many branches and an IPC around 1.0.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              1209.646\non_cpu               0.906          # 14.50 \/ 16 cores\nutime                16519.900\nstime                1014.098\nnvcsw                870298         # 46.35%\nnivcsw               1007364        # 53.65%\ninblock              0              # 0.00\/sec\nonblock              13716552       # 11339.32\/sec\ncpu-clock            17535509773276 # 17535.510 seconds\ntask-clock           17535816122214 # 17535.816 seconds\npage faults          288202538      # 16435.080\/sec\ncontext switches     1860166        # 106.078\/sec\ncpu migrations       31998          # 1.825\/sec\nmajor page faults    97             # 0.006\/sec\nminor page faults    288202435      # 16435.074\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             13626065868231 # 209.661 branches per 1000 inst\nbranch misses        407816179504   # 2.99% branch miss\nconditional          10644722639658 # 163.788 conditional branches per 1000 inst\nindirect             257241607611   # 3.958 indirect branches per 1000 inst\ncpu-cycles           70873262391853 # 3.66 GHz\ninstructions         64803873990344 # 0.91 IPC\nslots                142119680279160 #\nretiring             20893216343412 # 14.7% (18.2%)\n-- ucode             15145956491    #     0.0%\n-- fastpath          20878070386921 #    14.7%\nfrontend             46491196377863 # 32.7% (40.5%)\n-- latency           35103877522542 #    24.7%\n-- bandwidth         11387318855321 #     8.0%\nbackend              42764303377268 # 30.1% (37.3%)\n-- cpu               4115333414431  #     2.9%\n-- memory            38648969962837 #    27.2%\nspeculation          4525168748685  #  3.2% ( 3.9%)\n-- branch mispredict 4476737300689  #     3.1%\n-- pipeline restart  48431447996    #     0.0%\nsmt-contention       27445668415324 # 19.3% ( 0.0%)\ncpu-cycles           70835468080231 # 3.66 GHz\ninstructions         64799283068727 # 0.91 IPC\ninstructions         21624883792394 # 53.559 l2 access per 1000 inst\nl2 hit from l1       1002069490231  # 20.77% l2 miss\nl2 miss from l1      161270628693   #\nl2 hit from l2 pf    76862127113    #\nl3 hit from l2 pf    34127710700    #\nl3 miss from l2 pf   45151540732    #\ninstructions         21625304394577 # 21.554 float per 1000 inst\nfloat 512            8922           # 0.000 AVX-512 per 1000 inst\nfloat 256            122666         # 0.000 AVX-256 per 1000 inst\nfloat 128            466116004804   # 21.554 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         9              # 0.000 scalar 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              1465.669\non_cpu               0.914          # 14.62 \/ 16 cores\nutime                20583.894\nstime                845.980\nnvcsw                883632         # 46.18%\nnivcsw               1029627        # 53.82%\ninblock              110096         # 75.12\/sec\nonblock              13705448       # 9350.98\/sec\ncpu-clock            21430771564660 # 21430.772 seconds\ntask-clock           21431106614784 # 21431.107 seconds\npage faults          288122656      # 13444.133\/sec\ncontext switches     1897821        # 88.555\/sec\ncpu migrations       31810          # 1.484\/sec\nmajor page faults    368            # 0.017\/sec\nminor page faults    288122282      # 13444.116\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             13534763529091 # 208.570 branches per 1000 inst\nbranch misses        362219734664   # 2.68% branch miss\nconditional          13534764395363 # 208.570 conditional branches per 1000 inst\nindirect             2456189343681  # 37.850 indirect branches per 1000 inst\nslots                99044278024226 #\nretiring             33495619918716 # 33.8% (33.8%)\n-- ucode             2284626889225  #     2.3%\n-- fastpath          31210993029491 #    31.5%\nfrontend             37200365452806 # 37.6% (37.6%)\n-- latency           20617705320680 #    20.8%\n-- bandwidth         16582660132126 #    16.7%\nbackend              13671188180151 # 13.8% (13.8%)\n-- cpu               4628471163944  #     4.7%\n-- memory            9042717016207  #     9.1%\nspeculation          14912895461976 # 15.1% (15.1%)\n-- branch mispredict 14528811066191 #    14.7%\n-- pipeline restart  384084395785   #     0.4%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           41887296280751 # 1.80 GHz\ninstructions         47005368323008 # 1.12 IPC\nl2 access            2026495261939  # 56.492 l2 access per 1000 inst\nl2 miss              544754847070   # 26.88% l2 miss\n<\/code><\/pre>\n\n\n\n<p>Process overview shows C++ frontend with less C.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>27046 processes\n\t5016 cc1plus              15838.86   772.51\n\t 51 scons                 1466.35   106.62\n\t1368 cc1                    340.15    14.94\n\t6384 as                     120.25    15.40\n\t 68 clinfo                  17.04     5.99\n\t  3 ld                       7.94     2.62\n\t  3 xz                       3.41     0.11\n\t156 msgfmt                   2.41     0.10\n\t 38 vulkaninfo               1.52     0.77\n\t174 ar                       1.12     5.43\n\t174 ranlib                   1.00     5.69\n\t  6 php                      0.20     0.10\n\t  4 vulkani:disk$0           0.16     0.09\n\t  6 glxinfo:gdrv0            0.14     0.10\n\t  2 llvmpipe-0               0.08     0.05\n\t  2 llvmpipe-1               0.08     0.05\n\t  2 llvmpipe-10              0.08     0.05\n\t  2 llvmpipe-11              0.08     0.05\n\t  2 llvmpipe-12              0.08     0.05\n\t  2 llvmpipe-13              0.08     0.05\n\t  2 llvmpipe-14              0.08     0.05\n\t  2 llvmpipe-15              0.08     0.05\n\t  2 llvmpipe-3               0.08     0.05\n\t  2 llvmpipe-4               0.08     0.05\n\t  2 llvmpipe-5               0.08     0.05\n\t  2 llvmpipe-6               0.08     0.05\n\t  2 llvmpipe-7               0.08     0.05\n\t  2 llvmpipe-8               0.08     0.05\n\t  2 llvmpipe-9               0.08     0.05\n\t  2 llvmpipe-2               0.08     0.04\n\t  3 tar                      0.07     1.28\n\t  6 clang                    0.07     0.05\n\t  2 glxinfo                  0.06     0.04\n\t  2 glxinfo:cs0              0.06     0.04\n\t  2 glxinfo:disk$0           0.06     0.04\n\t  2 glxinfo:sh0              0.06     0.04\n\t  2 glxinfo:shlo0            0.06     0.04\n\t  4 rm                       0.01     1.17\n\t  1 lspci                    0.00     0.03\n\t7006 sh                       0.00     0.00\n\t5038 g++                      0.00     0.00\n\t1392 gcc                      0.00     0.00\n\t  8 gsettings                0.00     0.00\n\t  8 stat                     0.00     0.00\n\t  8 systemd-detect-          0.00     0.00\n\t  6 llvm-link                0.00     0.00\n\t  6 swig                     0.00     0.00\n\t  5 gmain                    0.00     0.00\n\t  5 phoronix-test-s          0.00     0.00\n\t  4 bash                     0.00     0.00\n\t  3 build-godot              0.00     0.00\n\t  3 collect2                 0.00     0.00\n\t  3 dconf worker             0.00     0.00\n\t  3 mv                       0.00     0.00\n\t  3 pkg-config               0.00     0.00\n\t  3 rocminfo                 0.00     0.00\n\t  2 cc                       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 date                     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 ps                       0.00     0.00\n\t  1 python                   0.00     0.00\n\t  1 python3                  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 stty                     0.00     0.00\n\t  1 systemctl                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\n3 processes running\n94 maximum processes\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Another build-centric benchmark dominated by compiler front end and mostly parallel followed by a link phase. Topdown metrics show a ramp on speculation during link phase and blend of frontend\/backend stalls. AMD metrics shows little floating point, many branches and <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/build-godot\/\"><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-712","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/712","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=712"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/712\/revisions"}],"predecessor-version":[{"id":727,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/712\/revisions\/727"}],"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=712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}