{"id":872,"date":"2024-01-24T12:41:00","date_gmt":"2024-01-24T12:41:00","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=872"},"modified":"2024-01-26T02:01:00","modified_gmt":"2024-01-26T02:01:00","slug":"rawtherapee","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/rawtherapee\/","title":{"rendered":"rawtherapee"},"content":{"rendered":"\n<p>An image processing program for RAW files. There is one workload resulting in a total processing time. The profile shows a parallel workload with phases where fewer cores are used.<\/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-65.png\" alt=\"\" class=\"wp-image-935\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-65.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-65-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-65-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown profile has metrics somewhat scattered throughout the execution.<\/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-102.png\" alt=\"\" class=\"wp-image-937\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-102.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-102-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-102-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics pull together the jumble from above to indicate a medium-low retirement rate with backend stalls being the largest issue. The backend stalls are balanced between CPU and memory. This is a floating point code with not as many branches.  The L2 access rate is also fairly low.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              179.887\non_cpu               0.512          # 8.20 \/ 16 cores\nutime                1287.209\nstime                187.568\nnvcsw                102097         # 80.35%\nnivcsw               24973          # 19.65%\ninblock              0              # 0.00\/sec\nonblock              78336          # 435.47\/sec\ncpu-clock            1475350779508  # 1475.351 seconds\ntask-clock           1475480500578  # 1475.481 seconds\npage faults          65599226       # 44459.568\/sec\ncontext switches     125342         # 84.950\/sec\ncpu migrations       10194          # 6.909\/sec\nmajor page faults    3958           # 2.683\/sec\nminor page faults    65595268       # 44456.886\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             924461608255   # 120.345 branches per 1000 inst\nbranch misses        16691502731    # 1.81% branch miss\nconditional          663067209853   # 86.317 conditional branches per 1000 inst\nindirect             46540186604    # 6.059 indirect branches per 1000 inst\ncpu-cycles           6019157336166  # 2.09 GHz\ninstructions         7611310091960  # 1.26 IPC\nslots                12254200328232 #\nretiring             2679466866315  # 21.9% (29.9%)\n-- ucode             11858635207    #     0.1%\n-- fastpath          2667608231108  #    21.8%\nfrontend             1132197658551  #  9.2% (12.6%)\n-- latency           699150851094   #     5.7%\n-- bandwidth         433046807457   #     3.5%\nbackend              4996777714725  # 40.8% (55.7%)\n-- cpu               2530516948651  #    20.7%\n-- memory            2466260766074  #    20.1%\nspeculation          159411027400   #  1.3% ( 1.8%)\n-- branch mispredict 156974288805   #     1.3%\n-- pipeline restart  2436738595     #     0.0%\nsmt-contention       3286330679686  # 26.8% ( 0.0%)\ncpu-cycles           6017367535283  # 2.09 GHz\ninstructions         7600363732607  # 1.26 IPC\ninstructions         2551891094994  # 17.136 l2 access per 1000 inst\nl2 hit from l1       28354278284    # 23.61% l2 miss\nl2 miss from l1      2637176678     #\nl2 hit from l2 pf    7684883289     #\nl3 hit from l2 pf    2573993509     #\nl3 miss from l2 pf   5115054138     #\ninstructions         2559759186206  # 338.719 float per 1000 inst\nfloat 512            413            # 0.000 AVX-512 per 1000 inst\nfloat 256            1316           # 0.000 AVX-256 per 1000 inst\nfloat 128            867040280823   # 338.719 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              209.305\non_cpu               0.566          # 9.05 \/ 16 cores\nutime                1739.418\nstime                154.595\nnvcsw                89411          # 35.26%\nnivcsw               164131         # 64.74%\ninblock              55920          # 267.17\/sec\nonblock              66968          # 319.95\/sec\ncpu-clock            1894454435242  # 1894.454 seconds\ntask-clock           1894582680824  # 1894.583 seconds\npage faults          63161343       # 33337.866\/sec\ncontext switches     251947         # 132.983\/sec\ncpu migrations       23375          # 12.338\/sec\nmajor page faults    4178           # 2.205\/sec\nminor page faults    63157165       # 33335.660\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             895136532769   # 117.481 branches per 1000 inst\nbranch misses        7425350001     # 0.83% branch miss\nconditional          895137086081   # 117.481 conditional branches per 1000 inst\nindirect             239235008391   # 31.398 indirect branches per 1000 inst\nslots                10896610205486 #\nretiring             4290917573683  # 39.4% (39.4%)\n-- ucode             307384348347   #     2.8%\n-- fastpath          3983533225336  #    36.6%\nfrontend             1444453419495  # 13.3% (13.3%)\n-- latency           1025878630534  #     9.4%\n-- bandwidth         418574788961   #     3.8%\nbackend              4626094399272  # 42.5% (42.5%)\n-- cpu               3366364526917  #    30.9%\n-- memory            1259729872355  #    11.6%\nspeculation          615212559566   #  5.6% ( 5.6%)\n-- branch mispredict 584215762555   #     5.4%\n-- pipeline restart  30996797011    #     0.3%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           4545561423398  # 1.37 GHz\ninstructions         5818829336429  # 1.28 IPC\nl2 access            55992677153    # 13.197 l2 access per 1000 inst\nl2 miss              22828183572    # 40.77% l2 miss\n<\/code><\/pre>\n\n\n\n<p>Process summary includes a large number of rawtherapee processes<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>17271 processes\n\t14658 rawtherapee-cli      55652.09 14395.32\n\t 68 clinfo                  17.86     5.00\n\t  3 xz                       1.55     0.04\n\t 38 vulkaninfo               1.33     0.96\n\t  6 glxinfo:gdrv0            0.15     0.04\n\t  6 glxinfo:gl0              0.15     0.04\n\t  4 vulkani:disk$0           0.14     0.11\n\t  6 php                      0.08     0.06\n\t  6 clang                    0.07     0.05\n\t  2 llvmpipe-0               0.07     0.05\n\t  2 llvmpipe-1               0.07     0.05\n\t  2 llvmpipe-10              0.07     0.05\n\t  2 llvmpipe-11              0.07     0.05\n\t  2 llvmpipe-12              0.07     0.05\n\t  2 llvmpipe-13              0.07     0.05\n\t  2 llvmpipe-14              0.07     0.05\n\t  2 llvmpipe-15              0.07     0.05\n\t  2 llvmpipe-2               0.07     0.05\n\t  2 llvmpipe-3               0.07     0.05\n\t  2 llvmpipe-4               0.07     0.05\n\t  2 llvmpipe-5               0.07     0.05\n\t  2 llvmpipe-6               0.07     0.05\n\t  2 llvmpipe-7               0.07     0.05\n\t  2 llvmpipe-8               0.07     0.05\n\t  2 llvmpipe-9               0.07     0.05\n\t  2 glxinfo                  0.07     0.02\n\t  2 glxinfo:cs0              0.07     0.02\n\t  2 glxinfo:disk$0           0.07     0.02\n\t  2 glxinfo:sh0              0.07     0.02\n\t  2 glxinfo:shlo0            0.07     0.02\n\t1482 bash                     0.04     0.31\n\t  3 rocminfo                 0.03     0.00\n\t  1 lspci                    0.01     0.01\n\t  3 tar                      0.00     0.09\n\t  1 ps                       0.00     0.01\n\t295 sed                      0.00     0.00\n\t255 bc                       0.00     0.00\n\t211 grep                     0.00     0.00\n\t 81 sh                       0.00     0.00\n\t 12 gcc                      0.00     0.00\n\t  8 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 gmain                    0.00     0.00\n\t  5 phoronix-test-s          0.00     0.00\n\t  5 uname                    0.00     0.00\n\t  5 which                    0.00     0.00\n\t  4 dirname                  0.00     0.00\n\t  4 sort                     0.00     0.00\n\t  3 basename                 0.00     0.00\n\t  3 dconf worker             0.00     0.00\n\t  3 rawtherapee              0.00     0.00\n\t  3 rm                       0.00     0.00\n\t  2 lscpu                    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 dmesg                    0.00     0.00\n\t  1 dmidecode                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 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\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>An image processing program for RAW files. There is one workload resulting in a total processing time. The profile shows a parallel workload with phases where fewer cores are used. Topdown profile has metrics somewhat scattered throughout the execution. AMD <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/rawtherapee\/\"><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-872","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/872","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=872"}],"version-history":[{"count":3,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/872\/revisions"}],"predecessor-version":[{"id":938,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/872\/revisions\/938"}],"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=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}