{"id":527,"date":"2024-01-14T00:44:13","date_gmt":"2024-01-14T00:44:13","guid":{"rendered":"https:\/\/mvermeulen.org\/perf\/?page_id=527"},"modified":"2024-01-14T15:32:51","modified_gmt":"2024-01-14T15:32:51","slug":"webp","status":"publish","type":"page","link":"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/webp\/","title":{"rendered":"webp"},"content":{"rendered":"\n<p>This is a test of Google&#8217;s libwebp. There are five tests with different characteristics but generally just a few threads running.<\/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-16.png\" alt=\"\" class=\"wp-image-554\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-16.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-16-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/systemtime-16-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Topdown shows this has somewhat higher speculation time with a varied profile.<\/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-54.png\" alt=\"\" class=\"wp-image-556\" srcset=\"https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-54.png 1280w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-54-1024x768.png 1024w, https:\/\/mvermeulen.org\/perf\/wp-content\/uploads\/sites\/7\/2024\/01\/amdtopdown-54-768x576.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>AMD metrics show high number of conditional branches and 3% branch miss ratio<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elapsed              259.402\non_cpu               0.064          # 1.02 \/ 16 cores\nutime                259.489\nstime                5.947\nnvcsw                2640           # 72.55%\nnivcsw               999            # 27.45%\ninblock              0              # 0.00\/sec\nonblock              240368         # 926.62\/sec\ncpu-clock            265471255850   # 265.471 seconds\ntask-clock           265477297262   # 265.477 seconds\npage faults          3400901        # 12810.515\/sec\ncontext switches     4539           # 17.098\/sec\ncpu migrations       319            # 1.202\/sec\nmajor page faults    2              # 0.008\/sec\nminor page faults    3400899        # 12810.508\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             410359479521   # 151.980 branches per 1000 inst\nbranch misses        12595105335    # 3.07% branch miss\nconditional          338774505728   # 125.468 conditional branches per 1000 inst\nindirect             11288954632    # 4.181 indirect branches per 1000 inst\ncpu-cycles           1208489125105  # 0.29 GHz\ninstructions         2695245779943  # 2.23 IPC\nslots                2421004730436  #\nretiring             916927391533   # 37.9% (37.9%)\n-- ucode             2392968214     #     0.1%\n-- fastpath          914534423319   #    37.8%\nfrontend             416764527628   # 17.2% (17.2%)\n-- latency           238900819464   #     9.9%\n-- bandwidth         177863708164   #     7.3%\nbackend              809540702310   # 33.4% (33.4%)\n-- cpu               215619881601   #     8.9%\n-- memory            593920820709   #    24.5%\nspeculation          277624394550   # 11.5% (11.5%)\n-- branch mispredict 271447888184   #    11.2%\n-- pipeline restart  6176506366     #     0.3%\nsmt-contention       147428348      #  0.0% ( 0.0%)\ncpu-cycles           1208908612539  # 0.29 GHz\ninstructions         2695792729167  # 2.23 IPC\ninstructions         899452943096   # 16.480 l2 access per 1000 inst\nl2 hit from l1       9918472214     # 33.34% l2 miss\nl2 miss from l1      2035100972     #\nl2 hit from l2 pf    1997801828     #\nl3 hit from l2 pf    2514829497     #\nl3 miss from l2 pf   391704245      #\ninstructions         899780198334   # 125.830 float per 1000 inst\nfloat 512            96             # 0.000 AVX-512 per 1000 inst\nfloat 256            760            # 0.000 AVX-256 per 1000 inst\nfloat 128            113219444716   # 125.830 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              288.864\non_cpu               0.067          # 1.08 \/ 16 cores\nutime                307.575\nstime                4.127\nnvcsw                2493           # 68.91%\nnivcsw               1125           # 31.09%\ninblock              18608          # 64.42\/sec\nonblock              229064         # 792.98\/sec\ncpu-clock            311721259222   # 311.721 seconds\ntask-clock           311728053540   # 311.728 seconds\npage faults          3378818        # 10838.992\/sec\ncontext switches     4687           # 15.036\/sec\ncpu migrations       418            # 1.341\/sec\nmajor page faults    12             # 0.038\/sec\nminor page faults    3378806        # 10838.954\/sec\nalignment faults     0              # 0.000\/sec\nemulation faults     0              # 0.000\/sec\nbranches             409445465371   # 151.679 branches per 1000 inst\nbranch misses        11357355020    # 2.77% branch miss\nconditional          409445484315   # 151.679 conditional branches per 1000 inst\nindirect             11358170633    # 4.208 indirect branches per 1000 inst\nslots                7063432160630  #\nretiring             2651120892393  # 37.5% (37.5%)\n-- ucode             292260741628   #     4.1%\n-- fastpath          2358860150765  #    33.4%\nfrontend             910197614075   # 12.9% (12.9%)\n-- latency           311140397744   #     4.4%\n-- bandwidth         599057216331   #     8.5%\nbackend              2110415363627  # 29.9% (29.9%)\n-- cpu               855814439270   #    12.1%\n-- memory            1254600924357  #    17.8%\nspeculation          1421621797189  # 20.1% (20.1%)\n-- branch mispredict 1411554187069  #    20.0%\n-- pipeline restart  10067610120    #     0.1%\nsmt-contention       0              #  0.0% ( 0.0%)\ncpu-cycles           1178755810803  # 0.25 GHz\ninstructions         2698955253610  # 2.29 IPC\nl2 access            43493783443    # 16.124 l2 access per 1000 inst\nl2 miss              17665817237    # 40.62% l2 miss\n<\/code><\/pre>\n\n\n\n<p>Process overview<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>587 processes\n\t162 cwebp                  453.20     9.12\n\t 68 clinfo                  16.53     5.98\n\t 38 vulkaninfo               0.95     1.34\n\t  6 glxinfo:gdrv0            0.12     0.10\n\t  4 vulkani:disk$0           0.10     0.14\n\t  6 clang                    0.07     0.05\n\t  6 php                      0.06     0.14\n\t  2 glxinfo                  0.06     0.04\n\t  2 glxinfo:cs0              0.06     0.04\n\t  2 glxinfo:disk$0           0.06     0.04\n\t  2 glxinfo:sh0              0.06     0.04\n\t  2 glxinfo:shlo0            0.06     0.04\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  3 rocminfo                 0.03     0.00\n\t  1 lspci                    0.00     0.02\n\t  1 ps                       0.00     0.01\n\t 90 sh                       0.00     0.00\n\t 46 sed                      0.00     0.00\n\t 15 ls                       0.00     0.00\n\t 15 webp                     0.00     0.00\n\t 13 gcc                      0.00     0.00\n\t  9 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  3 dconf worker             0.00     0.00\n\t  2 cc                       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 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 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>Core computation structure<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      232586) webp             cpu=3 start=5.55  finish=7.06 \n        232587) cwebp            cpu=4 start=5.55  finish=7.06 \n          232588) cwebp            cpu=9 start=5.56  finish=5.56 \n            232589) cwebp            cpu=14 start=5.56  finish=5.56 \n          232590) cwebp            cpu=8 start=5.56  finish=5.56 \n          232591) cwebp            cpu=7 start=5.56  finish=5.56 \n            232592) cwebp            cpu=2 start=5.56  finish=5.56 \n            232593) sed              cpu=13 start=5.56  finish=5.56 \n          232594) cwebp            cpu=9 start=5.56  finish=5.57 \n            232595) ls               cpu=14 start=5.56  finish=5.57 \n            232596) sed              cpu=2 start=5.57  finish=5.57 \n          232597) cwebp            cpu=7 start=5.57  finish=5.57 \n          232598) cwebp            cpu=9 start=5.57  finish=5.57 \n            232599) cwebp            cpu=14 start=5.57  finish=5.57 \n            232600) sed              cpu=13 start=5.57  finish=5.57 \n          232601) cwebp            cpu=13 start=5.79  finish=5.89 <\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is a test of Google&#8217;s libwebp. There are five tests with different characteristics but generally just a few threads running. Topdown shows this has somewhat higher speculation time with a varied profile. AMD metrics show high number of conditional <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/mvermeulen.org\/perf\/workloads\/phoronix\/webp\/\"><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-527","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/527","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=527"}],"version-history":[{"count":2,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/527\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/mvermeulen.org\/perf\/wp-json\/wp\/v2\/pages\/527\/revisions\/557"}],"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=527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}