{"id":357,"date":"2024-01-08T13:36:31","date_gmt":"2024-01-08T13:36:31","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=357"},"modified":"2024-01-09T00:38:51","modified_gmt":"2024-01-09T00:38:51","slug":"minibude","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/minibude\/","title":{"rendered":"minibude"},"content":{"rendered":"\n<p>This is a benchmark for the Bristol University Docking Engine.  A very flat profile with almost 0% time spent in front-end misses and very low L2 access and as a result high average GHz. The time bottleneck seems to be backend CPU cycles at least on AMD.<\/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-30.png\" alt=\"\" class=\"wp-image-361\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-30.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-30-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-30-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics.  The amount of frontend time is surprisingly low (0.1%), the backend CPU is higher than average. This is a floating point code that does much better on my AMD processor than Intel processor.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              860.823\non_cpu               0.959          # 15.34 \/ 16 cores\nutime                13199.154\nstime                4.191\nnvcsw                3153           # 1.55%\nnivcsw               200170         # 98.45%\ninblock              9416           # 10.94\/sec\nonblock              1472           # 1.71\/sec\ncpu-clock            13203663272263 # 13203.663 seconds\ntask-clock           13203751860729 # 13203.752 seconds\npage faults          149139         # 11.295\/sec\ncontext switches     207434         # 15.710\/sec\ncpu migrations       327            # 0.025\/sec\nmajor page faults    9              # 0.001\/sec\nminor page faults    149130         # 11.295\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             1812286189855  # 36.357 branches per 1000 inst\nbranch misses        3373308787     # 0.19% branch miss\nconditional          1736412032224  # 34.835 conditional branches per 1000 inst\nindirect             347384335      # 0.007 indirect branches per 1000 inst\ncpu-cycles           56442460721050 # 4.11 GHz\ninstructions         49855526461212 # 0.88 IPC\nslots                112896497428296 #\nretiring             16597169840414 # 14.7% (18.6%)\n-- ucode             182636319      #     0.0%\n-- fastpath          16596987204095 #    14.7%\nfrontend             133841423134   #  0.1% ( 0.1%)\n-- latency           103818842496   #     0.1%\n-- bandwidth         30022580638    #     0.0%\nbackend              72647925519692 # 64.3% (81.2%)\n-- cpu               72220434205857 #    64.0%\n-- memory            427491313835   #     0.4%\nspeculation          52940901992    #  0.0% ( 0.1%)\n-- branch mispredict 52901934851    #     0.0%\n-- pipeline restart  38967141       #     0.0%\nsmt-contention       23464406142871 # 20.8% ( 0.0%)\ncpu-cycles           56319475365345 # 4.12 GHz\ninstructions         49846507153415 # 0.89 IPC\ninstructions         16619408448807 # 0.564 l2 access per 1000 inst\nl2 hit from l1       8974505532     # 0.41% l2 miss\nl2 miss from l1      25839841       #\nl2 hit from l2 pf    387375438      #\nl3 hit from l2 pf    8204553        #\nl3 miss from l2 pf   4449609        #\ninstructions         16612896802749 # 90.745 float per 1000 inst\nfloat 512            79             # 0.000 AVX-512 per 1000 inst\nfloat 256            1115000285842  # 67.117 AVX-256 per 1000 inst\nfloat 128            392531488237   # 23.628 AVX-128 per 1000 inst\nfloat MMX            0              # 0.000 MMX per 1000 inst\nfloat scalar         0              # 0.000 scalar per 1000 inst\n<\/code><\/pre>\n\n\n\n<p>Intel metrics.  Somewhat of a contrast including more frontend latency and a lower IPC. It would be interesting to see the mix of floating point. The on-core amount is also less.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              2532.034\non_cpu               0.768          # 12.29 \/ 16 cores\nutime                31128.271\nstime                1.284\nnvcsw                23228          # 10.24%\nnivcsw               203670         # 89.76%\ninblock              9776           # 3.86\/sec\nonblock              1464           # 0.58\/sec\ncpu-clock            31128499474749 # 31128.499 seconds\ntask-clock           31128588659384 # 31128.589 seconds\npage faults          144833         # 4.653\/sec\ncontext switches     239360         # 7.689\/sec\ncpu migrations       31310          # 1.006\/sec\nmajor page faults    62             # 0.002\/sec\nminor page faults    144770         # 4.651\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             2938735691997  # 29.701 branches per 1000 inst\nbranch misses        63751468128    # 2.17% branch miss\nconditional          2938735707069  # 29.701 conditional branches per 1000 inst\nindirect             702385471417   # 7.099 indirect branches per 1000 inst\nslots                191258364400442 #\nretiring             78324202863149 # 41.0% (41.0%)\n-- ucode             9916757825840  #     5.2%\n-- fastpath          68407445037309 #    35.8%\nfrontend             33150398566636 # 17.3% (17.3%)\n-- latency           31618399330327 #    16.5%\n-- bandwidth         1531999236309  #     0.8%\nbackend              76230829114597 # 39.9% (39.9%)\n-- cpu               70409289474916 #    36.8%\n-- memory            5821539639681  #     3.0%\nspeculation          3245583067706  #  1.7% ( 1.7%)\n-- branch mispredict 3245437890649  #     1.7%\n-- pipeline restart  145177057      #     0.0%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           104562031071524 # 2.59 GHz\ninstructions         140985466084116 # 1.35 IPC\nl2 access            11979732638    # 0.167 l2 access per 1000 inst\nl2 miss              263932623      # 2.20% l2 miss\n<\/code><\/pre>\n\n\n\n<p>Process structure is straighforward<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>454 processes\n\t 96 bude                 210888.16    15.80\n\t 64 clinfo                  11.20     4.48\n\t 38 vulkaninfo               0.76     1.14\n\t  6 glxinfo:gdrv0            0.11     0.05\n\t  4 vulkani:disk$0           0.08     0.12\n\t  6 php                      0.07     0.09\n\t  2 glxinfo                  0.06     0.03\n\t  2 glxinfo:cs0              0.06     0.03\n\t  2 glxinfo:disk$0           0.06     0.03\n\t  2 glxinfo:sh0              0.06     0.03\n\t  2 glxinfo:shlo0            0.06     0.03\n\t  2 llvmpipe-0               0.04     0.06\n\t  2 llvmpipe-1               0.04     0.06\n\t  2 llvmpipe-10              0.04     0.06\n\t  2 llvmpipe-11              0.04     0.06\n\t  2 llvmpipe-12              0.04     0.06\n\t  2 llvmpipe-13              0.04     0.06\n\t  2 llvmpipe-14              0.04     0.06\n\t  2 llvmpipe-15              0.04     0.06\n\t  2 llvmpipe-2               0.04     0.06\n\t  2 llvmpipe-3               0.04     0.06\n\t  2 llvmpipe-4               0.04     0.06\n\t  2 llvmpipe-5               0.04     0.06\n\t  2 llvmpipe-6               0.04     0.06\n\t  2 llvmpipe-7               0.04     0.06\n\t  2 llvmpipe-8               0.04     0.06\n\t  2 llvmpipe-9               0.04     0.06\n\t  6 clang                    0.04     0.05\n\t  1 lspci                    0.00     0.03\n\t 91 sh                       0.00     0.00\n\t 13 gcc                      0.00     0.00\n\t 11 gsettings                0.00     0.00\n\t  9 stty                     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 minibude                 0.00     0.00\n\t  5 phoronix-test-s          0.00     0.00\n\t  4 gmain                    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 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 ps                       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 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\n0 processes running\n47 maximum processes\n<\/code><\/pre>\n\n\n\n<p>The core parts start one on each core<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      283675) minibude         cpu=6 start=46.75 finish=83.83\n        283676) bude             cpu=10 start=46.75 finish=83.82\n          283677) bude             cpu=2 start=46.76 finish=83.82\n          283678) bude             cpu=3 start=46.76 finish=83.82\n          283679) bude             cpu=4 start=46.76 finish=83.82\n          283680) bude             cpu=9 start=46.76 finish=83.82\n          283681) bude             cpu=0 start=46.76 finish=83.82\n          283682) bude             cpu=5 start=46.76 finish=83.82\n          283683) bude             cpu=6 start=46.76 finish=83.82\n          283684) bude             cpu=1 start=46.76 finish=83.82\n          283685) bude             cpu=11 start=46.76 finish=83.82\n          283686) bude             cpu=12 start=46.76 finish=83.82\n          283687) bude             cpu=8 start=46.76 finish=83.82\n          283688) bude             cpu=9 start=46.76 finish=83.82\n          283689) bude             cpu=13 start=46.76 finish=83.82\n          283690) bude             cpu=14 start=46.76 finish=83.82\n          283691) bude             cpu=7 start=46.76 finish=83.82\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is a benchmark for the Bristol University Docking Engine. A very flat profile with almost 0% time spent in front-end misses and very low L2 access and as a result high average GHz. The time bottleneck seems to be <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/minibude\/\"><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-357","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/357","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=357"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/357\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/357\/revisions\/362"}],"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=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}