{"id":523,"date":"2024-01-14T00:41:50","date_gmt":"2024-01-14T00:41:50","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=523"},"modified":"2024-01-14T15:15:11","modified_gmt":"2024-01-14T15:15:11","slug":"tscp","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/tscp\/","title":{"rendered":"tscp"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">TSCP is a chess program with a built-in benchmark. The test finishes quickly with a message of &#8220;The test run ended quickly&#8221;, though I get a result. The overview profile suggests a single-threaded test.<\/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-14.png\" alt=\"\" class=\"wp-image-546\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-14.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-14-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-14-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">AMD overview metrics give a very high front-end time and low backend time.<\/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-52.png\" alt=\"\" class=\"wp-image-548\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-52.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-52-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-52-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">AMD metrics show very low on cpu<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              118.511\non_cpu               0.015          # 0.23 \/ 16 cores\nutime                26.700\nstime                0.844\nnvcsw                2159           # 87.20%\nnivcsw               317            # 12.80%\ninblock              0              # 0.00\/sec\nonblock              13184          # 111.25\/sec\ncpu-clock            27574979832    # 27.575 seconds\ntask-clock           27578874617    # 27.579 seconds\npage faults          158447         # 5745.231\/sec\ncontext switches     2858           # 103.630\/sec\ncpu migrations       272            # 9.863\/sec\nmajor page faults    2              # 0.073\/sec\nminor page faults    158445         # 5745.158\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             55872935462    # 256.869 branches per 1000 inst\nbranch misses        1120828259     # 2.01% branch miss\nconditional          47063990959    # 216.371 conditional branches per 1000 inst\nindirect             913630146      # 4.200 indirect branches per 1000 inst\ncpu-cycles           91470778439    # 0.05 GHz\ninstructions         216053507665   # 2.36 IPC\nslots                185224426386   #\nretiring             66576281741    # 35.9% (35.9%)\n-- ucode             9666593        #     0.0%\n-- fastpath          66566615148    #    35.9%\nfrontend             95850668779    # 51.7% (51.8%)\n-- latency           49922398968    #    27.0%\n-- bandwidth         45928269811    #    24.8%\nbackend              8590624945     #  4.6% ( 4.6%)\n-- cpu               2725229944     #     1.5%\n-- memory            5865395001     #     3.2%\nspeculation          14186968488    #  7.7% ( 7.7%)\n-- branch mispredict 14119307225    #     7.6%\n-- pipeline restart  67661263       #     0.0%\nsmt-contention       19657921       #  0.0% ( 0.0%)\ncpu-cycles           87475693531    # 0.05 GHz\ninstructions         206381694938   # 2.36 IPC\ninstructions         69295372718    # 1.713 l2 access per 1000 inst\nl2 hit from l1       102261462      # 18.56% l2 miss\nl2 miss from l1      13057356       #\nl2 hit from l2 pf    7473716        #\nl3 hit from l2 pf    4734336        #\nl3 miss from l2 pf   4235457        #\ninstructions         69338791816    # 18.594 float per 1000 inst\nfloat 512            84             # 0.000 AVX-512 per 1000 inst\nfloat 256            576            # 0.000 AVX-256 per 1000 inst\nfloat 128            1289262058     # 18.594 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 class=\"wp-block-paragraph\">Intel metrics<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              28.989\non_cpu               0.014          # 0.23 \/ 16 cores\nutime                6.322\nstime                0.389\nnvcsw                1866           # 92.97%\nnivcsw               141            # 7.03%\ninblock              952            # 32.84\/sec\nonblock              1352           # 46.64\/sec\ncpu-clock            6721651646     # 6.722 seconds\ntask-clock           6724102667     # 6.724 seconds\npage faults          136035         # 20230.952\/sec\ncontext switches     1980           # 294.463\/sec\ncpu migrations       272            # 40.451\/sec\nmajor page faults    3              # 0.446\/sec\nminor page faults    136032         # 20230.506\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             13817467099    # 250.477 branches per 1000 inst\nbranch misses        316263552      # 2.29% branch miss\nconditional          13817479131    # 250.477 conditional branches per 1000 inst\nindirect             247069022      # 4.479 indirect branches per 1000 inst\nslots                144959669978   #\nretiring             47446242084    # 32.7% (32.7%)\n-- ucode             2647087903     #     1.8%\n-- fastpath          44799154181    #    30.9%\nfrontend             59211447837    # 40.8% (40.8%)\n-- latency           25103733008    #    17.3%\n-- bandwidth         34107714829    #    23.5%\nbackend              10466218521    #  7.2% ( 7.2%)\n-- cpu               7038780927     #     4.9%\n-- memory            3427437594     #     2.4%\nspeculation          27964469921    # 19.3% (19.3%)\n-- branch mispredict 27603456044    #    19.0%\n-- pipeline restart  361013877      #     0.2%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           24326027173    # 0.05 GHz\ninstructions         55091072654    # 2.26 IPC\nl2 access            257226497      # 4.673 l2 access per 1000 inst\nl2 miss              81269382       # 31.59% l2 miss\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Process overview<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>388 processes\n\t 46 tscp                    26.59     0.00\n\t 68 clinfo                  18.50     7.34\n\t 38 vulkaninfo               0.95     1.33\n\t  6 glxinfo:gdrv0            0.22     0.03\n\t  4 vulkani:disk$0           0.10     0.14\n\t  2 glxinfo                  0.10     0.01\n\t  2 glxinfo:cs0              0.10     0.01\n\t  2 glxinfo:disk$0           0.10     0.01\n\t  2 glxinfo:sh0              0.10     0.01\n\t  2 glxinfo:shlo0            0.10     0.01\n\t  6 php                      0.07     0.13\n\t  2 llvmpipe-0               0.05     0.07\n\t  2 llvmpipe-1               0.05     0.07\n\t  2 llvmpipe-10              0.05     0.07\n\t  2 llvmpipe-11              0.05     0.07\n\t  2 llvmpipe-12              0.05     0.07\n\t  2 llvmpipe-13              0.05     0.07\n\t  2 llvmpipe-14              0.05     0.07\n\t  2 llvmpipe-15              0.05     0.07\n\t  2 llvmpipe-2               0.05     0.07\n\t  2 llvmpipe-3               0.05     0.07\n\t  2 llvmpipe-4               0.05     0.07\n\t  2 llvmpipe-5               0.05     0.07\n\t  2 llvmpipe-6               0.05     0.07\n\t  2 llvmpipe-7               0.05     0.07\n\t  2 llvmpipe-8               0.05     0.07\n\t  2 llvmpipe-9               0.05     0.07\n\t  6 clang                    0.04     0.08\n\t  3 rocminfo                 0.03     0.00\n\t  1 lspci                    0.01     0.02\n\t 82 sh                       0.00     0.00\n\t 13 gcc                      0.00     0.00\n\t 13 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  2 cc                       0.00     0.00\n\t  2 gmain                    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 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 class=\"wp-block-paragraph\">Process structure<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      229134) tscp             cpu=7 start=5.83  finish=6.96 \n        229135) tscp             cpu=9 start=5.83  finish=6.96 \n      229136) tscp             cpu=13 start=10.97 finish=12.14\n        229137) tscp             cpu=6 start=10.97 finish=12.13\n      229140) tscp             cpu=13 start=16.14 finish=17.31\n        229141) tscp             cpu=6 start=16.14 finish=17.31\n      229142) tscp             cpu=13 start=21.31 finish=22.48\n        229143) tscp             cpu=14 start=21.32 finish=22.48\n      229144) tscp             cpu=7 start=26.48 finish=27.65\n        229145) tscp             cpu=0 start=26.49 finish=27.65\n      229146) tscp             cpu=7 start=31.66 finish=32.82\n        229147) tscp             cpu=8 start=31.66 finish=32.82\n      229148) tscp             cpu=0 start=36.83 finish=38.00\n        229149) tscp             cpu=10 start=36.83 finish=38.00\n      229150) tscp             cpu=15 start=42.00 finish=43.17\n        229151) tscp             cpu=8 start=42.00 finish=43.17\n      229152) tscp             cpu=7 start=47.17 finish=48.34\n        229153) tscp             cpu=8 start=47.18 finish=48.34\n      229154) tscp             cpu=15 start=52.35 finish=53.52\n        229155) tscp             cpu=0 start=52.35 finish=53.52\n      229156) tscp             cpu=15 start=57.52 finish=58.69\n        229157) tscp             cpu=0 start=57.52 finish=58.69\n      229158) tscp             cpu=7 start=62.69 finish=63.86\n        229159) tscp             cpu=0 start=62.69 finish=63.86\n      229160) tscp             cpu=7 start=67.86 finish=69.03\n        229161) tscp             cpu=8 start=67.87 finish=69.03\n      229162) tscp             cpu=15 start=73.03 finish=74.20\n        229163) tscp             cpu=0 start=73.03 finish=74.19\n      229164) tscp             cpu=7 start=78.20 finish=79.37\n        229165) tscp             cpu=0 start=78.20 finish=79.37\n      229166) tscp             cpu=15 start=83.37 finish=84.54\n        229167) tscp             cpu=0 start=83.38 finish=84.54\n      229168) tscp             cpu=15 start=88.54 finish=89.70\n        229169) tscp             cpu=0 start=88.54 finish=89.70\n      229170) tscp             cpu=7 start=93.71 finish=94.87\n        229171) tscp             cpu=8 start=93.71 finish=94.87\n      229172) tscp             cpu=15 start=98.88 finish=100.05\n        229173) tscp             cpu=8 start=98.88 finish=100.05\n      229174) tscp             cpu=15 start=104.05 finish=105.22\n        229175) tscp             cpu=0 start=104.05 finish=105.22\n      229176) tscp             cpu=15 start=109.22 finish=110.39\n        229177) tscp             cpu=0 start=109.23 finish=110.39\n      229179) tscp             cpu=15 start=114.39 finish=115.56\n        229180) tscp             cpu=0 start=114.40 finish=115.56\n      229181) tscp             cpu=15 start=119.57 finish=120.73\n        229182) tscp             cpu=0 start=119.57 finish=120.73\n\n\n\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>TSCP is a chess program with a built-in benchmark. The test finishes quickly with a message of &#8220;The test run ended quickly&#8221;, though I get a result. The overview profile suggests a single-threaded test. AMD overview metrics give a very <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/tscp\/\"><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-523","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/523","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=523"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/523\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/523\/revisions\/549"}],"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=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}