{"id":674,"date":"2024-01-18T02:35:15","date_gmt":"2024-01-18T02:35:15","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=674"},"modified":"2024-01-18T02:35:16","modified_gmt":"2024-01-18T02:35:16","slug":"dolfyn","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/dolfyn\/","title":{"rendered":"dolfyn"},"content":{"rendered":"\n<p>Doflyn is a very quick running benchmark in CFD. The entire test with three iterations completes in less than 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\/01\/systemtime-33.png\" alt=\"\" class=\"wp-image-675\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-33.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-33-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-33-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>The topdown profile has a relatively high retirement rate with some cpu-based 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-70.png\" alt=\"\" class=\"wp-image-676\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-70.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-70-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-70-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show floating point code and somewhat low L2 access. The on cpu is a single-threaded program.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              52.855\non_cpu               0.046          # 0.73 \/ 16 cores\nutime                37.267\nstime                1.516\nnvcsw                8067           # 95.26%\nnivcsw               401            # 4.74%\ninblock              8              # 0.15\/sec\nonblock              135856         # 2570.36\/sec\ncpu-clock            38749381704    # 38.749 seconds\ntask-clock           38759105490    # 38.759 seconds\npage faults          204106         # 5266.014\/sec\ncontext switches     8431           # 217.523\/sec\ncpu migrations       280            # 7.224\/sec\nmajor page faults    2              # 0.052\/sec\nminor page faults    204104         # 5265.963\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             74085607480    # 112.056 branches per 1000 inst\nbranch misses        297221047      # 0.40% branch miss\nconditional          67706793685    # 102.408 conditional branches per 1000 inst\nindirect             332626041      # 0.503 indirect branches per 1000 inst\ncpu-cycles           171812239762   # 0.20 GHz\ninstructions         657055209430   # 3.82 IPC\nslots                347057238312   #\nretiring             211479166926   # 60.9% (60.9%)\n-- ucode             36275577       #     0.0%\n-- fastpath          211442891349   #    60.9%\nfrontend             21493803160    #  6.2% ( 6.2%)\n-- latency           13293731340    #     3.8%\n-- bandwidth         8200071820     #     2.4%\nbackend              104985951609   # 30.3% (30.3%)\n-- cpu               83128694937    #    24.0%\n-- memory            21857256672    #     6.3%\nspeculation          9051941671     #  2.6% ( 2.6%)\n-- branch mispredict 8406933807     #     2.4%\n-- pipeline restart  645007864      #     0.2%\nsmt-contention       46103022       #  0.0% ( 0.0%)\ncpu-cycles           171757808937   # 0.20 GHz\ninstructions         655371739384   # 3.82 IPC\ninstructions         220121829248   # 45.411 l2 access per 1000 inst\nl2 hit from l1       6181572101     # 23.15% l2 miss\nl2 miss from l1      233242806      #\nl2 hit from l2 pf    1733150975     #\nl3 hit from l2 pf    2074871799     #\nl3 miss from l2 pf   6331954        #\ninstructions         220424184932   # 197.147 float per 1000 inst\nfloat 512            124            # 0.000 AVX-512 per 1000 inst\nfloat 256            648            # 0.000 AVX-256 per 1000 inst\nfloat 128            43455996941    # 197.147 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>Process summary<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>480 processes\n\t 21 dolfyn                  35.58     0.41\n\t 67 clinfo                  16.23     6.22\n\t 38 vulkaninfo               1.24     1.06\n\t 18 dolgeo                   0.20     0.03\n\t  4 vulkani:disk$0           0.13     0.11\n\t  6 glxinfo:gdrv0            0.12     0.07\n\t  6 php                      0.08     0.18\n\t  2 llvmpipe-0               0.07     0.06\n\t  2 llvmpipe-1               0.07     0.06\n\t  2 llvmpipe-10              0.07     0.06\n\t  2 llvmpipe-11              0.07     0.06\n\t  2 llvmpipe-12              0.07     0.06\n\t  2 llvmpipe-13              0.07     0.06\n\t  2 llvmpipe-14              0.07     0.06\n\t  2 llvmpipe-15              0.07     0.06\n\t  2 llvmpipe-2               0.07     0.06\n\t  2 llvmpipe-3               0.07     0.06\n\t  2 llvmpipe-4               0.07     0.06\n\t  2 llvmpipe-5               0.07     0.06\n\t  2 llvmpipe-6               0.07     0.06\n\t  2 llvmpipe-7               0.07     0.06\n\t  2 llvmpipe-8               0.07     0.06\n\t  2 llvmpipe-9               0.07     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  6 clang                    0.05     0.07\n\t  3 rocminfo                 0.03     0.00\n\t  3 doit.sh                  0.00     0.03\n\t  1 lspci                    0.00     0.03\n\t  1 ps                       0.00     0.01\n\t 90 rm                       0.00     0.00\n\t 82 sh                       0.00     0.00\n\t 13 gcc                      0.00     0.00\n\t 11 gsettings                0.00     0.00\n\t  8 stat                     0.00     0.00\n\t  8 systemd-detect-          0.00     0.00\n\t  8 which                    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  3 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 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 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>The computation has more processes than I would expect though they all run quickly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      1968383) dolfyn           cpu=12 start=5.59  finish=17.85\n        1968384) doit.sh          cpu=3 start=5.59  finish=17.85\n          1968385) which            cpu=14 start=5.60  finish=5.60 \n          1968386) which            cpu=13 start=5.60  finish=5.60 \n          1968387) dolgeo           cpu=1 start=5.60  finish=5.61 \n          1968388) rm               cpu=14 start=5.61  finish=5.62 \n          1968389) rm               cpu=13 start=5.62  finish=5.62 \n          1968390) rm               cpu=1 start=5.62  finish=5.62 \n          1968391) rm               cpu=14 start=5.62  finish=5.62 \n          1968392) rm               cpu=2 start=5.62  finish=5.62 \n          1968393) dolfyn           cpu=1 start=5.62  finish=5.89 \n          1968394) dolgeo           cpu=5 start=5.89  finish=5.90 \n          1968395) rm               cpu=14 start=5.91  finish=5.91 \n          1968396) rm               cpu=10 start=5.91  finish=5.91 \n          1968397) rm               cpu=14 start=5.91  finish=5.91 \n          1968398) rm               cpu=12 start=5.91  finish=5.91 \n          1968399) rm               cpu=10 start=5.91  finish=5.91 \n          1968400) dolfyn           cpu=5 start=5.91  finish=6.05 \n          1968401) dolgeo           cpu=4 start=6.06  finish=6.07 \n          1968402) rm               cpu=5 start=6.07  finish=6.07 \n          1968403) rm               cpu=6 start=6.07  finish=6.07 \n          1968404) rm               cpu=9 start=6.07  finish=6.08 \n          1968405) rm               cpu=5 start=6.08  finish=6.08 \n          1968406) rm               cpu=10 start=6.08  finish=6.08 \n          1968407) dolfyn           cpu=9 start=6.08  finish=6.24 \n          1968408) dolgeo           cpu=12 start=6.24  finish=6.27 \n          1968409) rm               cpu=5 start=6.28  finish=6.28 \n          1968410) rm               cpu=6 start=6.28  finish=6.28 \n          1968411) rm               cpu=10 start=6.28  finish=6.28 \n          1968412) rm               cpu=5 start=6.28  finish=6.28 \n          1968413) rm               cpu=6 start=6.29  finish=6.29 \n          1968414) dolfyn           cpu=10 start=6.29  finish=11.36\n          1968415) dolgeo           cpu=4 start=11.36 finish=11.41\n          1968416) rm               cpu=5 start=11.41 finish=11.41\n          1968417) rm               cpu=10 start=11.41 finish=11.41\n          1968418) rm               cpu=4 start=11.41 finish=11.41\n          1968419) rm               cpu=5 start=11.41 finish=11.41\n          1968420) rm               cpu=10 start=11.41 finish=11.42\n          1968421) dolfyn           cpu=6 start=11.42 finish=17.82\n          1968423) dolgeo           cpu=12 start=17.82 finish=17.83\n          1968424) rm               cpu=5 start=17.83 finish=17.83\n          1968425) rm               cpu=6 start=17.83 finish=17.83\n          1968426) rm               cpu=5 start=17.83 finish=17.83\n          1968427) rm               cpu=9 start=17.83 finish=17.83\n          1968428) rm               cpu=12 start=17.83 finish=17.84\n          1968429) dolfyn           cpu=6 start=17.84 finish=17.85\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Doflyn is a very quick running benchmark in CFD. The entire test with three iterations completes in less than a minute. The topdown profile has a relatively high retirement rate with some cpu-based backend stalls. AMD metrics show floating point <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/dolfyn\/\"><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-674","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/674","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=674"}],"version-history":[{"count":1,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/674\/revisions"}],"predecessor-version":[{"id":677,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/674\/revisions\/677"}],"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=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}