A video encoder for the vp9 format. Runs with six test cases. Launches threads p to the 30 but also variable.

Topdown profile shows medium level retirement rate limited by some backend stalls and with frontend stalls less of a factor. Also some variation between test cases.

AMD metrics shows some floating point and moderate number of branches.

elapsed              266.392
on_cpu               0.418          # 6.69 / 16 cores
utime                1708.096
stime                73.706
nvcsw                2218418        # 79.83%
nivcsw               560492         # 20.17%
inblock              600            # 2.25/sec
onblock              14184          # 53.24/sec
cpu-clock            1782258318300  # 1782.258 seconds
task-clock           1782953304677  # 1782.953 seconds
page faults          14950365       # 8385.169/sec
context switches     2780028        # 1559.226/sec
cpu migrations       387964         # 217.596/sec
major page faults    23             # 0.013/sec
minor page faults    14950342       # 8385.156/sec
alignment faults     0              # 0.000/sec
emulation faults     0              # 0.000/sec
branches             656720657493   # 76.023 branches per 1000 inst
branch misses        10997348830    # 1.67% branch miss
conditional          502666679558   # 58.190 conditional branches per 1000 inst
indirect             21010290401    # 2.432 indirect branches per 1000 inst
cpu-cycles           7046430654174  # 1.70 GHz
instructions         8624634778235  # 1.22 IPC
slots                14123897786988 #
retiring             3071043407476  # 21.7% (26.7%)
-- ucode             85466210742    #     0.6%
-- fastpath          2985577196734  #    21.1%
frontend             2189782239321  # 15.5% (19.1%)
-- latency           1147789014888  #     8.1%
-- bandwidth         1041993224433  #     7.4%
backend              6045479931307  # 42.8% (52.6%)
-- cpu               2288298994869  #    16.2%
-- memory            3757180936438  #    26.6%
speculation          176219975819   #  1.2% ( 1.5%)
-- branch mispredict 170597713920   #     1.2%
-- pipeline restart  5622261899     #     0.0%
smt-contention       2641149276223  # 18.7% ( 0.0%)
cpu-cycles           7028720585099  # 1.70 GHz
instructions         8631733824331  # 1.23 IPC
instructions         2880802386642  # 61.126 l2 access per 1000 inst
l2 hit from l1       139518253857   # 12.79% l2 miss
l2 miss from l1      11080156914    #
l2 hit from l2 pf    25138535837    #
l3 hit from l2 pf    4529358713     #
l3 miss from l2 pf   6905820477     #
instructions         2876027823141  # 127.789 float per 1000 inst
float 512            77             # 0.000 AVX-512 per 1000 inst
float 256            574            # 0.000 AVX-256 per 1000 inst
float 128            367523319628   # 127.789 AVX-128 per 1000 inst
float MMX            0              # 0.000 MMX per 1000 inst
float scalar         2              # 0.000 scalar per 1000 inst

Intel metrics

elapsed              955.109
on_cpu               0.483          # 7.72 / 16 cores
utime                7090.140
stime                286.201
nvcsw                10235560       # 77.18%
nivcsw               3027090        # 22.82%
inblock              81444768       # 85272.71/sec
onblock              5920           # 6.20/sec
cpu-clock            7374837680273  # 7374.838 seconds
task-clock           7377544161006  # 7377.544 seconds
page faults          56516061       # 7660.552/sec
context switches     13267164       # 1798.317/sec
cpu migrations       2698093        # 365.717/sec
major page faults    76             # 0.010/sec
minor page faults    56515985       # 7660.542/sec
alignment faults     0              # 0.000/sec
emulation faults     0              # 0.000/sec
branches             2374199693841  # 76.574 branches per 1000 inst
branch misses        30873470201    # 1.30% branch miss
conditional          2374199980081  # 76.574 conditional branches per 1000 inst
indirect             714692719974   # 23.051 indirect branches per 1000 inst
slots                48054039135266 #
retiring             23387060560527 # 48.7% (48.7%)
-- ucode             3022764780478  #     6.3%
-- fastpath          20364295780049 #    42.4%
frontend             8537158800292  # 17.8% (17.8%)
-- latency           5088733620331  #    10.6%
-- bandwidth         3448425179961  #     7.2%
backend              13737332127616 # 28.6% (28.6%)
-- cpu               3478462484718  #     7.2%
-- memory            10258869642898 #    21.3%
speculation          2988699083208  #  6.2% ( 6.2%)
-- branch mispredict 2758680527908  #     5.7%
-- pipeline restart  230018555300   #     0.5%
smt-contention       0              #  0.0% ( 0.0%)
cpu-cycles           23749625878854 # 1.55 GHz
instructions         35707894166039 # 1.50 IPC
l2 access            866445792868   # 51.238 l2 access per 1000 inst
l2 miss              223753253127   # 25.82% l2 miss

