{"id":392,"date":"2024-01-10T03:05:18","date_gmt":"2024-01-10T03:05:18","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=392"},"modified":"2024-01-11T03:43:46","modified_gmt":"2024-01-11T03:43:46","slug":"ospray","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/ospray\/","title":{"rendered":"ospray"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Test of a ray tracing engine. This test does the core engine and ospray-studio does the application around the engine. There are four different workloads with slightly different characteristics. Both backend CPU and backend memory contribute,.<\/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-34.png\" alt=\"\" class=\"wp-image-400\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-34.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-34-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-34-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">AMD metrics show a heavily floating point code with both cpu and memory holding up backend operations. Slightly below average branch misses.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              1971.476\non_cpu               0.863          # 13.80 \/ 16 cores\nutime                27152.145\nstime                61.060\nnvcsw                1340682        # 75.51%\nnivcsw               434716         # 24.49%\ninblock              2744           # 1.39\/sec\nonblock              2312           # 1.17\/sec\ncpu-clock            27206812961906 # 27206.813 seconds\ntask-clock           27208381390391 # 27208.381 seconds\npage faults          8487526        # 311.945\/sec\ncontext switches     1785005        # 65.605\/sec\ncpu migrations       9640           # 0.354\/sec\nmajor page faults    187            # 0.007\/sec\nminor page faults    8487330        # 311.938\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             5426414056343  # 84.375 branches per 1000 inst\nbranch misses        86955920293    # 1.60% branch miss\nconditional          3427687159291  # 53.297 conditional branches per 1000 inst\nindirect             467592274081   # 7.271 indirect branches per 1000 inst\ncpu-cycles           115746926713087 # 3.68 GHz\ninstructions         64192430504369 # 0.55 IPC\nslots                231486951377550 #\nretiring             51778023564919 # 22.4% (26.0%)\n-- ucode             681253365950   #     0.3%\n-- fastpath          51096770198969 #    22.1%\nfrontend             55786361849112 # 24.1% (28.0%)\n-- latency           50690132046288 #    21.9%\n-- bandwidth         5096229802824  #     2.2%\nbackend              88277200554514 # 38.1% (44.3%)\n-- cpu               44531804002903 #    19.2%\n-- memory            43745396551611 #    18.9%\nspeculation          3571024998154  #  1.5% ( 1.8%)\n-- branch mispredict 2245783755052  #     1.0%\n-- pipeline restart  1325241243102  #     0.6%\nsmt-contention       32073952477589 # 13.9% ( 0.0%)\ncpu-cycles           115958248469394 # 3.67 GHz\ninstructions         64226418211743 # 0.55 IPC\ninstructions         21406027497349 # 33.924 l2 access per 1000 inst\nl2 hit from l1       618447294645   # 6.06% l2 miss\nl2 miss from l1      25831918168    #\nl2 hit from l2 pf    89533704038    #\nl3 hit from l2 pf    12514580391    #\nl3 miss from l2 pf   5675181497     #\ninstructions         21400025702796 # 529.504 float per 1000 inst\nfloat 512            63             # 0.000 AVX-512 per 1000 inst\nfloat 256            186015033837   # 8.692 AVX-256 per 1000 inst\nfloat 128            11145392088233 # 520.812 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              2026.796\non_cpu               0.834          # 13.34 \/ 16 cores\nutime                26992.039\nstime                55.101\nnvcsw                1612258        # 76.84%\nnivcsw               485818         # 23.16%\ninblock              28752          # 14.19\/sec\nonblock              2304           # 1.14\/sec\ncpu-clock            27025830249018 # 27025.830 seconds\ntask-clock           27027955699446 # 27027.956 seconds\npage faults          7666166        # 283.638\/sec\ncontext switches     2107974        # 77.992\/sec\ncpu migrations       178019         # 6.586\/sec\nmajor page faults    332            # 0.012\/sec\nminor page faults    7665834        # 283.626\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             6452668168556  # 74.029 branches per 1000 inst\nbranch misses        107582308263   # 1.67% branch miss\nconditional          6452668190860  # 74.029 conditional branches per 1000 inst\nindirect             1379306396813  # 15.824 indirect branches per 1000 inst\nslots                133319314983128 #\nretiring             68712786666910 # 51.5% (51.5%)\n-- ucode             10062728100131 #     7.5%\n-- fastpath          58650058566779 #    44.0%\nfrontend             27729511428938 # 20.8% (20.8%)\n-- latency           17199350954800 #    12.9%\n-- bandwidth         10530160474138 #     7.9%\nbackend              28375398569037 # 21.3% (21.3%)\n-- cpu               17817810359036 #    13.4%\n-- memory            10557588210001 #     7.9%\nspeculation          8164958670901  #  6.1% ( 6.1%)\n-- branch mispredict 7964623713592  #     6.0%\n-- pipeline restart  200334957309   #     0.2%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           85119684339755 # 2.63 GHz\ninstructions         120822853947546 # 1.42 IPC\nl2 access            865536962026   # 14.277 l2 access per 1000 inst\nl2 miss              150276868086   # 17.36% l2 miss\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Process tree information<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>681 processes\n\t287 ospBenchmark         433361.72   847.31\n\t 64 clinfo                  11.52     2.56\n\t 38 vulkaninfo               0.76     1.33\n\t  6 php                      0.16     0.25\n\t  6 glxinfo:gdrv0            0.10     0.10\n\t  4 vulkani:disk$0           0.08     0.14\n\t  6 clang                    0.05     0.02\n\t  2 llvmpipe-0               0.04     0.07\n\t  2 llvmpipe-1               0.04     0.07\n\t  2 llvmpipe-10              0.04     0.07\n\t  2 llvmpipe-11              0.04     0.07\n\t  2 llvmpipe-12              0.04     0.07\n\t  2 llvmpipe-13              0.04     0.07\n\t  2 llvmpipe-14              0.04     0.07\n\t  2 llvmpipe-15              0.04     0.07\n\t  2 llvmpipe-2               0.04     0.07\n\t  2 llvmpipe-3               0.04     0.07\n\t  2 llvmpipe-4               0.04     0.07\n\t  2 llvmpipe-5               0.04     0.07\n\t  2 llvmpipe-6               0.04     0.07\n\t  2 llvmpipe-7               0.04     0.07\n\t  2 llvmpipe-8               0.04     0.07\n\t  2 llvmpipe-9               0.04     0.07\n\t  2 glxinfo                  0.04     0.04\n\t  2 glxinfo:cs0              0.04     0.04\n\t  2 glxinfo:disk$0           0.04     0.04\n\t  2 glxinfo:sh0              0.04     0.04\n\t  2 glxinfo:shlo0            0.04     0.04\n\t  1 lspci                    0.01     0.03\n\t 98 sh                       0.00     0.00\n\t 19 sed                      0.00     0.00\n\t 18 ospray                   0.00     0.00\n\t 12 gcc                      0.00     0.00\n\t  9 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  5 phoronix-test-s          0.00     0.00\n\t  4 gmain                    0.00     0.00\n\t  3 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 cc                       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 qdbus                    0.00     0.00\n\t  1 readlink                 0.00     0.00\n\t  1 realpath                 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\n1 processes running\n48 maximum processes\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The core parts have a certain hierarchy of threads<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      437206) ospray           cpu=8 start=126.97 finish=242.90\n        437207) ospBenchmark     cpu=1 start=126.97 finish=242.89\n          437208) ospBenchmark     cpu=15 start=126.98 finish=242.89\n            437210) ospBenchmark     cpu=7 start=126.98 finish=242.89\n              437213) ospBenchmark     cpu=11 start=126.98 finish=242.89\n              437216) ospBenchmark     cpu=8 start=126.98 finish=242.89\n                437222) ospBenchmark     cpu=6 start=126.98 finish=242.89\n            437211) ospBenchmark     cpu=2 start=126.98 finish=242.89\n              437214) ospBenchmark     cpu=12 start=126.98 finish=242.89\n                437215) ospBenchmark     cpu=9 start=126.98 finish=242.89\n                437219) ospBenchmark     cpu=10 start=126.98 finish=242.89\n              437217) ospBenchmark     cpu=13 start=126.98 finish=242.89\n          437209) ospBenchmark     cpu=3 start=126.98 finish=242.89\n            437212) ospBenchmark     cpu=5 start=126.98 finish=242.89\n              437220) ospBenchmark     cpu=0 start=126.98 finish=242.89\n              437221) ospBenchmark     cpu=4 start=126.98 finish=242.89\n            437218) ospBenchmark     cpu=14 start=126.98 finish=242.89\n        437224) sed              cpu=2 start=242.90 finish=242.90\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Test of a ray tracing engine. This test does the core engine and ospray-studio does the application around the engine. There are four different workloads with slightly different characteristics. Both backend CPU and backend memory contribute,. AMD metrics show a <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/ospray\/\"><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-392","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/392","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=392"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/392\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/392\/revisions\/402"}],"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=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}