A CPU multi-threaded video encoder for the HEVC/H.265 format. There are six workloads with varying image sizes and tuning levels. Looks like the first one takes a majority of the time. The number of runable threads is more than the number of cores.

Topdown profile shows a high retirement rate and moderate backend stalls.

AMD metrics shows heavy floating point code on all cores.
elapsed 1259.755
on_cpu 0.894 # 14.31 / 16 cores
utime 17926.743
stime 96.360
nvcsw 3023734 # 56.02%
nivcsw 2373961 # 43.98%
inblock 8 # 0.01/sec
onblock 16312 # 12.95/sec
cpu-clock 18024854334710 # 18024.854 seconds
task-clock 18025451003454 # 18025.451 seconds
page faults 18145259 # 1006.647/sec
context switches 5403743 # 299.784/sec
cpu migrations 1035050 # 57.422/sec
major page faults 51 # 0.003/sec
minor page faults 18145208 # 1006.644/sec
alignment faults 0 # 0.000/sec
emulation faults 0 # 0.000/sec
branches 9413356258625 # 69.028 branches per 1000 inst
branch misses 111056551906 # 1.18% branch miss
conditional 7408495346760 # 54.327 conditional branches per 1000 inst
indirect 485701895939 # 3.562 indirect branches per 1000 inst
cpu-cycles 68265816209878 # 3.37 GHz
instructions 136364879972170 # 2.00 IPC
slots 136542772719132 #
retiring 46223875343055 # 33.9% (52.9%)
-- ucode 640590595277 # 0.5%
-- fastpath 45583284747778 # 33.4%
frontend 11418441274150 # 8.4% (13.1%)
-- latency 6554995901088 # 4.8%
-- bandwidth 4863445373062 # 3.6%
backend 28191878898174 # 20.6% (32.3%)
-- cpu 10511682562640 # 7.7%
-- memory 17680196335534 # 12.9%
speculation 1574332691318 # 1.2% ( 1.8%)
-- branch mispredict 1553011976213 # 1.1%
-- pipeline restart 21320715105 # 0.0%
smt-contention 49133984298112 # 36.0% ( 0.0%)
cpu-cycles 68297851033396 # 3.38 GHz
instructions 136384828545239 # 2.00 IPC
instructions 45460259352217 # 31.719 l2 access per 1000 inst
l2 hit from l1 1274189877825 # 8.19% l2 miss
l2 miss from l1 64145422231 #
l2 hit from l2 pf 113751844215 #
l3 hit from l2 pf 36331843006 #
l3 miss from l2 pf 17683150389 #
instructions 45445500425374 # 379.998 float per 1000 inst
float 512 83 # 0.000 AVX-512 per 1000 inst
float 256 624 # 0.000 AVX-256 per 1000 inst
float 128 17269177369087 # 379.998 AVX-128 per 1000 inst
float MMX 0 # 0.000 MMX per 1000 inst
float scalar 0 # 0.000 scalar per 1000 inst
Intel metrics
elapsed 1714.719
on_cpu 0.897 # 14.35 / 16 cores
utime 24468.892
stime 141.290
nvcsw 5243479 # 57.73%
nivcsw 3839473 # 42.27%
inblock 18455616 # 10763.06/sec
onblock 4168 # 2.43/sec
cpu-clock 24613592672295 # 24613.593 seconds
task-clock 24614542400908 # 24614.542 seconds
page faults 29127127 # 1183.330/sec
context switches 9091236 # 369.344/sec
cpu migrations 2204341 # 89.554/sec
major page faults 1241 # 0.050/sec
minor page faults 29125886 # 1183.280/sec
alignment faults 0 # 0.000/sec
emulation faults 0 # 0.000/sec
branches 10015279821062 # 69.321 branches per 1000 inst
branch misses 136094215113 # 1.36% branch miss
conditional 10015279994502 # 69.321 conditional branches per 1000 inst
indirect 3865799930109 # 26.757 indirect branches per 1000 inst
slots 106053798475136 #
retiring 75182747859237 # 70.9% (70.9%) high
-- ucode 4695907390746 # 4.4%
-- fastpath 70486840468491 # 66.5%
frontend 17435557928218 # 16.4% (16.4%)
-- latency 9242914843772 # 8.7%
-- bandwidth 8192643084446 # 7.7%
backend 7672329946790 # 7.2% ( 7.2%) low
-- cpu 2660849750913 # 2.5%
-- memory 5011480195877 # 4.7%
speculation 5907766413758 # 5.6% ( 5.6%)
-- branch mispredict 5653188720079 # 5.3%
-- pipeline restart 254577693679 # 0.2%
smt-contention 0 # 0.0% ( 0.0%)
cpu-cycles 71536986817867 # 2.55 GHz
instructions 152525685987104 # 2.13 IPC
l2 access 1950062386528 # 25.591 l2 access per 1000 inst
l2 miss 370887655155 # 19.02% l2 miss
Process overview
3850 processes
3474 SvtHevcEncApp 1732270.96 9158.11
68 clinfo 16.85 5.80
38 vulkaninfo 1.14 0.96
6 php 0.13 0.23
4 vulkani:disk$0 0.12 0.10
6 glxinfo:gdrv0 0.11 0.07
6 glxinfo:gl0 0.11 0.07
6 clang 0.06 0.06
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
2 glxinfo 0.05 0.03
2 glxinfo:cs0 0.05 0.03
2 glxinfo:disk$0 0.05 0.03
2 glxinfo:sh0 0.05 0.03
2 glxinfo:shlo0 0.05 0.03
3 rocminfo 0.03 0.00
1 lspci 0.00 0.02
92 sh 0.00 0.00
18 svt-hevc 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 ps 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
107 maximum processes