Process overview concentrates on the SvtVp9EncApp

2620 processes
	2250 SvtVp9EncApp         107501.07  4524.13
	 68 clinfo                  16.27     6.65
	 38 vulkaninfo               1.13     0.96
	  6 glxinfo:gdrv0            0.19     0.09
	  4 vulkani:disk$0           0.12     0.10
	  6 php                      0.09     0.16
	  2 glxinfo                  0.09     0.03
	  2 glxinfo:cs0              0.09     0.03
	  2 glxinfo:disk$0           0.09     0.03
	  2 glxinfo:sh0              0.09     0.03
	  2 glxinfo:shlo0            0.09     0.03
	  2 llvmpipe-0               0.06     0.05
	  2 llvmpipe-1               0.06     0.05
	  2 llvmpipe-10              0.06     0.05
	  2 llvmpipe-11              0.06     0.05
	  2 llvmpipe-12              0.06     0.05
	  2 llvmpipe-13              0.06     0.05
	  2 llvmpipe-14              0.06     0.05
	  2 llvmpipe-15              0.06     0.05
	  2 llvmpipe-2               0.06     0.05
	  2 llvmpipe-3               0.06     0.05
	  2 llvmpipe-4               0.06     0.05
	  2 llvmpipe-5               0.06     0.05
	  2 llvmpipe-6               0.06     0.05
	  2 llvmpipe-7               0.06     0.05
	  2 llvmpipe-8               0.06     0.05
	  2 llvmpipe-9               0.06     0.05
	  6 clang                    0.05     0.07
	  3 rocminfo                 0.00     0.03
	  1 lspci                    0.00     0.02
	  1 ps                       0.00     0.01
	 92 sh                       0.00     0.00
	 18 svt-vp9                  0.00     0.00
	 13 gcc                      0.00     0.00
	 11 gsettings                0.00     0.00
	  8 stat                     0.00     0.00
	  8 systemd-detect-          0.00     0.00
	  6 llvm-link                0.00     0.00
	  5 phoronix-test-s          0.00     0.00
	  3 gmain                    0.00     0.00
	  2 cc                       0.00     0.00
	  2 dconf worker             0.00     0.00
	  2 lscpu                    0.00     0.00
	  2 uname                    0.00     0.00
	  2 which                    0.00     0.00
	  2 xset                     0.00     0.00
	  1 date                     0.00     0.00
	  1 dirname                  0.00     0.00
	  1 dmesg                    0.00     0.00
	  1 dmidecode                0.00     0.00
	  1 grep                     0.00     0.00
	  1 ifconfig                 0.00     0.00
	  1 ip                       0.00     0.00
	  1 lsmod                    0.00     0.00
	  1 mktemp                   0.00     0.00
	  1 qdbus                    0.00     0.00
	  1 readlink                 0.00     0.00
	  1 realpath                 0.00     0.00
	  1 sed                      0.00     0.00
	  1 sort                     0.00     0.00
	  1 stty                     0.00     0.00
	  1 systemctl                0.00     0.00
	  1 template.sh              0.00     0.00
	  1 wc                       0.00     0.00
	  1 xrandr                   0.00     0.00
0 processes running
73 maximum processes

