{"id":599,"date":"2024-01-15T14:42:56","date_gmt":"2024-01-15T14:42:56","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=599"},"modified":"2024-01-15T14:42:57","modified_gmt":"2024-01-15T14:42:57","slug":"stargate","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/stargate\/","title":{"rendered":"stargate"},"content":{"rendered":"\n<p>Digital audio workstation with eight workloads, most running on about half the cores.<\/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-22.png\" alt=\"\" class=\"wp-image-600\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-22.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-22-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-22-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown shows a fairly high retirement rate and a moderate 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-60.png\" alt=\"\" class=\"wp-image-601\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-60.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-60-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-60-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show floating point code with some L2 access and ~3% L2 miss rate.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              1726.242\non_cpu               0.382          # 6.11 \/ 16 cores\nutime                10500.850\nstime                47.074\nnvcsw                3642706        # 99.52%\nnivcsw               17684          # 0.48%\ninblock              32             # 0.02\/sec\nonblock              5563264        # 3222.76\/sec\ncpu-clock            10537365674121 # 10537.366 seconds\ntask-clock           10539488539243 # 10539.489 seconds\npage faults          5202419        # 493.612\/sec\ncontext switches     3668784        # 348.099\/sec\ncpu migrations       9860           # 0.936\/sec\nmajor page faults    2              # 0.000\/sec\nminor page faults    5202417        # 493.612\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             22526966187182 # 164.443 branches per 1000 inst\nbranch misses        69804883809    # 0.31% branch miss\nconditional          17490143949675 # 127.675 conditional branches per 1000 inst\nindirect             899288850816   # 6.565 indirect branches per 1000 inst\ncpu-cycles           43357380985760 # 1.57 GHz\ninstructions         137035285194525 # 3.16 IPC\nslots                86778583206174 #\nretiring             48737834062562 # 56.2% (56.3%)\n-- ucode             181979075018   #     0.2%\n-- fastpath          48555854987544 #    56.0%\nfrontend             4334322106455  #  5.0% ( 5.0%)\n-- latency           2225062424058  #     2.6%\n-- bandwidth         2109259682397  #     2.4%\nbackend              29024707472740 # 33.4% (33.5%)\n-- cpu               22313697880973 #    25.7%\n-- memory            6711009591767  #     7.7%\nspeculation          4525815072268  #  5.2% ( 5.2%)\n-- branch mispredict 3885614045719  #     4.5%\n-- pipeline restart  640201026549   #     0.7%\nsmt-contention       155878677039   #  0.2% ( 0.0%)\ncpu-cycles           43396568368829 # 1.57 GHz\ninstructions         137013352800870 # 3.16 IPC\ninstructions         45670507186534 # 34.828 l2 access per 1000 inst\nl2 hit from l1       1213761106561  # 3.11% l2 miss\nl2 miss from l1      9601821941     #\nl2 hit from l2 pf    336908195519   #\nl3 hit from l2 pf    25188072888    #\nl3 miss from l2 pf   14736784937    #\ninstructions         45650874552746 # 300.547 float per 1000 inst\nfloat 512            60             # 0.000 AVX-512 per 1000 inst\nfloat 256            724            # 0.000 AVX-256 per 1000 inst\nfloat 128            13720228389310 # 300.547 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<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              2218.388\non_cpu               0.509          # 8.14 \/ 16 cores\nutime                17904.234\nstime                153.060\nnvcsw                6312153        # 99.11%\nnivcsw               56716          # 0.89%\ninblock              13696          # 6.17\/sec\nonblock              5981656        # 2696.40\/sec\ncpu-clock            17923867991160 # 17923.868 seconds\ntask-clock           17934828268326 # 17934.828 seconds\npage faults          5635139        # 314.201\/sec\ncontext switches     6379725        # 355.717\/sec\ncpu migrations       58350          # 3.253\/sec\nmajor page faults    32             # 0.002\/sec\nminor page faults    5635107        # 314.199\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             25692757041603 # 169.359 branches per 1000 inst\nbranch misses        111662245731   # 0.43% branch miss\nconditional          25692757066435 # 169.359 conditional branches per 1000 inst\nindirect             6963633990831  # 45.902 indirect branches per 1000 inst\nslots                111051632095220 #\nretiring             66782619366711 # 60.1% (60.1%)\n-- ucode             6090089635057  #     5.5%\n-- fastpath          60692529731654 #    54.7%\nfrontend             7417885388931  #  6.7% ( 6.7%)\n-- latency           4029049572418  #     3.6%\n-- bandwidth         3388835816513  #     3.1%\nbackend              27455858955895 # 24.7% (24.7%)\n-- cpu               19222508412549 #    17.3%\n-- memory            8233350543346  #     7.4%\nspeculation          8540816498829  #  7.7% ( 7.7%)\n-- branch mispredict 8074182331949  #     7.3%\n-- pipeline restart  466634166880   #     0.4%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           48755331505674 # 1.54 GHz\ninstructions         170816333856671 # 3.50 IPC\nl2 access            520881946161   # 7.769 l2 access per 1000 inst\nl2 miss              139366208502   # 26.76% l2 miss\n<\/code><\/pre>\n\n\n\n<p>Process overview shows stargate-engine is primary computation process<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>600 processes\n\t216 stargate-engine      94533.21   319.23\n\t 68 clinfo                  17.67     5.24\n\t 38 vulkaninfo               1.14     1.14\n\t  4 vulkani:disk$0           0.12     0.12\n\t  6 glxinfo:gdrv0            0.12     0.09\n\t  6 php                      0.11     0.31\n\t  6 clang                    0.06     0.06\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  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  3 rocminfo                 0.03     0.00\n\t  1 lspci                    0.01     0.02\n\t  1 ps                       0.00     0.01\n\t 98 sh                       0.00     0.00\n\t 24 stargate                 0.00     0.00\n\t 13 gcc                      0.00     0.00\n\t 10 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  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 dconf worker             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 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\n0 processes running\n47 maximum processes\n<\/code><\/pre>\n\n\n\n<p>Process structure shows a regular pattern.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      276263) stargate         cpu=14 start=5.81  finish=54.84\n        276264) stargate-engine  cpu=7 start=5.82  finish=54.80\n          276265) stargate-engine  cpu=9 start=7.21  finish=54.80\n          276266) stargate-engine  cpu=13 start=7.21  finish=54.50\n          276267) stargate-engine  cpu=12 start=7.21  finish=54.50\n          276268) stargate-engine  cpu=2 start=7.21  finish=54.50\n          276269) stargate-engine  cpu=11 start=7.21  finish=54.50\n          276270) stargate-engine  cpu=14 start=7.21  finish=54.50\n          276271) stargate-engine  cpu=0 start=7.21  finish=54.50\n          276272) stargate-engine  cpu=1 start=7.21  finish=54.50\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Digital audio workstation with eight workloads, most running on about half the cores. Topdown shows a fairly high retirement rate and a moderate backend stalls. AMD metrics show floating point code with some L2 access and ~3% L2 miss rate. <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/stargate\/\"><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-599","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/599","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=599"}],"version-history":[{"count":1,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/599\/revisions"}],"predecessor-version":[{"id":602,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/599\/revisions\/602"}],"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=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}