Most of these get launched from the thread app

      2895193) svt-vp9          cpu=10 start=5.69  finish=17.95
        2895194) SvtVp9EncApp     cpu=11 start=5.69  finish=17.87
          2895195) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895196) SvtVp9EncApp     cpu=14 start=6.78  finish=17.57
          2895197) SvtVp9EncApp     cpu=0 start=6.78  finish=6.78 
          2895198) SvtVp9EncApp     cpu=9 start=6.78  finish=17.57
          2895199) SvtVp9EncApp     cpu=2 start=6.78  finish=6.78 
          2895200) SvtVp9EncApp     cpu=4 start=6.78  finish=17.57
          2895201) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895202) SvtVp9EncApp     cpu=6 start=6.78  finish=17.57
          2895203) SvtVp9EncApp     cpu=13 start=6.78  finish=6.78 
          2895204) SvtVp9EncApp     cpu=4 start=6.78  finish=17.57
          2895205) SvtVp9EncApp     cpu=15 start=6.78  finish=6.78 
          2895206) SvtVp9EncApp     cpu=0 start=6.78  finish=17.57
          2895207) SvtVp9EncApp     cpu=9 start=6.78  finish=6.78 
          2895208) SvtVp9EncApp     cpu=2 start=6.78  finish=17.57
          2895209) SvtVp9EncApp     cpu=11 start=6.78  finish=6.78 
          2895210) SvtVp9EncApp     cpu=4 start=6.78  finish=17.57
          2895211) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895212) SvtVp9EncApp     cpu=2 start=6.78  finish=17.57
          2895213) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895214) SvtVp9EncApp     cpu=0 start=6.78  finish=17.57
          2895215) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895216) SvtVp9EncApp     cpu=9 start=6.78  finish=17.57
          2895217) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895218) SvtVp9EncApp     cpu=3 start=6.78  finish=17.57
          2895219) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895220) SvtVp9EncApp     cpu=14 start=6.78  finish=17.57
          2895221) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895222) SvtVp9EncApp     cpu=6 start=6.78  finish=17.56
          2895223) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895224) SvtVp9EncApp     cpu=13 start=6.78  finish=17.56
          2895225) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895226) SvtVp9EncApp     cpu=6 start=6.78  finish=17.56
          2895227) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895228) SvtVp9EncApp     cpu=4 start=6.78  finish=17.56
          2895229) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895230) SvtVp9EncApp     cpu=13 start=6.78  finish=17.56
          2895231) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895232) SvtVp9EncApp     cpu=8 start=6.78  finish=17.56
          2895233) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895234) SvtVp9EncApp     cpu=7 start=6.78  finish=17.56
          2895235) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895236) SvtVp9EncApp     cpu=13 start=6.78  finish=17.56
          2895237) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895238) SvtVp9EncApp     cpu=12 start=6.78  finish=17.56
          2895239) SvtVp9EncApp     cpu=2 start=6.78  finish=6.78 
          2895240) SvtVp9EncApp     cpu=4 start=6.78  finish=17.56
          2895241) SvtVp9EncApp     cpu=11 start=6.78  finish=6.78 
          2895242) SvtVp9EncApp     cpu=3 start=6.78  finish=17.56
          2895243) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895244) SvtVp9EncApp     cpu=0 start=6.78  finish=17.56
          2895245) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895246) SvtVp9EncApp     cpu=15 start=6.78  finish=17.56
          2895247) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895248) SvtVp9EncApp     cpu=2 start=6.78  finish=17.56
          2895249) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895250) SvtVp9EncApp     cpu=9 start=6.78  finish=17.56
          2895251) SvtVp9EncApp     cpu=15 start=6.78  finish=6.78 
          2895252) SvtVp9EncApp     cpu=4 start=6.78  finish=17.56
          2895253) SvtVp9EncApp     cpu=2 start=6.78  finish=6.78 
          2895254) SvtVp9EncApp     cpu=10 start=6.78  finish=17.56
          2895255) SvtVp9EncApp     cpu=2 start=6.78  finish=6.78 
          2895256) SvtVp9EncApp     cpu=0 start=6.78  finish=17.56
          2895257) SvtVp9EncApp     cpu=15 start=6.78  finish=6.78 
          2895258) SvtVp9EncApp     cpu=14 start=6.78  finish=17.56
          2895259) SvtVp9EncApp     cpu=11 start=6.78  finish=6.78 
          2895260) SvtVp9EncApp     cpu=6 start=6.78  finish=17.56
          2895261) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895262) SvtVp9EncApp     cpu=9 start=6.78  finish=17.56
          2895263) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895264) SvtVp9EncApp     cpu=14 start=6.78  finish=17.56
          2895265) SvtVp9EncApp     cpu=11 start=6.78  finish=6.78 
          2895266) SvtVp9EncApp     cpu=12 start=6.78  finish=17.56
          2895267) SvtVp9EncApp     cpu=14 start=6.78  finish=6.78 
          2895268) SvtVp9EncApp     cpu=3 start=6.78  finish=17.56
          2895269) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895270) SvtVp9EncApp     cpu=2 start=6.78  finish=17.56
          2895271) SvtVp9EncApp     cpu=0 start=6.78  finish=6.78 
          2895272) SvtVp9EncApp     cpu=10 start=6.78  finish=17.56
          2895273) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895274) SvtVp9EncApp     cpu=4 start=6.78  finish=17.56
          2895275) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895276) SvtVp9EncApp     cpu=14 start=6.78  finish=17.56
          2895277) SvtVp9EncApp     cpu=5 start=6.78  finish=6.78 
          2895278) SvtVp9EncApp     cpu=10 start=6.78  finish=17.56
          2895279) SvtVp9EncApp     cpu=0 start=6.78  finish=6.78 
          2895280) SvtVp9EncApp     cpu=1 start=6.78  finish=17.56
          2895281) SvtVp9EncApp     cpu=14 start=6.79  finish=6.79 
          2895282) SvtVp9EncApp     cpu=6 start=6.79  finish=17.56
          2895283) SvtVp9EncApp     cpu=11 start=6.79  finish=6.79 
          2895284) SvtVp9EncApp     cpu=14 start=6.79  finish=17.56
          2895285) SvtVp9EncApp     cpu=0 start=6.79  finish=6.79 
          2895286) SvtVp9EncApp     cpu=4 start=6.79  finish=17.56
          2895287) SvtVp9EncApp     cpu=2 start=6.79  finish=6.79 
          2895288) SvtVp9EncApp     cpu=2 start=6.79  finish=17.56
          2895289) SvtVp9EncApp     cpu=5 start=6.79  finish=6.79 
          2895290) SvtVp9EncApp     cpu=13 start=6.79  finish=17.56
          2895291) SvtVp9EncApp     cpu=5 start=6.79  finish=6.79 
          2895292) SvtVp9EncApp     cpu=7 start=6.79  finish=17.56
          2895293) SvtVp9EncApp     cpu=15 start=6.79  finish=6.79 
          2895294) SvtVp9EncApp     cpu=9 start=6.79  finish=17.56
          2895295) SvtVp9EncApp     cpu=14 start=6.79  finish=6.79 
          2895296) SvtVp9EncApp     cpu=15 start=6.79  finish=17.56
          2895297) SvtVp9EncApp     cpu=14 start=6.79  finish=6.79 
          2895298) SvtVp9EncApp     cpu=10 start=6.79  finish=17.56
          2895299) SvtVp9EncApp     cpu=11 start=6.79  finish=6.79 
          2895300) SvtVp9EncApp     cpu=12 start=6.79  finish=17.56
          2895301) SvtVp9EncApp     cpu=11 start=6.79  finish=6.79 
          2895302) SvtVp9EncApp     cpu=0 start=6.79  finish=17.56
          2895303) SvtVp9EncApp     cpu=5 start=6.79  finish=6.79 
          2895304) SvtVp9EncApp     cpu=6 start=6.79  finish=17.56
          2895305) SvtVp9EncApp     cpu=5 start=6.79  finish=6.79 
          2895306) SvtVp9EncApp     cpu=3 start=6.79  finish=17.56
          2895307) SvtVp9EncApp     cpu=15 start=6.79  finish=6.79 
          2895308) SvtVp9EncApp     cpu=8 start=6.79  finish=17.56
          2895309) SvtVp9EncApp     cpu=15 start=6.79  finish=6.79 
          2895310) SvtVp9EncApp     cpu=12 start=6.79  finish=17.56
          2895311) SvtVp9EncApp     cpu=14 start=6.79  finish=6.79 
          2895312) SvtVp9EncApp     cpu=14 start=6.79  finish=17.56
          2895313) SvtVp9EncApp     cpu=14 start=6.79  finish=6.79 
          2895314) SvtVp9EncApp     cpu=3 start=6.79  finish=17.56
          2895315) SvtVp9EncApp     cpu=5 start=6.79  finish=6.79 
          2895316) SvtVp9EncApp     cpu=2 start=6.79  finish=17.56
          2895317) SvtVp9EncApp     cpu=5 start=6.79  finish=6.79 
          2895318) SvtVp9EncApp     cpu=14 start=6.79  finish=17.56